blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
48d7db166f5629a6500cdc2c93f82844fb6d04fb
16390ba711537d7163f1ea7bf5b5c7a21eff143e
/II-214-1/bloggoShortcuts.cpp
0be5b23018d4df05f40a6d29d3f93e1e47a82ad3
[]
no_license
denis-gubar/TopCoder
cd3ecd772f1b24853fbbd728239fc02cd436f661
f70a953f92f35d365ec406db5274b14520883527
refs/heads/master
2021-05-06T04:56:31.337624
2018-01-05T11:51:26
2018-01-05T11:51:26
115,006,808
0
0
null
null
null
null
UTF-8
C++
false
false
4,307
cpp
#include <algorithm> #include <cmath> #include <cstdlib> #include <functional> #include <iostream> #include <iterator> #include <map> #include <numeric> #include <set> #include <sstream> #include <stack> #include <string> #include <queue> #include <vector> #include <utility> using namespace std; // BEGIN CUT HERE #include <Windows.h> #pragma comment( lib, "Winmm" ) // END CUT HERE typedef long long lint; #define fora(i,v) for(int i = 0; i < (v).size(); i++) struct bloggoShortcuts { string expand( string text ) { string result; bool a = true, b = true; fora(i, text) { if ( text[i] == '*' ) { result += a ? "<b>" : "</b>"; a = !a; } else if ( text[i] == '_' ) { result += b ? "<i>" : "</i>"; b = !b; } else result += text[i]; } return result; } // BEGIN CUT HERE private: template <typename T> string print_array( const vector<T>& v ) { ostringstream os; os << "{ "; for( typename vector<T>::const_iterator it = v.begin(); it != v.end(); ++it ) os << '\"' << *it << "\","; os << " }"; return os.str(); } template<typename T> void verify_case( int Case, const vector<T>& expected, const vector<T>& received ) { cerr << "Test Case #" << Case << "..."; if ( expected == received ) cerr << "PASSED. "; else { cerr << "FAILED." << endl; cerr << "\tExpected: " << print_array( expected ) << endl; cerr << "\tReceived: " << print_array( received ) << endl; } } void verify_case( int Case, const lint& expected, const lint& received ) { cerr << "Test Case #" << Case << "..."; if ( expected == received ) cerr << "PASSED. "; else { cerr << "FAILED." << endl; cerr << "\tExpected: \"" << expected << '\"' << endl; cerr << "\tReceived: \"" << received << '\"' << endl; } } void verify_case( int Case, const double& expected, const double& received ) { cerr << "Test Case #" << Case << "..."; if ( expected == received ) cerr << "PASSED. "; else { cerr << "FAILED." << endl; cerr << "\tExpected: \"" << expected << '\"' << endl; cerr << "\tReceived: \"" << received << '\"' << endl; } } void verify_case( int Case, const int& expected, const int& received ) { cerr << "Test Case #" << Case << "..."; if ( expected == received ) cerr << "PASSED. "; else { cerr << "FAILED." << endl; cerr << "\tExpected: \"" << expected << '\"' << endl; cerr << "\tReceived: \"" << received << '\"' << endl; } } void verify_case( int Case, const string& expected, const string& received ) { cerr << "Test Case #" << Case << "..."; if ( expected == received ) cerr << "PASSED. "; else { cerr << "FAILED." << endl; cerr << "\tExpected: \"" << expected << '\"' << endl; cerr << "\tReceived: \"" << received << '\"' << endl; } } public: void run_test( int Case = -1 ) { vector<string> A0; vector<string> A1; { /*Test 0*/string Arg0 = "You _should_ see the new walrus at the zoo!" ; A0.push_back( Arg0 ); string Arg1 = "You <i>should</i> see the new walrus at the zoo!" ; A1.push_back( Arg1 ); } { /*Test 1*/string Arg0 = "Move it from *Accounts Payable* to *Receiving*." ; A0.push_back( Arg0 ); string Arg1 = "Move it from <b>Accounts Payable</b> to <b>Receiving</b>." ; A1.push_back( Arg1 ); } { /*Test 2*/string Arg0 = "I saw _Chelydra serpentina_ in *Centennial Park*." ; A0.push_back( Arg0 ); string Arg1 = "I saw <i>Chelydra serpentina</i> in <b>Centennial Park</b>." ; A1.push_back( Arg1 ); } { /*Test 3*/string Arg0 = " _ _ __ _ yabba dabba _ * dooooo * ****" ; A0.push_back( Arg0 ); string Arg1 = " <i> </i> <i></i> <i> yabba dabba </i> <b> dooooo </b> <b></b><b></b>" ; A1.push_back( Arg1 ); } { /*Test 4*/string Arg0 = "_now_I_know_*my*_ABC_next_time_*sing*it_with_me" ; A0.push_back( Arg0 ); string Arg1 = "<i>now</i>I<i>know</i><b>my</b><i>ABC</i>next<i>time</i><b>sing</b>it<i>with</i>me" ; A1.push_back( Arg1 ); } for( int i = 0; i < A0.size(); i++ ) if ( Case == -1 || i == Case ) { DWORD start, finish; start = timeGetTime(); verify_case( i, A1[i], expand( A0[i]) ); finish = timeGetTime(); cout << "Elapsed " << finish - start << " msec" << endl; } } // END CUT HERE }; // BEGIN CUT HERE int main() { DWORD start, finish; start = timeGetTime(); bloggoShortcuts ___test; ___test.run_test(); finish = timeGetTime(); cout << endl << "Elapsed " << finish - start << " msec" << endl; } // END CUT HERE
[ "denis.gubar@gmail.com" ]
denis.gubar@gmail.com
2e981fa104f5e36f1faeb871d877fa08ae5c4a29
875a0305e980465553b5799f3ed3e54fea564f20
/qmyedit.h
8673cbecae31399ece293126ad5eec6f54b444a7
[]
no_license
LostAndFoundJava/QT_Develop
3bc13dac12d321e81121a9c2374748fbce4b2f85
9febfd7e71f45bb17cb8b6f350ffba198672d18a
refs/heads/master
2021-01-19T08:25:12.394461
2017-04-09T09:57:27
2017-04-09T09:57:27
87,628,584
1
0
null
null
null
null
UTF-8
C++
false
false
298
h
#ifndef QMYEDIT_H #define QMYEDIT_H #include <QtGui> class QMyEdit : public QLineEdit { Q_OBJECT public: explicit QMyEdit(QWidget *parent = 0); protected: virtual void mousePressEvent(QMouseEvent *event); private slots: signals: void LineEditClicked(); }; #endif // QMYEDIT_H
[ "bofeng@bofeng-ThinkPad-X230.(none)" ]
bofeng@bofeng-ThinkPad-X230.(none)
1daf35abc34ba03b02d0525894fbb1386b449eb2
54da97058e1319bf0bc1c60198558aeb6b004ecd
/DevUtils/Testing/TestCommon.hpp
71bc124dcd0799932a911c0a1bc242210f9c714f
[ "BSD-3-Clause" ]
permissive
khurrumsaleem/helios
202021d96490bd4ad117ccc1196799c019285e7a
fe7a06992abcf495d9b09d2d172b8cc6fdd67b80
refs/heads/master
2022-01-24T21:45:51.088917
2020-06-27T05:19:10
2020-06-27T05:19:10
205,647,629
0
0
null
2019-09-01T08:08:19
2019-09-01T08:08:19
null
UTF-8
C++
false
false
2,371
hpp
/* Copyright (c) 2012, Esteban Pellegrino All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the <organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef TESTCOMMON_HPP_ #define TESTCOMMON_HPP_ #include "../../Common/Common.hpp" #include "../../Environment/McEnvironment.hpp" class InputPath { static InputPath inputpath; std::string path; InputPath() : path("./") {/* */} public: static InputPath& access() {return inputpath;} std::string getPath() const {return path;} void setPath(const std::string& newpath) {path = newpath;} ~InputPath() {/* */} }; template<class T> inline std::vector<T> genVector(T min, T max) { std::vector<T> v; for(T i = min ; i <= max ; i++) { v.push_back(i); } return v; } template<> inline std::vector<std::string> genVector(std::string min, std::string max) { std::vector<std::string> v; for(int i = Helios::fromString<int>(min) ; i <= Helios::fromString<int>(max) ; i++) { v.push_back(Helios::toString(i)); } return v; } #endif /* TESTCOMMON_HPP_ */
[ "pellegre.esteban@gmail.com" ]
pellegre.esteban@gmail.com
7cd06e837c3c0ae6e115790f070d46e1d04b479d
04214994fd507dad763d6389842371e47bd1bb1f
/dp/sherlock_and_cost.cpp
6690a966a910e2c668001038e9409969da6c9bd5
[]
no_license
JP-Reddy/HR
cacb9a855131d5bd4f70f8b43dff4920a462657b
60d656f45d538f4874d6ef05774fcc52dfba8e1e
refs/heads/master
2021-07-09T23:40:19.791085
2019-01-16T18:05:45
2019-01-16T18:05:45
104,243,028
0
1
null
null
null
null
UTF-8
C++
false
false
496
cpp
// https://www.hackerrank.com/challenges/sherlock-and-cost/problem #include<iostream> #include<vector> #include<cmath> #include<algorithm> using namespace std; int main(){ int dp[100000][2]={}; int a[100000],n,t; cin>>t; while(t--){ cin>>n; for(int i=0;i<n;i++) cin>>a[i]; for(int i=0;i<n-1;i++){ dp[i+1][0]=max(dp[i][0],dp[i][1]+a[i]-1); dp[i+1][1]=max(dp[i][0]+a[i+1]-1,dp[i][1]+abs(a[i+1]-a[i])); } cout<<max(dp[n-1][0],dp[n-1][1])<<endl; } return 0; }
[ "guthijp.reddy@gmail.com" ]
guthijp.reddy@gmail.com
a7e835d4035ef2e0031a494f064b49c64ca58d57
df6a7072020c0cce62a2362761f01c08f1375be7
/implement/oglplus/enums/limit_query_def.ipp
92f7e737519f9f5427f737326bba0be5ab0bc19e
[ "BSL-1.0" ]
permissive
matus-chochlik/oglplus
aa03676bfd74c9877d16256dc2dcabcc034bffb0
76dd964e590967ff13ddff8945e9dcf355e0c952
refs/heads/develop
2023-03-07T07:08:31.615190
2021-10-26T06:11:43
2021-10-26T06:11:43
8,885,160
368
58
BSL-1.0
2018-09-21T16:57:52
2013-03-19T17:52:30
C++
UTF-8
C++
false
false
64,622
ipp
// File implement/oglplus/enums/limit_query_def.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/limit_query.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2019 Matus Chochlik. // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // #ifdef OGLPLUS_LIST_NEEDS_COMMA # undef OGLPLUS_LIST_NEEDS_COMMA #endif #if defined GL_MAX_3D_TEXTURE_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined Max3DTextureSize # pragma push_macro("Max3DTextureSize") # undef Max3DTextureSize OGLPLUS_ENUM_CLASS_VALUE(Max3DTextureSize, GL_MAX_3D_TEXTURE_SIZE) # pragma pop_macro("Max3DTextureSize") # else OGLPLUS_ENUM_CLASS_VALUE(Max3DTextureSize, GL_MAX_3D_TEXTURE_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_ARRAY_TEXTURE_LAYERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxArrayTextureLayers # pragma push_macro("MaxArrayTextureLayers") # undef MaxArrayTextureLayers OGLPLUS_ENUM_CLASS_VALUE(MaxArrayTextureLayers, GL_MAX_ARRAY_TEXTURE_LAYERS) # pragma pop_macro("MaxArrayTextureLayers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxArrayTextureLayers, GL_MAX_ARRAY_TEXTURE_LAYERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxAtomicCounterBufferBindings # pragma push_macro("MaxAtomicCounterBufferBindings") # undef MaxAtomicCounterBufferBindings OGLPLUS_ENUM_CLASS_VALUE(MaxAtomicCounterBufferBindings, GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS) # pragma pop_macro("MaxAtomicCounterBufferBindings") # else OGLPLUS_ENUM_CLASS_VALUE(MaxAtomicCounterBufferBindings, GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxAtomicCounterBufferSize # pragma push_macro("MaxAtomicCounterBufferSize") # undef MaxAtomicCounterBufferSize OGLPLUS_ENUM_CLASS_VALUE(MaxAtomicCounterBufferSize, GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE) # pragma pop_macro("MaxAtomicCounterBufferSize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxAtomicCounterBufferSize, GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_CLIP_DISTANCES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxClipDistances # pragma push_macro("MaxClipDistances") # undef MaxClipDistances OGLPLUS_ENUM_CLASS_VALUE(MaxClipDistances, GL_MAX_CLIP_DISTANCES) # pragma pop_macro("MaxClipDistances") # else OGLPLUS_ENUM_CLASS_VALUE(MaxClipDistances, GL_MAX_CLIP_DISTANCES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_CULL_DISTANCES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCullDistances # pragma push_macro("MaxCullDistances") # undef MaxCullDistances OGLPLUS_ENUM_CLASS_VALUE(MaxCullDistances, GL_MAX_CULL_DISTANCES) # pragma pop_macro("MaxCullDistances") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCullDistances, GL_MAX_CULL_DISTANCES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedClipAndCullDistances # pragma push_macro("MaxCombinedClipAndCullDistances") # undef MaxCombinedClipAndCullDistances OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedClipAndCullDistances, GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES) # pragma pop_macro("MaxCombinedClipAndCullDistances") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedClipAndCullDistances, GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COLOR_ATTACHMENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxColorAttachments # pragma push_macro("MaxColorAttachments") # undef MaxColorAttachments OGLPLUS_ENUM_CLASS_VALUE(MaxColorAttachments, GL_MAX_COLOR_ATTACHMENTS) # pragma pop_macro("MaxColorAttachments") # else OGLPLUS_ENUM_CLASS_VALUE(MaxColorAttachments, GL_MAX_COLOR_ATTACHMENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COLOR_TEXTURE_SAMPLES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxColorTextureSamples # pragma push_macro("MaxColorTextureSamples") # undef MaxColorTextureSamples OGLPLUS_ENUM_CLASS_VALUE(MaxColorTextureSamples, GL_MAX_COLOR_TEXTURE_SAMPLES) # pragma pop_macro("MaxColorTextureSamples") # else OGLPLUS_ENUM_CLASS_VALUE(MaxColorTextureSamples, GL_MAX_COLOR_TEXTURE_SAMPLES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedAtomicCounterBuffers # pragma push_macro("MaxCombinedAtomicCounterBuffers") # undef MaxCombinedAtomicCounterBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedAtomicCounterBuffers, GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS) # pragma pop_macro("MaxCombinedAtomicCounterBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedAtomicCounterBuffers, GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_ATOMIC_COUNTERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedAtomicCounters # pragma push_macro("MaxCombinedAtomicCounters") # undef MaxCombinedAtomicCounters OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedAtomicCounters, GL_MAX_COMBINED_ATOMIC_COUNTERS) # pragma pop_macro("MaxCombinedAtomicCounters") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedAtomicCounters, GL_MAX_COMBINED_ATOMIC_COUNTERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedFragmentUniformComponents # pragma push_macro("MaxCombinedFragmentUniformComponents") # undef MaxCombinedFragmentUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedFragmentUniformComponents, GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS) # pragma pop_macro("MaxCombinedFragmentUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedFragmentUniformComponents, GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedGeometryUniformComponents # pragma push_macro("MaxCombinedGeometryUniformComponents") # undef MaxCombinedGeometryUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedGeometryUniformComponents, GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS) # pragma pop_macro("MaxCombinedGeometryUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedGeometryUniformComponents, GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_IMAGE_UNIFORMS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedImageUniforms # pragma push_macro("MaxCombinedImageUniforms") # undef MaxCombinedImageUniforms OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedImageUniforms, GL_MAX_COMBINED_IMAGE_UNIFORMS) # pragma pop_macro("MaxCombinedImageUniforms") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedImageUniforms, GL_MAX_COMBINED_IMAGE_UNIFORMS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedImageUnitsAndFragmentOutputs # pragma push_macro("MaxCombinedImageUnitsAndFragmentOutputs") # undef MaxCombinedImageUnitsAndFragmentOutputs OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedImageUnitsAndFragmentOutputs, GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS) # pragma pop_macro("MaxCombinedImageUnitsAndFragmentOutputs") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedImageUnitsAndFragmentOutputs, GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedTessControlUniformComponents # pragma push_macro("MaxCombinedTessControlUniformComponents") # undef MaxCombinedTessControlUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedTessControlUniformComponents, GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS) # pragma pop_macro("MaxCombinedTessControlUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedTessControlUniformComponents, GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedTessEvaluationUniformComponents # pragma push_macro("MaxCombinedTessEvaluationUniformComponents") # undef MaxCombinedTessEvaluationUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedTessEvaluationUniformComponents, GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS) # pragma pop_macro("MaxCombinedTessEvaluationUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedTessEvaluationUniformComponents, GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedTextureImageUnits # pragma push_macro("MaxCombinedTextureImageUnits") # undef MaxCombinedTextureImageUnits OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedTextureImageUnits, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS) # pragma pop_macro("MaxCombinedTextureImageUnits") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedTextureImageUnits, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_UNIFORM_BLOCKS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedUniformBlocks # pragma push_macro("MaxCombinedUniformBlocks") # undef MaxCombinedUniformBlocks OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedUniformBlocks, GL_MAX_COMBINED_UNIFORM_BLOCKS) # pragma pop_macro("MaxCombinedUniformBlocks") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedUniformBlocks, GL_MAX_COMBINED_UNIFORM_BLOCKS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedVertexUniformComponents # pragma push_macro("MaxCombinedVertexUniformComponents") # undef MaxCombinedVertexUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedVertexUniformComponents, GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS) # pragma pop_macro("MaxCombinedVertexUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedVertexUniformComponents, GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_CUBE_MAP_TEXTURE_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCubeMapTextureSize # pragma push_macro("MaxCubeMapTextureSize") # undef MaxCubeMapTextureSize OGLPLUS_ENUM_CLASS_VALUE(MaxCubeMapTextureSize, GL_MAX_CUBE_MAP_TEXTURE_SIZE) # pragma pop_macro("MaxCubeMapTextureSize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCubeMapTextureSize, GL_MAX_CUBE_MAP_TEXTURE_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_DEPTH_TEXTURE_SAMPLES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxDepthTextureSamples # pragma push_macro("MaxDepthTextureSamples") # undef MaxDepthTextureSamples OGLPLUS_ENUM_CLASS_VALUE(MaxDepthTextureSamples, GL_MAX_DEPTH_TEXTURE_SAMPLES) # pragma pop_macro("MaxDepthTextureSamples") # else OGLPLUS_ENUM_CLASS_VALUE(MaxDepthTextureSamples, GL_MAX_DEPTH_TEXTURE_SAMPLES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_DRAW_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxDrawBuffers # pragma push_macro("MaxDrawBuffers") # undef MaxDrawBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxDrawBuffers, GL_MAX_DRAW_BUFFERS) # pragma pop_macro("MaxDrawBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxDrawBuffers, GL_MAX_DRAW_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_DUAL_SOURCE_DRAW_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxDualSourceDrawBuffers # pragma push_macro("MaxDualSourceDrawBuffers") # undef MaxDualSourceDrawBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxDualSourceDrawBuffers, GL_MAX_DUAL_SOURCE_DRAW_BUFFERS) # pragma pop_macro("MaxDualSourceDrawBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxDualSourceDrawBuffers, GL_MAX_DUAL_SOURCE_DRAW_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_ELEMENTS_INDICES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxElementsIndices # pragma push_macro("MaxElementsIndices") # undef MaxElementsIndices OGLPLUS_ENUM_CLASS_VALUE(MaxElementsIndices, GL_MAX_ELEMENTS_INDICES) # pragma pop_macro("MaxElementsIndices") # else OGLPLUS_ENUM_CLASS_VALUE(MaxElementsIndices, GL_MAX_ELEMENTS_INDICES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_ELEMENTS_VERTICES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxElementsVertices # pragma push_macro("MaxElementsVertices") # undef MaxElementsVertices OGLPLUS_ENUM_CLASS_VALUE(MaxElementsVertices, GL_MAX_ELEMENTS_VERTICES) # pragma pop_macro("MaxElementsVertices") # else OGLPLUS_ENUM_CLASS_VALUE(MaxElementsVertices, GL_MAX_ELEMENTS_VERTICES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxFragmentAtomicCounterBuffers # pragma push_macro("MaxFragmentAtomicCounterBuffers") # undef MaxFragmentAtomicCounterBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentAtomicCounterBuffers, GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS) # pragma pop_macro("MaxFragmentAtomicCounterBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentAtomicCounterBuffers, GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_FRAGMENT_ATOMIC_COUNTERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxFragmentAtomicCounters # pragma push_macro("MaxFragmentAtomicCounters") # undef MaxFragmentAtomicCounters OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentAtomicCounters, GL_MAX_FRAGMENT_ATOMIC_COUNTERS) # pragma pop_macro("MaxFragmentAtomicCounters") # else OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentAtomicCounters, GL_MAX_FRAGMENT_ATOMIC_COUNTERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_FRAGMENT_IMAGE_UNIFORMS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxFragmentImageUniforms # pragma push_macro("MaxFragmentImageUniforms") # undef MaxFragmentImageUniforms OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentImageUniforms, GL_MAX_FRAGMENT_IMAGE_UNIFORMS) # pragma pop_macro("MaxFragmentImageUniforms") # else OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentImageUniforms, GL_MAX_FRAGMENT_IMAGE_UNIFORMS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_FRAGMENT_INPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxFragmentInputComponents # pragma push_macro("MaxFragmentInputComponents") # undef MaxFragmentInputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentInputComponents, GL_MAX_FRAGMENT_INPUT_COMPONENTS) # pragma pop_macro("MaxFragmentInputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentInputComponents, GL_MAX_FRAGMENT_INPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_FRAGMENT_INTERPOLATION_OFFSET # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxFragmentInterpolationOffset # pragma push_macro("MaxFragmentInterpolationOffset") # undef MaxFragmentInterpolationOffset OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentInterpolationOffset, GL_MAX_FRAGMENT_INTERPOLATION_OFFSET) # pragma pop_macro("MaxFragmentInterpolationOffset") # else OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentInterpolationOffset, GL_MAX_FRAGMENT_INTERPOLATION_OFFSET) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_FRAGMENT_UNIFORM_BLOCKS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxFragmentUniformBlocks # pragma push_macro("MaxFragmentUniformBlocks") # undef MaxFragmentUniformBlocks OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentUniformBlocks, GL_MAX_FRAGMENT_UNIFORM_BLOCKS) # pragma pop_macro("MaxFragmentUniformBlocks") # else OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentUniformBlocks, GL_MAX_FRAGMENT_UNIFORM_BLOCKS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_FRAGMENT_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxFragmentUniformComponents # pragma push_macro("MaxFragmentUniformComponents") # undef MaxFragmentUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentUniformComponents, GL_MAX_FRAGMENT_UNIFORM_COMPONENTS) # pragma pop_macro("MaxFragmentUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentUniformComponents, GL_MAX_FRAGMENT_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_FRAGMENT_UNIFORM_VECTORS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxFragmentUniformVectors # pragma push_macro("MaxFragmentUniformVectors") # undef MaxFragmentUniformVectors OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentUniformVectors, GL_MAX_FRAGMENT_UNIFORM_VECTORS) # pragma pop_macro("MaxFragmentUniformVectors") # else OGLPLUS_ENUM_CLASS_VALUE(MaxFragmentUniformVectors, GL_MAX_FRAGMENT_UNIFORM_VECTORS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryAtomicCounterBuffers # pragma push_macro("MaxGeometryAtomicCounterBuffers") # undef MaxGeometryAtomicCounterBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryAtomicCounterBuffers, GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS) # pragma pop_macro("MaxGeometryAtomicCounterBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryAtomicCounterBuffers, GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_ATOMIC_COUNTERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryAtomicCounters # pragma push_macro("MaxGeometryAtomicCounters") # undef MaxGeometryAtomicCounters OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryAtomicCounters, GL_MAX_GEOMETRY_ATOMIC_COUNTERS) # pragma pop_macro("MaxGeometryAtomicCounters") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryAtomicCounters, GL_MAX_GEOMETRY_ATOMIC_COUNTERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_IMAGE_UNIFORMS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryImageUniforms # pragma push_macro("MaxGeometryImageUniforms") # undef MaxGeometryImageUniforms OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryImageUniforms, GL_MAX_GEOMETRY_IMAGE_UNIFORMS) # pragma pop_macro("MaxGeometryImageUniforms") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryImageUniforms, GL_MAX_GEOMETRY_IMAGE_UNIFORMS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_INPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryInputComponents # pragma push_macro("MaxGeometryInputComponents") # undef MaxGeometryInputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryInputComponents, GL_MAX_GEOMETRY_INPUT_COMPONENTS) # pragma pop_macro("MaxGeometryInputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryInputComponents, GL_MAX_GEOMETRY_INPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_OUTPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryOutputComponents # pragma push_macro("MaxGeometryOutputComponents") # undef MaxGeometryOutputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryOutputComponents, GL_MAX_GEOMETRY_OUTPUT_COMPONENTS) # pragma pop_macro("MaxGeometryOutputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryOutputComponents, GL_MAX_GEOMETRY_OUTPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_OUTPUT_VERTICES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryOutputVertices # pragma push_macro("MaxGeometryOutputVertices") # undef MaxGeometryOutputVertices OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryOutputVertices, GL_MAX_GEOMETRY_OUTPUT_VERTICES) # pragma pop_macro("MaxGeometryOutputVertices") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryOutputVertices, GL_MAX_GEOMETRY_OUTPUT_VERTICES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_SHADER_INVOCATIONS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryShaderInvocations # pragma push_macro("MaxGeometryShaderInvocations") # undef MaxGeometryShaderInvocations OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryShaderInvocations, GL_MAX_GEOMETRY_SHADER_INVOCATIONS) # pragma pop_macro("MaxGeometryShaderInvocations") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryShaderInvocations, GL_MAX_GEOMETRY_SHADER_INVOCATIONS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryTextureImageUnits # pragma push_macro("MaxGeometryTextureImageUnits") # undef MaxGeometryTextureImageUnits OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryTextureImageUnits, GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS) # pragma pop_macro("MaxGeometryTextureImageUnits") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryTextureImageUnits, GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryTotalOutputComponents # pragma push_macro("MaxGeometryTotalOutputComponents") # undef MaxGeometryTotalOutputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryTotalOutputComponents, GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS) # pragma pop_macro("MaxGeometryTotalOutputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryTotalOutputComponents, GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_UNIFORM_BLOCKS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryUniformBlocks # pragma push_macro("MaxGeometryUniformBlocks") # undef MaxGeometryUniformBlocks OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryUniformBlocks, GL_MAX_GEOMETRY_UNIFORM_BLOCKS) # pragma pop_macro("MaxGeometryUniformBlocks") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryUniformBlocks, GL_MAX_GEOMETRY_UNIFORM_BLOCKS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_GEOMETRY_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxGeometryUniformComponents # pragma push_macro("MaxGeometryUniformComponents") # undef MaxGeometryUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryUniformComponents, GL_MAX_GEOMETRY_UNIFORM_COMPONENTS) # pragma pop_macro("MaxGeometryUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxGeometryUniformComponents, GL_MAX_GEOMETRY_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_IMAGE_SAMPLES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxImageSamples # pragma push_macro("MaxImageSamples") # undef MaxImageSamples OGLPLUS_ENUM_CLASS_VALUE(MaxImageSamples, GL_MAX_IMAGE_SAMPLES) # pragma pop_macro("MaxImageSamples") # else OGLPLUS_ENUM_CLASS_VALUE(MaxImageSamples, GL_MAX_IMAGE_SAMPLES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_IMAGE_UNITS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxImageUnits # pragma push_macro("MaxImageUnits") # undef MaxImageUnits OGLPLUS_ENUM_CLASS_VALUE(MaxImageUnits, GL_MAX_IMAGE_UNITS) # pragma pop_macro("MaxImageUnits") # else OGLPLUS_ENUM_CLASS_VALUE(MaxImageUnits, GL_MAX_IMAGE_UNITS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_INTEGER_SAMPLES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxIntegerSamples # pragma push_macro("MaxIntegerSamples") # undef MaxIntegerSamples OGLPLUS_ENUM_CLASS_VALUE(MaxIntegerSamples, GL_MAX_INTEGER_SAMPLES) # pragma pop_macro("MaxIntegerSamples") # else OGLPLUS_ENUM_CLASS_VALUE(MaxIntegerSamples, GL_MAX_INTEGER_SAMPLES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_PATCH_VERTICES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxPatchVertices # pragma push_macro("MaxPatchVertices") # undef MaxPatchVertices OGLPLUS_ENUM_CLASS_VALUE(MaxPatchVertices, GL_MAX_PATCH_VERTICES) # pragma pop_macro("MaxPatchVertices") # else OGLPLUS_ENUM_CLASS_VALUE(MaxPatchVertices, GL_MAX_PATCH_VERTICES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_PROGRAM_TEXEL_OFFSET # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxProgramTexelOffset # pragma push_macro("MaxProgramTexelOffset") # undef MaxProgramTexelOffset OGLPLUS_ENUM_CLASS_VALUE(MaxProgramTexelOffset, GL_MAX_PROGRAM_TEXEL_OFFSET) # pragma pop_macro("MaxProgramTexelOffset") # else OGLPLUS_ENUM_CLASS_VALUE(MaxProgramTexelOffset, GL_MAX_PROGRAM_TEXEL_OFFSET) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxProgramTextureGatherOffset # pragma push_macro("MaxProgramTextureGatherOffset") # undef MaxProgramTextureGatherOffset OGLPLUS_ENUM_CLASS_VALUE(MaxProgramTextureGatherOffset, GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET) # pragma pop_macro("MaxProgramTextureGatherOffset") # else OGLPLUS_ENUM_CLASS_VALUE(MaxProgramTextureGatherOffset, GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_RECTANGLE_TEXTURE_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxRectangleTextureSize # pragma push_macro("MaxRectangleTextureSize") # undef MaxRectangleTextureSize OGLPLUS_ENUM_CLASS_VALUE(MaxRectangleTextureSize, GL_MAX_RECTANGLE_TEXTURE_SIZE) # pragma pop_macro("MaxRectangleTextureSize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxRectangleTextureSize, GL_MAX_RECTANGLE_TEXTURE_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_RENDERBUFFER_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxRenderbufferSize # pragma push_macro("MaxRenderbufferSize") # undef MaxRenderbufferSize OGLPLUS_ENUM_CLASS_VALUE(MaxRenderbufferSize, GL_MAX_RENDERBUFFER_SIZE) # pragma pop_macro("MaxRenderbufferSize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxRenderbufferSize, GL_MAX_RENDERBUFFER_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_SAMPLE_MASK_WORDS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxSampleMaskWords # pragma push_macro("MaxSampleMaskWords") # undef MaxSampleMaskWords OGLPLUS_ENUM_CLASS_VALUE(MaxSampleMaskWords, GL_MAX_SAMPLE_MASK_WORDS) # pragma pop_macro("MaxSampleMaskWords") # else OGLPLUS_ENUM_CLASS_VALUE(MaxSampleMaskWords, GL_MAX_SAMPLE_MASK_WORDS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_SAMPLES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxSamples # pragma push_macro("MaxSamples") # undef MaxSamples OGLPLUS_ENUM_CLASS_VALUE(MaxSamples, GL_MAX_SAMPLES) # pragma pop_macro("MaxSamples") # else OGLPLUS_ENUM_CLASS_VALUE(MaxSamples, GL_MAX_SAMPLES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_SERVER_WAIT_TIMEOUT # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxServerWaitTimeout # pragma push_macro("MaxServerWaitTimeout") # undef MaxServerWaitTimeout OGLPLUS_ENUM_CLASS_VALUE(MaxServerWaitTimeout, GL_MAX_SERVER_WAIT_TIMEOUT) # pragma pop_macro("MaxServerWaitTimeout") # else OGLPLUS_ENUM_CLASS_VALUE(MaxServerWaitTimeout, GL_MAX_SERVER_WAIT_TIMEOUT) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_SUBROUTINES # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxSubroutines # pragma push_macro("MaxSubroutines") # undef MaxSubroutines OGLPLUS_ENUM_CLASS_VALUE(MaxSubroutines, GL_MAX_SUBROUTINES) # pragma pop_macro("MaxSubroutines") # else OGLPLUS_ENUM_CLASS_VALUE(MaxSubroutines, GL_MAX_SUBROUTINES) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxSubroutineUniformLocations # pragma push_macro("MaxSubroutineUniformLocations") # undef MaxSubroutineUniformLocations OGLPLUS_ENUM_CLASS_VALUE(MaxSubroutineUniformLocations, GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS) # pragma pop_macro("MaxSubroutineUniformLocations") # else OGLPLUS_ENUM_CLASS_VALUE(MaxSubroutineUniformLocations, GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlAtomicCounterBuffers # pragma push_macro("MaxTessControlAtomicCounterBuffers") # undef MaxTessControlAtomicCounterBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlAtomicCounterBuffers, GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS) # pragma pop_macro("MaxTessControlAtomicCounterBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlAtomicCounterBuffers, GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlAtomicCounters # pragma push_macro("MaxTessControlAtomicCounters") # undef MaxTessControlAtomicCounters OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlAtomicCounters, GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS) # pragma pop_macro("MaxTessControlAtomicCounters") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlAtomicCounters, GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlImageUniforms # pragma push_macro("MaxTessControlImageUniforms") # undef MaxTessControlImageUniforms OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlImageUniforms, GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS) # pragma pop_macro("MaxTessControlImageUniforms") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlImageUniforms, GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_INPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlInputComponents # pragma push_macro("MaxTessControlInputComponents") # undef MaxTessControlInputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlInputComponents, GL_MAX_TESS_CONTROL_INPUT_COMPONENTS) # pragma pop_macro("MaxTessControlInputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlInputComponents, GL_MAX_TESS_CONTROL_INPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlOutputComponents # pragma push_macro("MaxTessControlOutputComponents") # undef MaxTessControlOutputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlOutputComponents, GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS) # pragma pop_macro("MaxTessControlOutputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlOutputComponents, GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlTextureImageUnits # pragma push_macro("MaxTessControlTextureImageUnits") # undef MaxTessControlTextureImageUnits OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlTextureImageUnits, GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS) # pragma pop_macro("MaxTessControlTextureImageUnits") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlTextureImageUnits, GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlTotalOutputComponents # pragma push_macro("MaxTessControlTotalOutputComponents") # undef MaxTessControlTotalOutputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlTotalOutputComponents, GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS) # pragma pop_macro("MaxTessControlTotalOutputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlTotalOutputComponents, GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlUniformBlocks # pragma push_macro("MaxTessControlUniformBlocks") # undef MaxTessControlUniformBlocks OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlUniformBlocks, GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS) # pragma pop_macro("MaxTessControlUniformBlocks") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlUniformBlocks, GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessControlUniformComponents # pragma push_macro("MaxTessControlUniformComponents") # undef MaxTessControlUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlUniformComponents, GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS) # pragma pop_macro("MaxTessControlUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessControlUniformComponents, GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessEvaluationAtomicCounterBuffers # pragma push_macro("MaxTessEvaluationAtomicCounterBuffers") # undef MaxTessEvaluationAtomicCounterBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationAtomicCounterBuffers, GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS) # pragma pop_macro("MaxTessEvaluationAtomicCounterBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationAtomicCounterBuffers, GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessEvaluationAtomicCounters # pragma push_macro("MaxTessEvaluationAtomicCounters") # undef MaxTessEvaluationAtomicCounters OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationAtomicCounters, GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS) # pragma pop_macro("MaxTessEvaluationAtomicCounters") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationAtomicCounters, GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessEvaluationImageUniforms # pragma push_macro("MaxTessEvaluationImageUniforms") # undef MaxTessEvaluationImageUniforms OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationImageUniforms, GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS) # pragma pop_macro("MaxTessEvaluationImageUniforms") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationImageUniforms, GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessEvaluationInputComponents # pragma push_macro("MaxTessEvaluationInputComponents") # undef MaxTessEvaluationInputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationInputComponents, GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS) # pragma pop_macro("MaxTessEvaluationInputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationInputComponents, GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessEvaluationOutputComponents # pragma push_macro("MaxTessEvaluationOutputComponents") # undef MaxTessEvaluationOutputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationOutputComponents, GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS) # pragma pop_macro("MaxTessEvaluationOutputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationOutputComponents, GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessEvaluationTextureImageUnits # pragma push_macro("MaxTessEvaluationTextureImageUnits") # undef MaxTessEvaluationTextureImageUnits OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationTextureImageUnits, GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS) # pragma pop_macro("MaxTessEvaluationTextureImageUnits") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationTextureImageUnits, GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessEvaluationUniformBlocks # pragma push_macro("MaxTessEvaluationUniformBlocks") # undef MaxTessEvaluationUniformBlocks OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationUniformBlocks, GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS) # pragma pop_macro("MaxTessEvaluationUniformBlocks") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationUniformBlocks, GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessEvaluationUniformComponents # pragma push_macro("MaxTessEvaluationUniformComponents") # undef MaxTessEvaluationUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationUniformComponents, GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS) # pragma pop_macro("MaxTessEvaluationUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessEvaluationUniformComponents, GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_GEN_LEVEL # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessGenLevel # pragma push_macro("MaxTessGenLevel") # undef MaxTessGenLevel OGLPLUS_ENUM_CLASS_VALUE(MaxTessGenLevel, GL_MAX_TESS_GEN_LEVEL) # pragma pop_macro("MaxTessGenLevel") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessGenLevel, GL_MAX_TESS_GEN_LEVEL) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TESS_PATCH_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTessPatchComponents # pragma push_macro("MaxTessPatchComponents") # undef MaxTessPatchComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTessPatchComponents, GL_MAX_TESS_PATCH_COMPONENTS) # pragma pop_macro("MaxTessPatchComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTessPatchComponents, GL_MAX_TESS_PATCH_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TEXTURE_BUFFER_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTextureBufferSize # pragma push_macro("MaxTextureBufferSize") # undef MaxTextureBufferSize OGLPLUS_ENUM_CLASS_VALUE(MaxTextureBufferSize, GL_MAX_TEXTURE_BUFFER_SIZE) # pragma pop_macro("MaxTextureBufferSize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTextureBufferSize, GL_MAX_TEXTURE_BUFFER_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TEXTURE_IMAGE_UNITS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTextureImageUnits # pragma push_macro("MaxTextureImageUnits") # undef MaxTextureImageUnits OGLPLUS_ENUM_CLASS_VALUE(MaxTextureImageUnits, GL_MAX_TEXTURE_IMAGE_UNITS) # pragma pop_macro("MaxTextureImageUnits") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTextureImageUnits, GL_MAX_TEXTURE_IMAGE_UNITS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TEXTURE_LOD_BIAS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTextureLodBias # pragma push_macro("MaxTextureLodBias") # undef MaxTextureLodBias OGLPLUS_ENUM_CLASS_VALUE(MaxTextureLodBias, GL_MAX_TEXTURE_LOD_BIAS) # pragma pop_macro("MaxTextureLodBias") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTextureLodBias, GL_MAX_TEXTURE_LOD_BIAS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TEXTURE_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTextureSize # pragma push_macro("MaxTextureSize") # undef MaxTextureSize OGLPLUS_ENUM_CLASS_VALUE(MaxTextureSize, GL_MAX_TEXTURE_SIZE) # pragma pop_macro("MaxTextureSize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTextureSize, GL_MAX_TEXTURE_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TRANSFORM_FEEDBACK_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTransformFeedbackBuffers # pragma push_macro("MaxTransformFeedbackBuffers") # undef MaxTransformFeedbackBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxTransformFeedbackBuffers, GL_MAX_TRANSFORM_FEEDBACK_BUFFERS) # pragma pop_macro("MaxTransformFeedbackBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTransformFeedbackBuffers, GL_MAX_TRANSFORM_FEEDBACK_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTransformFeedbackInterleavedComponents # pragma push_macro("MaxTransformFeedbackInterleavedComponents") # undef MaxTransformFeedbackInterleavedComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTransformFeedbackInterleavedComponents, GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS) # pragma pop_macro("MaxTransformFeedbackInterleavedComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTransformFeedbackInterleavedComponents, GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTransformFeedbackSeparateAttribs # pragma push_macro("MaxTransformFeedbackSeparateAttribs") # undef MaxTransformFeedbackSeparateAttribs OGLPLUS_ENUM_CLASS_VALUE(MaxTransformFeedbackSeparateAttribs, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS) # pragma pop_macro("MaxTransformFeedbackSeparateAttribs") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTransformFeedbackSeparateAttribs, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxTransformFeedbackSeparateComponents # pragma push_macro("MaxTransformFeedbackSeparateComponents") # undef MaxTransformFeedbackSeparateComponents OGLPLUS_ENUM_CLASS_VALUE(MaxTransformFeedbackSeparateComponents, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS) # pragma pop_macro("MaxTransformFeedbackSeparateComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxTransformFeedbackSeparateComponents, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_UNIFORM_BLOCK_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxUniformBlockSize # pragma push_macro("MaxUniformBlockSize") # undef MaxUniformBlockSize OGLPLUS_ENUM_CLASS_VALUE(MaxUniformBlockSize, GL_MAX_UNIFORM_BLOCK_SIZE) # pragma pop_macro("MaxUniformBlockSize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxUniformBlockSize, GL_MAX_UNIFORM_BLOCK_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_UNIFORM_BUFFER_BINDINGS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxUniformBufferBindings # pragma push_macro("MaxUniformBufferBindings") # undef MaxUniformBufferBindings OGLPLUS_ENUM_CLASS_VALUE(MaxUniformBufferBindings, GL_MAX_UNIFORM_BUFFER_BINDINGS) # pragma pop_macro("MaxUniformBufferBindings") # else OGLPLUS_ENUM_CLASS_VALUE(MaxUniformBufferBindings, GL_MAX_UNIFORM_BUFFER_BINDINGS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VARYING_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVaryingComponents # pragma push_macro("MaxVaryingComponents") # undef MaxVaryingComponents OGLPLUS_ENUM_CLASS_VALUE(MaxVaryingComponents, GL_MAX_VARYING_COMPONENTS) # pragma pop_macro("MaxVaryingComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVaryingComponents, GL_MAX_VARYING_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VARYING_VECTORS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVaryingVectors # pragma push_macro("MaxVaryingVectors") # undef MaxVaryingVectors OGLPLUS_ENUM_CLASS_VALUE(MaxVaryingVectors, GL_MAX_VARYING_VECTORS) # pragma pop_macro("MaxVaryingVectors") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVaryingVectors, GL_MAX_VARYING_VECTORS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexAtomicCounterBuffers # pragma push_macro("MaxVertexAtomicCounterBuffers") # undef MaxVertexAtomicCounterBuffers OGLPLUS_ENUM_CLASS_VALUE(MaxVertexAtomicCounterBuffers, GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS) # pragma pop_macro("MaxVertexAtomicCounterBuffers") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexAtomicCounterBuffers, GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_ATOMIC_COUNTERS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexAtomicCounters # pragma push_macro("MaxVertexAtomicCounters") # undef MaxVertexAtomicCounters OGLPLUS_ENUM_CLASS_VALUE(MaxVertexAtomicCounters, GL_MAX_VERTEX_ATOMIC_COUNTERS) # pragma pop_macro("MaxVertexAtomicCounters") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexAtomicCounters, GL_MAX_VERTEX_ATOMIC_COUNTERS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_ATTRIBS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexAttribs # pragma push_macro("MaxVertexAttribs") # undef MaxVertexAttribs OGLPLUS_ENUM_CLASS_VALUE(MaxVertexAttribs, GL_MAX_VERTEX_ATTRIBS) # pragma pop_macro("MaxVertexAttribs") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexAttribs, GL_MAX_VERTEX_ATTRIBS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_IMAGE_UNIFORMS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexImageUniforms # pragma push_macro("MaxVertexImageUniforms") # undef MaxVertexImageUniforms OGLPLUS_ENUM_CLASS_VALUE(MaxVertexImageUniforms, GL_MAX_VERTEX_IMAGE_UNIFORMS) # pragma pop_macro("MaxVertexImageUniforms") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexImageUniforms, GL_MAX_VERTEX_IMAGE_UNIFORMS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_OUTPUT_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexOutputComponents # pragma push_macro("MaxVertexOutputComponents") # undef MaxVertexOutputComponents OGLPLUS_ENUM_CLASS_VALUE(MaxVertexOutputComponents, GL_MAX_VERTEX_OUTPUT_COMPONENTS) # pragma pop_macro("MaxVertexOutputComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexOutputComponents, GL_MAX_VERTEX_OUTPUT_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_STREAMS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexStreams # pragma push_macro("MaxVertexStreams") # undef MaxVertexStreams OGLPLUS_ENUM_CLASS_VALUE(MaxVertexStreams, GL_MAX_VERTEX_STREAMS) # pragma pop_macro("MaxVertexStreams") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexStreams, GL_MAX_VERTEX_STREAMS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexTextureImageUnits # pragma push_macro("MaxVertexTextureImageUnits") # undef MaxVertexTextureImageUnits OGLPLUS_ENUM_CLASS_VALUE(MaxVertexTextureImageUnits, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS) # pragma pop_macro("MaxVertexTextureImageUnits") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexTextureImageUnits, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_UNIFORM_BLOCKS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexUniformBlocks # pragma push_macro("MaxVertexUniformBlocks") # undef MaxVertexUniformBlocks OGLPLUS_ENUM_CLASS_VALUE(MaxVertexUniformBlocks, GL_MAX_VERTEX_UNIFORM_BLOCKS) # pragma pop_macro("MaxVertexUniformBlocks") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexUniformBlocks, GL_MAX_VERTEX_UNIFORM_BLOCKS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexUniformComponents # pragma push_macro("MaxVertexUniformComponents") # undef MaxVertexUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxVertexUniformComponents, GL_MAX_VERTEX_UNIFORM_COMPONENTS) # pragma pop_macro("MaxVertexUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexUniformComponents, GL_MAX_VERTEX_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VERTEX_UNIFORM_VECTORS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxVertexUniformVectors # pragma push_macro("MaxVertexUniformVectors") # undef MaxVertexUniformVectors OGLPLUS_ENUM_CLASS_VALUE(MaxVertexUniformVectors, GL_MAX_VERTEX_UNIFORM_VECTORS) # pragma pop_macro("MaxVertexUniformVectors") # else OGLPLUS_ENUM_CLASS_VALUE(MaxVertexUniformVectors, GL_MAX_VERTEX_UNIFORM_VECTORS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMPUTE_UNIFORM_BLOCKS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxComputeUniformBlocks # pragma push_macro("MaxComputeUniformBlocks") # undef MaxComputeUniformBlocks OGLPLUS_ENUM_CLASS_VALUE(MaxComputeUniformBlocks, GL_MAX_COMPUTE_UNIFORM_BLOCKS) # pragma pop_macro("MaxComputeUniformBlocks") # else OGLPLUS_ENUM_CLASS_VALUE(MaxComputeUniformBlocks, GL_MAX_COMPUTE_UNIFORM_BLOCKS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMPUTE_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxComputeUniformComponents # pragma push_macro("MaxComputeUniformComponents") # undef MaxComputeUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxComputeUniformComponents, GL_MAX_COMPUTE_UNIFORM_COMPONENTS) # pragma pop_macro("MaxComputeUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxComputeUniformComponents, GL_MAX_COMPUTE_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxCombinedComputeUniformComponents # pragma push_macro("MaxCombinedComputeUniformComponents") # undef MaxCombinedComputeUniformComponents OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedComputeUniformComponents, GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS) # pragma pop_macro("MaxCombinedComputeUniformComponents") # else OGLPLUS_ENUM_CLASS_VALUE(MaxCombinedComputeUniformComponents, GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxComputeTextureImageUnits # pragma push_macro("MaxComputeTextureImageUnits") # undef MaxComputeTextureImageUnits OGLPLUS_ENUM_CLASS_VALUE(MaxComputeTextureImageUnits, GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS) # pragma pop_macro("MaxComputeTextureImageUnits") # else OGLPLUS_ENUM_CLASS_VALUE(MaxComputeTextureImageUnits, GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VIEWPORT_DIMS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxViewportDims # pragma push_macro("MaxViewportDims") # undef MaxViewportDims OGLPLUS_ENUM_CLASS_VALUE(MaxViewportDims, GL_MAX_VIEWPORT_DIMS) # pragma pop_macro("MaxViewportDims") # else OGLPLUS_ENUM_CLASS_VALUE(MaxViewportDims, GL_MAX_VIEWPORT_DIMS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_VIEWPORTS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxViewports # pragma push_macro("MaxViewports") # undef MaxViewports OGLPLUS_ENUM_CLASS_VALUE(MaxViewports, GL_MAX_VIEWPORTS) # pragma pop_macro("MaxViewports") # else OGLPLUS_ENUM_CLASS_VALUE(MaxViewports, GL_MAX_VIEWPORTS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMPUTE_WORK_GROUP_COUNT # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxComputeWorkGroupCount # pragma push_macro("MaxComputeWorkGroupCount") # undef MaxComputeWorkGroupCount OGLPLUS_ENUM_CLASS_VALUE(MaxComputeWorkGroupCount, GL_MAX_COMPUTE_WORK_GROUP_COUNT) # pragma pop_macro("MaxComputeWorkGroupCount") # else OGLPLUS_ENUM_CLASS_VALUE(MaxComputeWorkGroupCount, GL_MAX_COMPUTE_WORK_GROUP_COUNT) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMPUTE_WORK_GROUP_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxComputeWorkGroupSize # pragma push_macro("MaxComputeWorkGroupSize") # undef MaxComputeWorkGroupSize OGLPLUS_ENUM_CLASS_VALUE(MaxComputeWorkGroupSize, GL_MAX_COMPUTE_WORK_GROUP_SIZE) # pragma pop_macro("MaxComputeWorkGroupSize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxComputeWorkGroupSize, GL_MAX_COMPUTE_WORK_GROUP_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxComputeWorkGroupInvocations # pragma push_macro("MaxComputeWorkGroupInvocations") # undef MaxComputeWorkGroupInvocations OGLPLUS_ENUM_CLASS_VALUE(MaxComputeWorkGroupInvocations, GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS) # pragma pop_macro("MaxComputeWorkGroupInvocations") # else OGLPLUS_ENUM_CLASS_VALUE(MaxComputeWorkGroupInvocations, GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MAX_COMPUTE_SHARED_MEMORY_SIZE # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MaxComputeSharedMemorySize # pragma push_macro("MaxComputeSharedMemorySize") # undef MaxComputeSharedMemorySize OGLPLUS_ENUM_CLASS_VALUE(MaxComputeSharedMemorySize, GL_MAX_COMPUTE_SHARED_MEMORY_SIZE) # pragma pop_macro("MaxComputeSharedMemorySize") # else OGLPLUS_ENUM_CLASS_VALUE(MaxComputeSharedMemorySize, GL_MAX_COMPUTE_SHARED_MEMORY_SIZE) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MIN_FRAGMENT_INTERPOLATION_OFFSET # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MinFragmentInterpolationOffset # pragma push_macro("MinFragmentInterpolationOffset") # undef MinFragmentInterpolationOffset OGLPLUS_ENUM_CLASS_VALUE(MinFragmentInterpolationOffset, GL_MIN_FRAGMENT_INTERPOLATION_OFFSET) # pragma pop_macro("MinFragmentInterpolationOffset") # else OGLPLUS_ENUM_CLASS_VALUE(MinFragmentInterpolationOffset, GL_MIN_FRAGMENT_INTERPOLATION_OFFSET) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MIN_MAP_BUFFER_ALIGNMENT # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MinMapBufferAlignment # pragma push_macro("MinMapBufferAlignment") # undef MinMapBufferAlignment OGLPLUS_ENUM_CLASS_VALUE(MinMapBufferAlignment, GL_MIN_MAP_BUFFER_ALIGNMENT) # pragma pop_macro("MinMapBufferAlignment") # else OGLPLUS_ENUM_CLASS_VALUE(MinMapBufferAlignment, GL_MIN_MAP_BUFFER_ALIGNMENT) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MIN_PROGRAM_TEXEL_OFFSET # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MinProgramTexelOffset # pragma push_macro("MinProgramTexelOffset") # undef MinProgramTexelOffset OGLPLUS_ENUM_CLASS_VALUE(MinProgramTexelOffset, GL_MIN_PROGRAM_TEXEL_OFFSET) # pragma pop_macro("MinProgramTexelOffset") # else OGLPLUS_ENUM_CLASS_VALUE(MinProgramTexelOffset, GL_MIN_PROGRAM_TEXEL_OFFSET) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #if defined GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET # ifdef OGLPLUS_LIST_NEEDS_COMMA OGLPLUS_ENUM_CLASS_COMMA # endif # if defined MinProgramTextureGatherOffset # pragma push_macro("MinProgramTextureGatherOffset") # undef MinProgramTextureGatherOffset OGLPLUS_ENUM_CLASS_VALUE(MinProgramTextureGatherOffset, GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET) # pragma pop_macro("MinProgramTextureGatherOffset") # else OGLPLUS_ENUM_CLASS_VALUE(MinProgramTextureGatherOffset, GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET) # endif # ifndef OGLPLUS_LIST_NEEDS_COMMA # define OGLPLUS_LIST_NEEDS_COMMA 1 # endif #endif #ifdef OGLPLUS_LIST_NEEDS_COMMA # undef OGLPLUS_LIST_NEEDS_COMMA #endif
[ "chochlik@gmail.com" ]
chochlik@gmail.com
6aea2bb482285a2f25c5b0f62b36108039e3f352
1fae40e85703450f22242371bdc6ceafa7164a16
/AntHill/cPheromone.h
a7cb63161c2623535b0e227e92188e297b8d6a39
[]
no_license
JoeyProbst/13WS-OOP
d21eca5d4d4cfb922fc145febf5ebcf4a5afe662
73c2aafd9d93dff1fb0814267b462b5780baa74e
refs/heads/master
2021-01-23T20:17:25.189248
2014-01-18T00:07:19
2014-01-18T00:07:19
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
512
h
//#pragma once #ifndef CPHEROMONE_HEADER #define CPHEROMONE_HEADER #include "cItem.h" class cField; class cPheromone : public cItem { private: int intensity;//Joey: zeigt die Intensität des Pheromons an! int typ; cField* Position; int roundBasedTurnIndicator; public: cPheromone(cField* position); ~cPheromone(void); std::list<cItem*>::iterator act(int roundIndicator, std::list<cItem*>::iterator actualIterator);//Joey: zählt die Intensität des Pheromons hinunter! }; #endif // !CPHEROMONE_HEADER
[ "max-mustermann@outlook.com" ]
max-mustermann@outlook.com
112d7e4ff28cf7574980bb03fddba17651de4109
940e2fbc3175be92db35cde7cf14fec057813470
/HiDialog/pclviewer.h
1e410987c59703bfe101000f745b856f1b776100
[]
no_license
thewallmoney/HiDialog
718c7410fdbca8c6ec1446ec67558f15782e020d
28161072d20c55e532db8d727e26dd0ec692bd47
refs/heads/master
2020-03-31T21:21:22.396260
2018-10-11T02:54:18
2018-10-11T02:54:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,275
h
#ifndef PCLVIEWER_H #define PCLVIEWER_H // STL #include <iostream> #include <fstream> // Qt #include <QMainWindow> // Point Cloud Library #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/io/pcd_io.h> #include <pcl/kdtree/kdtree_flann.h> #include <pcl/common/centroid.h> // Visualization Toolkit (VTK) #include <vtkRenderWindow.h> // local #include "initialPoly.h" #include "SimplifyVerticesSize.h" #include "snappingvertices.h" #include "controloptimizationsnappingdialog.h" #include "osnap.h" #include "holefilling.h" #include "holefillinginteractiveoperationdialog.h" using namespace std; struct Orientation{ double trend; double plunge; }; struct RGB{ double r; double g; double b; }; struct DiscontinuityTriangle{ EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector3d v[3]; }; namespace Ui { class PCLViewer; } class PCLViewer : public QMainWindow { Q_OBJECT public: explicit PCLViewer (QWidget *parent = 0); ~PCLViewer (); // 最初的多边形集合 vector<InitialPoly> initial_polys; // 多边形的尺度 vector<float> ply_scales; // 多边形顶点点云 pcl::PointCloud<pcl::PointXYZ>::Ptr m_vertices; // 与多边形顶点点云匹配的kdtree pcl::KdTreeFLANN<pcl::PointXYZ> m_kdtree; ///////////////////////////////////////////////////////////////////////////////////////// // 不连续面相关: pcl::PointCloud<pcl::PointXYZ>::Ptr m_plane_point_clouds; vector<pcl::PointCloud<pcl::PointXYZ>::Ptr, Eigen::aligned_allocator<pcl::PointCloud<pcl::PointXYZ>::Ptr>> m_planes; // 优势法向量 vector<Eigen::Vector3d, Eigen::aligned_allocator<Eigen::Vector3d>> m_dominant_normals; // 角度转弧度 double degree2rad(double degree); // 将产状转换成法向量 void convertOrientaion2Normal(Orientation &ori, Eigen::Vector3d &normal); // 计算两个向量的夹角 double getAngleBtwNormals(Eigen::Vector3d &n1, Eigen::Vector3d &n2); // 最初的多边形数量 int m_original_poly_number; /* * 根据尺度和多边形id,构造大平面 * input: * scale: 尺度 * ply: 多边形 * output: * vertices: size为6的一个向量,存有6个顶点,每三个构成一个三角形(将一个大的四方形平面分割成两个三角形) */ void genBigPlane(double scale, POLYGON2* ply); // 插入的不连续面 vector<DiscontinuityTriangle> m_inserted_discontinuities; // 当前选中的顶点 pcl::PointXYZ m_selected_p; pcl::PointXYZ m_p1; pcl::PointXYZ m_p2; public slots: public: boost::shared_ptr<pcl::visualization::PCLVisualizer> viewer; private slots: void on_OpenAction_triggered(); void on_setBgColorAction_triggered(); void on_setCoordinateAxesAction_triggered(); void on_removePointCloudAction_triggered(); void on_verticesNormalEstimationAction_triggered(); void on_clearScreenAction_triggered(); void on_ObservePolyVerNormalAction_triggered(); void on_simplifyVerticesSizeAction_triggered(); void on_RGtoDetectLineSegsAction_triggered(); void on_RGlineSegDisplayAction_triggered(); void on_doSimplifyVerticesSizeAction_triggered(); void on_removeAllPointCloudsAction_triggered(); void on_removeAllShapesAction_triggered(); void on_removeAllInitialVerticesAction_triggered(); void on_showNeighborRegionAction_triggered(); void on_mergeVerticesParamsAction_triggered(); void on_showMatchingAction_triggered(); void on_mergeMatchingRelationsAction_triggered(); void on_showMatchingClustersAction_triggered(); void on_mergeVertexEdgeMatchingAction_triggered(); void on_viewSpecificPolyAction_triggered(); void on_action_4_triggered(); void on_dealWithPolyDegenerationAction_triggered(); void on_performSnappingVerticesAction_triggered(); void on_goOnPerformSnappingVerticesAction_triggered(); void on_observePolyIDAction_triggered(); void on_performOptimisePositionAction_triggered(); void on_action_triggered(); void on_action_2_triggered(); void on_action_5_triggered(); void on_action_6_triggered(); void on_action_3_triggered(); void on_action_7_triggered(); void on_action_8_triggered(); void on_action_9_triggered(); void on_action_dda_triggered(); void on_action_11_triggered(); void on_action_10_triggered(); void on_action_12_triggered(); void on_action_13_triggered(); void on_action_14_triggered(); void on_action_16_triggered(); void on_action_1_triggered(); void on_action_17_triggered(); void on_action_18_triggered(); void on_action_19_triggered(); void on_action_DDA_triggered(); void on_action_20_triggered(); void on_action_21_triggered(); private: Ui::PCLViewer *ui; public: SimplifyVerticesSize m_svs; // 顶点化简 SnappingVertices m_sv; // 顶点合并 OSnap m_osnap; // 位置优化 HoleFilling m_hf; // 孔洞填充 void init(); void performOptimize(); ControlOptimizationSnappingDialog m_cos_dlg; HoleFillingInteractiveOperationDialog m_hfio_dlg; void displayWireframe(); void displayWireframe2(); private: // 参数 void loadParams(); // 顶点化简 float T_angle_betPointAndPoint; // 选取种子点时,种子点法向量与相邻顶点法向量的最大夹角(单位:弧度) float T_angle_betPointAndLine; // 点的法向量与直线法向量的最大夹角(单位:弧度) float T_dist_betPointAndLine; // 点到直线的最大距离 float T_lenRatio; // 确定可以被剪掉的最小线段占平均线段长度的最大比例 float T_angle_betLines; // 可被合并的两个线段的最大夹角(单位:弧度) // 顶点合并 float ratio_of_scale; // 尺度的比例因子,用来设置邻域半径 float T_ratio_lineSeg_middle_area; // 线段中部区域占据线段长度的比例 float T_dist_proj_to_lineSegEnd; // 投影点与线段端点的最大距离 float T_maxAngle_bet_two_polys; // 两个平行多边形的法向量最大夹角 // osnap double osnap_delta; // 数值计算偏导数的步长 int osnap_max_k_count; // 共轭梯度的最大迭代次数 }; #endif // PCLVIEWER_H
[ "czh55@qq.com" ]
czh55@qq.com
2a585c244213630ca87a9735ba711f58a49dff52
e04f52ed50f42ad255c66d7b6f87ba642f41e125
/appseed/core/user/user/user_combo_list.h
3de8163dd1a9cd244d8b1b99e398d391c0f043d0
[]
no_license
ca2/app2018
6b5f3cfecaa56b0e8c8ec92ed26e8ce44f9b44c0
89e713c36cdfb31329e753ba9d7b9ff5b80fe867
refs/heads/main
2023-03-19T08:41:48.729250
2018-11-15T16:27:31
2018-11-15T16:27:31
98,031,531
3
0
null
null
null
null
UTF-8
C++
false
false
2,698
h
#pragma once namespace user { class combo_box; namespace wndfrm { namespace frame { class WorkSet; } } class CLASS_DECL_CORE combo_list : virtual public ::user::control { public: bool m_bMovingComboBox; bool m_bComboList; combo_box * m_pcombo; index m_iHover; int m_iBorder; //::draw2d::font_sp m_spfont; ::user::interaction * m_puiDeactivateTogether; ::user::wndfrm::frame::WorkSet * m_puiDeactivateTogetherSet; tick m_tickLastHide; combo_list(); combo_list(::aura::application * papp); virtual ~combo_list(); virtual void install_message_routing(::message::sender * psender) override; virtual void _001OnDraw(::draw2d::graphics * pgraphics) override; //virtual void _001OnDrawVerisimple(::draw2d::graphics * pgraphics); //virtual void _001OnDrawSimply(::draw2d::graphics * pgraphics); //virtual void _002OnDrawVerisimple(::draw2d::graphics * pgraphics); virtual void _001OnDrawComboList(::draw2d::graphics * pgraphics); virtual void query_full_size(LPSIZE lpsize); virtual int32_t _001GetItemHeight() const; virtual void on_change_combo_sel(index iSel); bool pre_create_window(::user::create_struct & cs) override; using ::user::control::GetClientRect; virtual bool GetClientRect(RECT64 * lprect) override; DECL_GEN_SIGNAL(_001OnShowWindow); DECL_GEN_SIGNAL(_001OnSetFocus); DECL_GEN_SIGNAL(_001OnKillFocus); DECL_GEN_SIGNAL(_001OnClose); DECL_GEN_SIGNAL(_001OnActivate); DECL_GEN_SIGNAL(_001OnMouseActivate); DECL_GEN_SIGNAL(_001OnKeyDown); DECL_GEN_SIGNAL(_001OnKeyUp); DECL_GEN_SIGNAL(_001OnLButtonDown); DECL_GEN_SIGNAL(_001OnLButtonUp); DECL_GEN_SIGNAL(_001OnMButtonDown); DECL_GEN_SIGNAL(_001OnRButtonDown); DECL_GEN_SIGNAL(_001OnMouseMove); virtual index hit_test(point pt, e_element & eelement) override; virtual bool keyboard_focus_is_focusable() override; virtual bool keyboard_focus_OnKillFocus(oswindow oswindowNew) override; virtual bool ShowWindow(int nCmdShow) override; virtual bool has_pending_graphical_update() override; void on_drop_down(rect rectWindow, size sizeFull); //virtual bool get_font(::draw2d::font_sp & spfont, e_font efont, ::user::interaction * pui) override; }; } // namespace user
[ "camilo@ca2.email" ]
camilo@ca2.email
3c0ca8bbf19e58c22553d3f1cff6ca1a80d966e2
3c8655d8478eed08d297e5e1833b4b807663beb0
/Drawing_Program/Drawing_Program/Drawing_Program.cpp
74fa97a2536c0a26e8e7365f945e06e54e1d1610
[]
no_license
pavelkumbrasev/In-order-to-pass_Drawing-Program
0c8b95485371d2cee846379963a237b1260e848d
4d8f33f3a5d51fc53a7d58de63fa2723e911d8aa
refs/heads/master
2021-09-12T21:04:45.539108
2018-04-20T18:23:37
2018-04-20T18:23:37
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
666
cpp
// Drawing_Program.cpp: главный файл проекта. #include "stdafx.h" #include "Form1.h" using namespace System; using namespace System::Windows::Forms; [STAThreadAttribute] int main(array<System::String ^> ^args) { // Включение визуальных эффектов Windows XP до создания каких-либо элементов управления Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); // Создание главного окна и его запуск //Application::Run(gcnew Form1()); Drawing_program::Drawing_program form; Application::Run(%form); return 0; }
[ "paulnvidia@gmail.com" ]
paulnvidia@gmail.com
3c40fc6843a24ed2fc3327527e9e0fb9c5cc0aee
e65a4dbfbfb0e54e59787ba7741efee12f7687f3
/textproc/irstlm/files/patch-src-interpolate-lm.cpp
82490ba6a1ab623d95201cfac12174567797f470
[ "BSD-2-Clause" ]
permissive
freebsd/freebsd-ports
86f2e89d43913412c4f6b2be3e255bc0945eac12
605a2983f245ac63f5420e023e7dce56898ad801
refs/heads/main
2023-08-30T21:46:28.720924
2023-08-30T19:33:44
2023-08-30T19:33:44
1,803,961
916
918
NOASSERTION
2023-09-08T04:06:26
2011-05-26T11:15:35
null
UTF-8
C++
false
false
509
cpp
--- src/interpolate-lm.cpp.orig 2012-10-02 11:06:58.000000000 +0400 +++ src/interpolate-lm.cpp 2014-09-02 14:42:03.000000000 +0400 @@ -230,7 +230,7 @@ int main(int argc, char **argv) //Learning mixture weights if (learn) { - std::vector<float> p[N]; //LM probabilities + std::vector< std::vector<float> > p(N); //LM probabilities float c[N]; //expected counts float den,norm; //inner denominator, normalization term float variation=1.0; // global variation between new old params
[ "demon@FreeBSD.org" ]
demon@FreeBSD.org
2b058846e3291aaf5c874a2161c912e02ed13874
51790e0214ab263f8e2b41c459b814e74e174747
/src/seqan_codons.cpp
70ecd9082419f7b7981d760fc0a853e0eb5f0c9e
[ "BSD-3-Clause" ]
permissive
sdwfrost/codon-sw
47d70e238da0ea7c2fa9b40446dc335db52bb367
8314e1b8aef3c94e4d3e569a9915ce44a5f4a431
refs/heads/master
2020-03-22T17:45:51.668267
2013-03-29T16:27:33
2013-03-29T16:27:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,989
cpp
#include "seqan_codons.hpp" #include <array> #include <algorithm> #include <cassert> #include <iterator> #include <iostream> typedef unsigned char byte; using seqan::Iupac; using seqan::IupacString; using seqan::AminoAcid; using seqan::Peptide; namespace codonalign { static std::array<AminoAcid,32768> codon_table; //32K table for fasta codon decoding // codons are encoded as triplets of 5-bit-encoded nucleotides // (so any codon can be encoded/decoded as a unique 15-bit value) static char codon_data[] = { //long list of 3+1 characters (codon+translation) 'A', 'A', 'A', 'K', 'A', 'A', 'C', 'N', 'A', 'A', 'G', 'K', 'A', 'A', 'R', 'K', 'A', 'A', 'T', 'N', 'A', 'A', 'Y', 'N', 'A', 'C', 'A', 'T', 'A', 'C', 'B', 'T', 'A', 'C', 'C', 'T', 'A', 'C', 'D', 'T', 'A', 'C', 'G', 'T', 'A', 'C', 'H', 'T', 'A', 'C', 'K', 'T', 'A', 'C', 'M', 'T', 'A', 'C', 'N', 'T', 'A', 'C', 'R', 'T', 'A', 'C', 'S', 'T', 'A', 'C', 'T', 'T', 'A', 'C', 'V', 'T', 'A', 'C', 'W', 'T', 'A', 'C', 'Y', 'T', 'A', 'G', 'A', 'R', 'A', 'G', 'C', 'S', 'A', 'G', 'G', 'R', 'A', 'G', 'R', 'R', 'A', 'G', 'T', 'S', 'A', 'G', 'Y', 'S', 'A', 'T', 'A', 'I', 'A', 'T', 'C', 'I', 'A', 'T', 'G', 'M', 'A', 'T', 'H', 'I', 'A', 'T', 'M', 'I', 'A', 'T', 'T', 'I', 'A', 'T', 'W', 'I', 'A', 'T', 'Y', 'I', 'C', 'A', 'A', 'Q', 'C', 'A', 'C', 'H', 'C', 'A', 'G', 'Q', 'C', 'A', 'R', 'Q', 'C', 'A', 'T', 'H', 'C', 'A', 'Y', 'H', 'C', 'C', 'A', 'P', 'C', 'C', 'B', 'P', 'C', 'C', 'C', 'P', 'C', 'C', 'D', 'P', 'C', 'C', 'G', 'P', 'C', 'C', 'H', 'P', 'C', 'C', 'K', 'P', 'C', 'C', 'M', 'P', 'C', 'C', 'N', 'P', 'C', 'C', 'R', 'P', 'C', 'C', 'S', 'P', 'C', 'C', 'T', 'P', 'C', 'C', 'V', 'P', 'C', 'C', 'W', 'P', 'C', 'C', 'Y', 'P', 'C', 'G', 'A', 'R', 'C', 'G', 'B', 'R', 'C', 'G', 'C', 'R', 'C', 'G', 'D', 'R', 'C', 'G', 'G', 'R', 'C', 'G', 'H', 'R', 'C', 'G', 'K', 'R', 'C', 'G', 'M', 'R', 'C', 'G', 'N', 'R', 'C', 'G', 'R', 'R', 'C', 'G', 'S', 'R', 'C', 'G', 'T', 'R', 'C', 'G', 'V', 'R', 'C', 'G', 'W', 'R', 'C', 'G', 'Y', 'R', 'C', 'T', 'A', 'L', 'C', 'T', 'B', 'L', 'C', 'T', 'C', 'L', 'C', 'T', 'D', 'L', 'C', 'T', 'G', 'L', 'C', 'T', 'H', 'L', 'C', 'T', 'K', 'L', 'C', 'T', 'M', 'L', 'C', 'T', 'N', 'L', 'C', 'T', 'R', 'L', 'C', 'T', 'S', 'L', 'C', 'T', 'T', 'L', 'C', 'T', 'V', 'L', 'C', 'T', 'W', 'L', 'C', 'T', 'Y', 'L', 'G', 'A', 'A', 'E', 'G', 'A', 'C', 'D', 'G', 'A', 'G', 'E', 'G', 'A', 'R', 'E', 'G', 'A', 'T', 'D', 'G', 'A', 'Y', 'D', 'G', 'C', 'A', 'A', 'G', 'C', 'B', 'A', 'G', 'C', 'C', 'A', 'G', 'C', 'D', 'A', 'G', 'C', 'G', 'A', 'G', 'C', 'H', 'A', 'G', 'C', 'K', 'A', 'G', 'C', 'M', 'A', 'G', 'C', 'N', 'A', 'G', 'C', 'R', 'A', 'G', 'C', 'S', 'A', 'G', 'C', 'T', 'A', 'G', 'C', 'V', 'A', 'G', 'C', 'W', 'A', 'G', 'C', 'Y', 'A', 'G', 'G', 'A', 'G', 'G', 'G', 'B', 'G', 'G', 'G', 'C', 'G', 'G', 'G', 'D', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'H', 'G', 'G', 'G', 'K', 'G', 'G', 'G', 'M', 'G', 'G', 'G', 'N', 'G', 'G', 'G', 'R', 'G', 'G', 'G', 'S', 'G', 'G', 'G', 'T', 'G', 'G', 'G', 'V', 'G', 'G', 'G', 'W', 'G', 'G', 'G', 'Y', 'G', 'G', 'T', 'A', 'V', 'G', 'T', 'B', 'V', 'G', 'T', 'C', 'V', 'G', 'T', 'D', 'V', 'G', 'T', 'G', 'V', 'G', 'T', 'H', 'V', 'G', 'T', 'K', 'V', 'G', 'T', 'M', 'V', 'G', 'T', 'N', 'V', 'G', 'T', 'R', 'V', 'G', 'T', 'S', 'V', 'G', 'T', 'T', 'V', 'G', 'T', 'V', 'V', 'G', 'T', 'W', 'V', 'G', 'T', 'Y', 'V', 'M', 'G', 'A', 'R', 'M', 'G', 'G', 'R', 'M', 'G', 'R', 'R', 'N', 'N', 'N', 'X', 'R', 'A', 'Y', 'B', 'S', 'A', 'R', 'Z', 'T', 'A', 'A', '.', 'T', 'A', 'C', 'Y', 'T', 'A', 'G', '.', 'T', 'A', 'R', '.', 'T', 'A', 'T', 'Y', 'T', 'A', 'Y', 'Y', 'T', 'C', 'A', 'S', 'T', 'C', 'B', 'S', 'T', 'C', 'C', 'S', 'T', 'C', 'D', 'S', 'T', 'C', 'G', 'S', 'T', 'C', 'H', 'S', 'T', 'C', 'K', 'S', 'T', 'C', 'M', 'S', 'T', 'C', 'N', 'S', 'T', 'C', 'R', 'S', 'T', 'C', 'S', 'S', 'T', 'C', 'T', 'S', 'T', 'C', 'V', 'S', 'T', 'C', 'W', 'S', 'T', 'C', 'Y', 'S', 'T', 'G', 'A', '.', 'T', 'G', 'C', 'C', 'T', 'G', 'G', 'W', 'T', 'G', 'T', 'C', 'T', 'G', 'Y', 'C', 'T', 'R', 'A', '.', 'T', 'T', 'A', 'L', 'T', 'T', 'C', 'F', 'T', 'T', 'G', 'L', 'T', 'T', 'R', 'L', 'T', 'T', 'T', 'F', 'T', 'T', 'Y', 'F', 'X', 'X', 'X', 'X', 'Y', 'T', 'A', 'L', 'Y', 'T', 'G', 'L', 'Y', 'T', 'R', 'L' }; static bool is_codon_table_ready = codon_table_init(); unsigned short pack_codon(const Iupac n1, const Iupac n2, const Iupac n3) { const int bpv = seqan::BitsPerValue<Iupac>::VALUE; static_assert(bpv*3 <= 8*sizeof(unsigned short), "unsigned short is not big enough to hold codon of T."); unsigned short result = (seqan::ordValue(n1) << (bpv*2)) | (seqan::ordValue(n2) << bpv) | seqan::ordValue(n3); if(result >= codon_table.size()) { std::cerr << "Invalid codon! " << n1 << n2 << n3 << std::endl; throw std::runtime_error("Invalid codon"); } return result; } bool codon_table_init() { std::fill(std::begin(codon_table), std::end(codon_table), 'X'); int cdsize = sizeof(codon_data); for(int i = 0; i < cdsize; i += 4) { unsigned short aacode = pack_codon(codon_data[i], codon_data[i + 1], codon_data[i + 2]); assert(codon_table[aacode] == 'X'); codon_table[aacode] = codon_data[i + 3]; } return true; } AminoAcid translate_codon(const Iupac& n1, const Iupac& n2, const Iupac& n3) { return codon_table[pack_codon(n1, n2, n3)]; } //simple 1st frame forward translation of a given DNA string // allocate and returns the translation string Peptide translate_dna(const IupacString& dnastr) { const size_t dnalen = seqan::length(dnastr); const size_t aalen = dnalen / 3; Peptide r; seqan::resize(r, aalen, 'X'); for(size_t ai = 0; ai < aalen; ai++) { const size_t i = ai * 3; r[ai] = codon_table[pack_codon(dnastr[i], dnastr[i + 1], dnastr[i + 2])]; } return r; } } // namespace codonalign
[ "cmccoy@fhcrc.org" ]
cmccoy@fhcrc.org
647b73846bad5c81867de20ae169aea18ed19051
e31b63a01560cfc3341b0ab245543519ea8ddfde
/DVD.h
42c6217ea0f7db1c0b2c70a6bca3a568e15dd57b
[]
no_license
mix4242/Lab
ae5fbba4ec17429c011c232496deb341ac8caa23
c20b362f0a6a1928f1379be8e63d87a8e0a3e5c8
refs/heads/master
2021-01-10T06:37:55.235556
2015-10-18T16:45:14
2015-10-18T16:45:14
44,486,846
0
0
null
null
null
null
UTF-8
C++
false
false
407
h
#ifndef Included_DVD_h #define Included_DVD_h #include "SaleableItem.h" class DVD :public SaleableItem { public: enum DVDFormat {PAL, NTSC}; DVD(const char* pTitle, unsigned int unitPricePence, unsigned int runningTimeMinsp, DVDFormat formatp); unsigned int getNewPrice(void); private: unsigned int runningTimeMins; DVDFormat format; }; #endif /* #ifndef Included_DVD_h */
[ "md3414@ic.ac.uk" ]
md3414@ic.ac.uk
5d14e9f4317af0cc554f41b27ec9729ff2172d93
14ce01a6f9199d39e28d036e066d99cfb3e3f211
/Cpp/SDK/BP_PetesBoat_V2_Back_Corner_parameters.h
49b776ba3ba303201e6413ceb8834643d95cbc7a
[]
no_license
zH4x-SDK/zManEater-SDK
73f14dd8f758bb7eac649f0c66ce29f9974189b7
d040c05a93c0935d8052dd3827c2ef91c128bce7
refs/heads/main
2023-07-19T04:54:51.672951
2021-08-27T13:47:27
2021-08-27T13:47:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
973
h
#pragma once // Name: ManEater, Version: 1.0.0 /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Parameters //--------------------------------------------------------------------------- // Function BP_PetesBoat_V2_Back_Corner.BP_PetesBoat_V2_Back_Corner_C.GetSizeLevel struct ABP_PetesBoat_V2_Back_Corner_C_GetSizeLevel_Params { class AME_AnimalCharacter* GrabbingAnimal; // (BlueprintVisible, BlueprintReadOnly, Parm, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash) int ReturnValue; // (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData, NoDestructor, HasGetValueTypeHash) }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "zp2kshield@gmail.com" ]
zp2kshield@gmail.com
f97b802a24dc8ff7bfa21561a96098da4648a6ba
62e6e04d4ab08ca4b5090179af1f670099f94780
/客户端组件/游戏广场/3D.cpp
7f683afadea3ea99fa8619d17b58ab7a24d0e88f
[]
no_license
hanshouqing85/wh6603_hpkj
9895e3bc2e9948aacb15f6bc60f083146796ddf9
eed96681c75dcc2948f89c63088da21e3d8e0bc0
refs/heads/master
2020-04-13T13:48:10.811183
2019-06-15T10:49:21
2019-06-15T10:49:21
163,242,393
0
0
null
null
null
null
GB18030
C++
false
false
145,808
cpp
#include "stdafx.h" #include "GamePlaza.h" #include "PaiLie3.h" #include "BmpUtil.h" #include "MessageDlg.h" #include "PlatformFrame.h" #include "QrTzhDlg.h" #include "GDIpng/MemDC.h" #include "DlgFandian.h" #include "DlgAddtional.h" #include <map> using namespace std; extern map <int,CString> mapFandian; extern map <int,float> mapPercent; extern map <int,float> mapDanweiFandian; extern map <int,float> mapBonus; extern vector<wstring> vecData1, vecData2, vecData3; extern vector<wstring> vecAllNums; //玩法分类数据 static const int wanfa_x = 9; static const int wanfa_y = 109; static const int wanfa_col_width = 64; static const int wanfa_row_height = 32; //玩法子分类数据 static const int wanfa_sel_x = 20; static const int wanfa_sel_y = 145; static const int wanfa_sel_width = 71; static const int wanfa_sel_height = 22; //号码数据 static const int haoma_btn_x = 100; static const int haoma_btn_y = 226; static const int haoma_btn_col_wdith = 40; static const int haoma_btn_row_height = 35; //号码提示数据 static const int haoma_tip_x = 20; static const int haoma_tip_y = haoma_btn_y; //单式选号编辑框 static const int edit_haomao_danshi_x = 20; static const int edit_haomao_danshi_y = 210; static const int edit_haomao_danshi_width = 752; static const int edit_haomao_danshi_height = 195; //添加号码按钮 static const int btn_chq_add_x = 571; static const int btn_chq_add_y = 415; // static const int btn_lock_x = 450; static const int btn_lock_y = 417; //选号显示区域数据 //删除选中按钮 static const int btn_del_sel_x = 470; static const int btn_del_sel_y = 543; //清空列表按钮 static const int btn_cls_list_x = 645; static const int btn_cls_list_y = 415; //号码列表 static const int list_haomao_x = 43; static const int list_haomao_y = 469; static const int list_haomao_width = 592; static const int list_haomao_height = 72; //倍投编辑框 static const int edit_beitou_x = 214; static const int edit_beitou_y = 423; static const int edit_beitou_width = 48; static const int edit_beitou_height = 21; //确认投注按钮 static const int btn_touzhu_x = 638; static const int btn_touzhu_y = 490; //追号按钮 static const int btn_zhuihao_x = 719; static const int btn_zhuihao_y = 415; //更多记录 static const int btn_more_x = 712; static const int btn_more_y = 92; //大开奖号 static const int kj_big_haoma_x = 276; static const int kj_big_haoma_y = 38; static const int czh_rc_left = 243; static const int czh_rc_top = 4; static const int czh_rc_width = 65; static const int czh_rc_height = 30; static CRect rcCzh(czh_rc_left, czh_rc_top, czh_rc_left + czh_rc_width, czh_rc_top + czh_rc_height); static const int qihao_rc_left = 325; static const int qihao_rc_top = 4; static const int qihao_rc_width = 125; static const int qihao_rc_height = 30; static CRect rcQiHao(qihao_rc_left, qihao_rc_top, qihao_rc_left + qihao_rc_width, qihao_rc_top + qihao_rc_height); static const int yugao_rc_left = 3; static const int yugao_rc_top = 4; static const int yugao_rc_width = 196; static const int yugao_rc_height = 30; static CRect rcYuGao(yugao_rc_left, yugao_rc_top, yugao_rc_left + yugao_rc_width, yugao_rc_top + yugao_rc_height); //小开奖号 static const int kj_small_haoma_x = 630; static const int kj_small_haoma_y = 28; static const int kj_small_haoma_col_span = 5; static const int kj_small_haoma_row_span = 6; //总注数 static const int zongzhushu_x = 71; static const int zongzhushu_y = 411; static const int zongzhushu_width = 150; static const int zongzhushu_height = 25; static CRect rcZongZhuShu(zongzhushu_x, zongzhushu_y, zongzhushu_x+zongzhushu_width, zongzhushu_y+zongzhushu_height); //总金额 static const int zongjine_x = 295; static const int zongjine_y = 428; static const int zongjine_width = 150; static const int zongjine_height = 25; static CRect rcZongJinE(zongjine_x, zongjine_y, zongjine_x+zongjine_width, zongjine_y+zongjine_height); //总注数 static const int allzongzhushu_x = 638; static const int allzongzhushu_y = 444; static const int allzongzhushu_width = 150; static const int allzongzhushu_height = 25; static CRect rcAllZongzhushu(allzongzhushu_x, allzongzhushu_y, allzongzhushu_x+allzongzhushu_width, allzongzhushu_y+allzongzhushu_height); //鼠标输入 static const int mouseinput_x = 597; static const int mouseinput_y = 175; //键盘输入 static const int keyboardinput_x = 670; static const int keyboardinput_y = 175; static const int redraw_rc_left = 0; static const int redraw_rc_top = 0; static const int redraw_rc_width = 756; static const int redraw_rc_height = 103; static CRect rcRedraw(redraw_rc_left, redraw_rc_top, redraw_rc_left + redraw_rc_width, redraw_rc_top + redraw_rc_height); static const int btn_yuan_x = 10; static const int btn_yuan_y = 415; static const int btn_jiao_x = 45; static const int btn_jiao_y = 415; static const int btn_fen_x = 80; static const int btn_fen_y = 415; static const int btn_li_x = 115; static const int btn_li_y = 415; static const int timer_id_get_luck_num = 1; static const int timer_id_kj_yugao = 2; static const int timespan_kj_shj = 24 * 60 * 60; static const int timer_id_kaijiangzhong=3; static const int TimerJiShi = 4; CString C3D::m_strHaoma = _T(""); //排列3 IMPLEMENT_DYNAMIC(C3D, CDialog) C3D::C3D(CWnd* pParent /*=NULL*/) : CDialog(C3D::IDD, pParent) , m_bmpBk(NULL) , m_numImageList(NULL) , m_kjNumBig(NULL) , m_kjNumSmall(NULL) , m_bmpNumTip(NULL) , m_gameKind(enWF_ZhixuanFushi) , m_zongZhuShu(0) , m_beishu(1) , m_bigNumWidth(0) , m_bigNumHeight(0) , m_smallNumWidth(0) , m_smallNumHeight(0) , m_kjXinxiCont(0) , m_pLuckMeDlg(NULL) , m_bmpDxdsh(NULL) { for (int i=0; i<Kj_XinXi_Count; i++) { memset(&m_kjXinxi[i], 0, sizeof(KjXinXi)); } m_nFrameIndex=0; m_nFrameCount=0; m_nZhuihaoCount=0; m_fBonus = 0.0; m_fPercent = 0.0; fDanweiFandian=0.0f; nBonus = 0.0f; m_bZhuiZjtz = true; _tcscpy_s(m_lastExpect, KJ_QIHAO_LENGTH, _T("")); m_bKaiJiangzhong = false; m_DlgStatus.SetStatusViewSink(this); m_nTzhSign = 1; m_nTzhSign1 = 0; InitWanFaMoShi(); } C3D::~C3D() { if (m_bmpBk != NULL) { delete m_bmpBk; } if (m_bmpDxdsh != NULL) { delete m_bmpDxdsh; } if (m_numImageList != NULL) { delete m_numImageList; } if (m_kjNumBig != NULL) { delete m_kjNumBig; } if (m_kjNumSmall != NULL) { delete m_kjNumSmall; } if (m_bmpNumTip != NULL) { delete m_bmpNumTip; } if (m_imgKaijiang != NULL) { m_imgKaijiang=NULL; delete m_imgKaijiang; } } //取消连接 VOID C3D::OnStatusCancel() { //关闭房间 PostMessage(WM_COMMAND,IDM_DELETE_SERVER_ITEM,0); return; } void C3D::ConnectMainDlg(CPlazaViewItem* luckMeDlg) { m_pLuckMeDlg = luckMeDlg; } void C3D::FlushZongjine() { InvalidateRect(&rcZongJinE); } void C3D::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); DDX_Control(pDX,IDC_BTN_BEITOU_JIA,m_btnBeiTouJia); DDX_Control(pDX,IDC_BTN_BEITOU_JIAN,m_btnBeiTouJian); DDX_Control(pDX,IDC_TIP_WXZX,m_btWxzxTip); DDX_Control(pDX, IDC_BTN_MORE_RECORD, m_btnMoreRecord); DDX_Control(pDX, IDC_BTN_BAI_3D_0, m_btn3DBai0); DDX_Control(pDX, IDC_BTN_BAI_3D_1, m_btn3DBai1); DDX_Control(pDX, IDC_BTN_BAI_3D_2, m_btn3DBai2); DDX_Control(pDX, IDC_BTN_BAI_3D_3, m_btn3DBai3); DDX_Control(pDX, IDC_BTN_BAI_3D_4, m_btn3DBai4); DDX_Control(pDX, IDC_BTN_BAI_3D_5, m_btn3DBai5); DDX_Control(pDX, IDC_BTN_BAI_3D_6, m_btn3DBai6); DDX_Control(pDX, IDC_BTN_BAI_3D_7, m_btn3DBai7); DDX_Control(pDX, IDC_BTN_BAI_3D_8, m_btn3DBai8); DDX_Control(pDX, IDC_BTN_BAI_3D_9, m_btn3DBai9); DDX_Control(pDX, IDC_BTN_SHI_3D_0, m_btn3DShi0); DDX_Control(pDX, IDC_BTN_SHI_3D_1, m_btn3DShi1); DDX_Control(pDX, IDC_BTN_SHI_3D_2, m_btn3DShi2); DDX_Control(pDX, IDC_BTN_SHI_3D_3, m_btn3DShi3); DDX_Control(pDX, IDC_BTN_SHI_3D_4, m_btn3DShi4); DDX_Control(pDX, IDC_BTN_SHI_3D_5, m_btn3DShi5); DDX_Control(pDX, IDC_BTN_SHI_3D_6, m_btn3DShi6); DDX_Control(pDX, IDC_BTN_SHI_3D_7, m_btn3DShi7); DDX_Control(pDX, IDC_BTN_SHI_3D_8, m_btn3DShi8); DDX_Control(pDX, IDC_BTN_SHI_3D_9, m_btn3DShi9); DDX_Control(pDX, IDC_BTN_GE_3D_0, m_btn3DGe0); DDX_Control(pDX, IDC_BTN_GE_3D_1, m_btn3DGe1); DDX_Control(pDX, IDC_BTN_GE_3D_2, m_btn3DGe2); DDX_Control(pDX, IDC_BTN_GE_3D_3, m_btn3DGe3); DDX_Control(pDX, IDC_BTN_GE_3D_4, m_btn3DGe4); DDX_Control(pDX, IDC_BTN_GE_3D_5, m_btn3DGe5); DDX_Control(pDX, IDC_BTN_GE_3D_6, m_btn3DGe6); DDX_Control(pDX, IDC_BTN_GE_3D_7, m_btn3DGe7); DDX_Control(pDX, IDC_BTN_GE_3D_8, m_btn3DGe8); DDX_Control(pDX, IDC_BTN_GE_3D_9, m_btn3DGe9); DDX_Control(pDX, IDC_BTN_3D_SXZHX, m_btnSanXingZhiXuan); DDX_Control(pDX, IDC_BTN_3D_SXZX, m_btnSanXingZuXuan); DDX_Control(pDX, IDC_BTN_3D_QYZHX, m_btnQianYiZhiXuan); DDX_Control(pDX, IDC_BTN_3D_QEZHX, m_btnQianErZhiXuan); DDX_Control(pDX, IDC_BTN_3D_SXBDW, m_btnSanXingBuDingWei); DDX_Control(pDX, IDC_BTN_3D_HYZHX, m_btnHouYiZhiXuan); DDX_Control(pDX, IDC_BTN_3D_HEZHX, m_btnHouErZhiXuan); DDX_Control(pDX, IDC_BTN_3D_DWD, m_btnDingWeiDan); DDX_Control(pDX, IDC_BTN_3D_DWDXDS, m_btnDaXiaoDanShuang); DDX_Control(pDX, IDC_BTN_3D_SXZHXHZH, m_btnZhiXuanHeZhi); DDX_Control(pDX, IDC_BTN_BAI_3D_QUAN, m_btn3DBaiQuan); DDX_Control(pDX, IDC_BTN_BAI_3D_DA, m_btn3DBaiDa); DDX_Control(pDX, IDC_BTN_BAI_3D_XIAO, m_btn3DBaiXiao); DDX_Control(pDX, IDC_BTN_BAI_3D_DAN, m_btn3DBaiDan); DDX_Control(pDX, IDC_BTN_BAI_3D_SHUANG, m_btn3DBaiShuang); DDX_Control(pDX, IDC_BTN_BAI_3D_QING, m_btn3DBaiQing); DDX_Control(pDX, IDC_BTN_SHI_3D_QUAN, m_btn3DShiQuan); DDX_Control(pDX, IDC_BTN_SHI_3D_DA, m_btn3DShiDa); DDX_Control(pDX, IDC_BTN_SHI_3D_XIAO, m_btn3DShiXiao); DDX_Control(pDX, IDC_BTN_SHI_3D_DAN, m_btn3DShiDan); DDX_Control(pDX, IDC_BTN_SHI_3D_SHUANG, m_btn3DShiShuang); DDX_Control(pDX, IDC_BTN_SHI_3D_QING, m_btn3DShiQing); DDX_Control(pDX, IDC_BTN_GE_3D_QUAN, m_btn3DGeQuan); DDX_Control(pDX, IDC_BTN_GE_3D_DA, m_btn3DGeDa); DDX_Control(pDX, IDC_BTN_GE_3D_XIAO, m_btn3DGeXiao); DDX_Control(pDX, IDC_BTN_GE_3D_DAN, m_btn3DGeDan); DDX_Control(pDX, IDC_BTN_GE_3D_SHUANG, m_btn3DGeShuang); DDX_Control(pDX, IDC_BTN_GE_3D_QING, m_btn3DGeQing); DDX_Control(pDX, IDC_STATIC_BAI, m_staticBai); DDX_Control(pDX, IDC_STATIC_SHI, m_staticShi); DDX_Control(pDX, IDC_STATIC_GE, m_staticGe); DDX_Control(pDX, IDC_EDIT_DANSHI_HAOMA, m_editDanShiHaoMa); DDX_Control(pDX, IDC_RICHEDIT_DANSHI, m_richDanshiHaoma); DDX_Control(pDX, IDC_BTN_3D_ADD, m_btn3DAdd); DDX_Control(pDX, IDC_BTN_LOCK, m_btnLock); DDX_Control(pDX, IDC_BTN_DEL_SEL, m_btnDelSel); DDX_Control(pDX, IDC_BTN_CLS_LIST, m_btnClsList); DDX_Control(pDX, IDC_LIST_3D, m_list3D); DDX_Control(pDX, IDC_EDIT_BEISHU, m_editBeiShu); DDX_Control(pDX, IDC_BTN_TOUZHU, m_btnTouZhu); DDX_Control(pDX, IDC_BTN_ZHUIHAO, m_btnZhuiHao); DDX_Control(pDX, IDC_RIO_SXZHX_FUSHI, m_rioSxzhxFuShi); DDX_Control(pDX, IDC_RIO_SXZHX_DANSHI, m_rioSxzhxDanShi); DDX_Control(pDX, IDC_RIO_HEZHX_FUSHI, m_rioHeZhxFuShi); DDX_Control(pDX, IDC_RIO_HEZHX_DANSHI, m_rioHeZhxDanShi); DDX_Control(pDX, IDC_RIO_SXZS_FUSHI, m_rioSxzsFuShi); DDX_Control(pDX, IDC_RIO_SXZS_DANSHI, m_rioSxzsDanShi); DDX_Control(pDX, IDC_RIO_SXZL_FUSHI, m_rioSxzlFuShi); DDX_Control(pDX, IDC_RIO_SXZL_DANSHI, m_rioSxzlDanShi); DDX_Control(pDX, IDC_RIO_SXZHX_HEZHI, m_rioSxzhxHeZhi); DDX_Control(pDX, IDC_RIO_QYZHX, m_rioQyZhx); DDX_Control(pDX, IDC_RIO_QEZHX_FUSHI, m_rioQeZhxFuShi); DDX_Control(pDX, IDC_RIO_QEZHX_DANSHI, m_rioQeZhxDanShi); DDX_Control(pDX, IDC_RIO_SXBDW, m_rioSxbdw); DDX_Control(pDX, IDC_RIO_HYZHX, m_rioHyzhx); DDX_Control(pDX, IDC_RIO_DWD, m_rioDwd); DDX_Control(pDX, IDC_RIO_DWDXDS, m_rioDwDxds); DDX_Control(pDX, IDC_STATIC_ZUXUAN, m_staticZuXuan); DDX_Control(pDX, IDC_STATIC_BUDINGWEI, m_staticBuDingWei); DDX_Text(pDX, IDC_EDIT_BEISHU, m_beishu); DDX_Control(pDX, IDC_BTN_DA_BAI, m_btnDaBai); DDX_Control(pDX, IDC_BTN_XIAO_BAI, m_btnXiaoBai); DDX_Control(pDX, IDC_BTN_DAN_BAI, m_btnDanBai); DDX_Control(pDX, IDC_BTN_SHUANG_BAI, m_btnShuangBai); DDX_Control(pDX, IDC_BTN_DA_SHI, m_btnDaShi); DDX_Control(pDX, IDC_BTN_XIAO_SHI, m_btnXiaoShi); DDX_Control(pDX, IDC_BTN_DAN_SHI, m_btnDanShi); DDX_Control(pDX, IDC_BTN_SHUANG_SHI, m_btnShuangShi); DDX_Control(pDX, IDC_BTN_DA_GE, m_btnDaGe); DDX_Control(pDX, IDC_BTN_XIAO_GE, m_btnXiaoGe); DDX_Control(pDX, IDC_BTN_DAN_GE, m_btnDanGe); DDX_Control(pDX, IDC_BTN_SHUANG_GE, m_btnShuangGe); DDX_Control(pDX, IDC_BTN_YUAN,m_btnYuan); DDX_Control(pDX, IDC_BTN_JIAO,m_btnJiao); DDX_Control(pDX, IDC_BTN_FEN,m_btnFen); DDX_Control(pDX, IDC_BTN_LI,m_btnLi); } BEGIN_MESSAGE_MAP(C3D, CDialog) ON_BN_CLICKED(IDC_BTN_MORE_RECORD, &C3D::OnBnClickedBtnMoreRecord) ON_BN_CLICKED(IDC_BTN_YUAN, &C3D::OnBnClickedBtnYuan) ON_BN_CLICKED(IDC_BTN_JIAO, &C3D::OnBnClickedBtnJiao) ON_BN_CLICKED( IDC_BTN_FEN, &C3D::OnBnClickedBtnFen) ON_BN_CLICKED(IDC_BTN_LI, &C3D::OnBnClickedBtnLi) ON_BN_CLICKED(IDC_BTN_3D_SXZHX, &C3D::OnBnClickedBtn3dSxzhx) ON_BN_CLICKED(IDC_BTN_3D_SXZX, &C3D::OnBnClickedBtn3dSxzx) ON_BN_CLICKED(IDC_BTN_3D_QYZHX, &C3D::OnBnClickedBtn3dQyzhx) ON_BN_CLICKED(IDC_BTN_3D_QEZHX, &C3D::OnBnClickedBtn3dQezhx) ON_BN_CLICKED(IDC_BTN_3D_SXBDW, &C3D::OnBnClickedBtn3dSxbdw) ON_BN_CLICKED(IDC_BTN_3D_HYZHX, &C3D::OnBnClickedBtn3dHyzhx) ON_BN_CLICKED(IDC_BTN_3D_HEZHX, &C3D::OnBnClickedBtn3dHezhx) ON_BN_CLICKED(IDC_BTN_3D_DWD, &C3D::OnBnClickedBtn3dDwd) ON_BN_CLICKED(IDC_BTN_3D_DWDXDS, &C3D::OnBnClickedBtn3dDxds) ON_BN_CLICKED(IDC_BTN_BAI_3D_QUAN, &C3D::OnBnClickedBtnBai3dQuan) ON_BN_CLICKED(IDC_BTN_BAI_3D_DA, &C3D::OnBnClickedBtnBai3dDa) ON_BN_CLICKED(IDC_BTN_BAI_3D_XIAO, &C3D::OnBnClickedBtnBai3dXiao) ON_BN_CLICKED(IDC_BTN_BAI_3D_DAN, &C3D::OnBnClickedBtnBai3dDan) ON_BN_CLICKED(IDC_BTN_BAI_3D_SHUANG, &C3D::OnBnClickedBtnBai3dShuang) ON_BN_CLICKED(IDC_BTN_BAI_3D_QING, &C3D::OnBnClickedBtnBai3dQing) ON_BN_CLICKED(IDC_BTN_SHI_3D_QUAN, &C3D::OnBnClickedBtnShi3dQuan) ON_BN_CLICKED(IDC_BTN_SHI_3D_DA, &C3D::OnBnClickedBtnShi3dDa) ON_BN_CLICKED(IDC_BTN_SHI_3D_XIAO, &C3D::OnBnClickedBtnShi3dXiao) ON_BN_CLICKED(IDC_BTN_SHI_3D_DAN, &C3D::OnBnClickedBtnShi3dDan) ON_BN_CLICKED(IDC_BTN_SHI_3D_SHUANG, &C3D::OnBnClickedBtnShi3dShuang) ON_BN_CLICKED(IDC_BTN_SHI_3D_QING, &C3D::OnBnClickedBtnShi3dQing) ON_BN_CLICKED(IDC_BTN_GE_3D_QUAN, &C3D::OnBnClickedBtnGe3dQuan) ON_BN_CLICKED(IDC_BTN_GE_3D_DA, &C3D::OnBnClickedBtnGe3dDa) ON_BN_CLICKED(IDC_BTN_GE_3D_XIAO, &C3D::OnBnClickedBtnGe3dXiao) ON_BN_CLICKED(IDC_BTN_GE_3D_DAN, &C3D::OnBnClickedBtnGe3dDan) ON_BN_CLICKED(IDC_BTN_GE_3D_SHUANG, &C3D::OnBnClickedBtnGe3dShuang) ON_BN_CLICKED(IDC_BTN_GE_3D_QING, &C3D::OnBnClickedBtnGe3dQing) ON_WM_PAINT() ON_WM_ERASEBKGND() ON_WM_SIZE() ON_BN_CLICKED(IDC_RIO_SXZHX_FUSHI, &C3D::OnBnClickedRioSxzhxFushi) ON_BN_CLICKED(IDC_RIO_SXZHX_DANSHI, &C3D::OnBnClickedRioSxzhxDanshi) ON_BN_CLICKED(IDC_RIO_HEZHX_FUSHI, &C3D::OnBnClickedRioHezhxFushi) ON_BN_CLICKED(IDC_RIO_HEZHX_DANSHI, &C3D::OnBnClickedRioHezhxDanshi) ON_BN_CLICKED(IDC_RIO_SXZS_FUSHI, &C3D::OnBnClickedRioSxzsFushi) ON_BN_CLICKED(IDC_RIO_SXZS_DANSHI, &C3D::OnBnClickedRioSxzsDanshi) ON_BN_CLICKED(IDC_RIO_SXZL_FUSHI, &C3D::OnBnClickedRioSxzlFushi) ON_BN_CLICKED(IDC_RIO_SXZL_DANSHI, &C3D::OnBnClickedRioSxzlDanshi) ON_BN_CLICKED(IDC_RIO_QYZHX, &C3D::OnBnClickedRioQyzhx) ON_BN_CLICKED(IDC_RIO_QEZHX_FUSHI, &C3D::OnBnClickedRioQezhxFushi) ON_BN_CLICKED(IDC_RIO_QEZHX_DANSHI, &C3D::OnBnClickedRioQezhxDanshi) ON_BN_CLICKED(IDC_RIO_SXBDW, &C3D::OnBnClickedRioSxbdw) ON_BN_CLICKED(IDC_RIO_HYZHX, &C3D::OnBnClickedRioHyzhx) ON_BN_CLICKED(IDC_RIO_DWD, &C3D::OnBnClickedRioDwd) ON_BN_CLICKED(IDC_RIO_DWDXDS, &C3D::OnBnClickedRioDwDxds) ON_BN_CLICKED(IDC_RIO_SXZHX_HEZHI, &C3D::OnBnClickedRioSxzhxHezhi) ON_BN_CLICKED(IDC_BTN_3D_ADD, &C3D::OnBnClickedBtn3dAdd) ON_WM_TIMER() ON_WM_SHOWWINDOW() ON_BN_CLICKED(IDC_BTN_DEL_SEL, &C3D::OnBnClickedBtnDelSel) ON_BN_CLICKED(IDC_BTN_CLS_LIST, &C3D::OnBnClickedBtnClsList) ON_BN_CLICKED(IDC_BTN_TOUZHU, &C3D::OnBnClickedBtnTouzhu) ON_BN_CLICKED(IDC_BTN_ZHUIHAO, &C3D::OnBnClickedBtnZhuihao) ON_EN_CHANGE(IDC_EDIT_BEISHU, &C3D::OnEnChangeEditBeishu) ON_EN_CHANGE(IDC_EDIT_DANSHI_HAOMA, &C3D::OnEnChangeEditDanshiInput) ON_BN_CLICKED(IDC_BTN_LOCK, &C3D::OnBnClickedBtnLock) ON_BN_CLICKED(IDC_BTN_BEITOU_JIA, &C3D::OnBnClickedBeiTouJia) ON_BN_CLICKED(IDC_BTN_BEITOU_JIAN, &C3D::OnBnClickedBeiTouJian) ON_MESSAGE( WM_BN_CLICK, &C3D::onBnCLick) ON_EN_CHANGE(IDC_RICHEDIT_DANSHI, &C3D::OnEnChangeRichEditDanshiInput) ON_COMMAND(ID_RBTN_CPY, &C3D::OnRichEditCopy) ON_WM_CTLCOLOR() END_MESSAGE_MAP() void C3D::OnRichEditCopy() { char *buffer = NULL; CString fromClipboard; if(OpenClipboard()) { HANDLE hData = GetClipboardData(CF_TEXT); buffer = (char*)GlobalLock(hData); fromClipboard = buffer; GlobalUnlock(hData); CloseClipboard(); } m_richDanshiHaoma.SetWindowText(fromClipboard); //MyMessageBox(fromClipboard); return; } // C3D 消息处理程序 void C3D::OnPaint() { CPaintDC dc(this); // device context for painting CRect rect; GetClientRect(&rect); CDC cacheDC; cacheDC.CreateCompatibleDC(&dc); CBitmap cacheBmp; cacheBmp.CreateCompatibleBitmap(&dc, rect.Width(), rect.Height()); CBitmap *pOldCacheBmp = cacheDC.SelectObject(&cacheBmp); Graphics graphics(cacheDC.m_hDC); graphics.DrawImage(m_bmpBk, Rect(0, 0, m_bmpBk->GetWidth(), m_bmpBk->GetHeight()), 0, 0, m_bmpBk->GetWidth(), m_bmpBk->GetHeight(), UnitPixel); //绘制开奖号 DrawLastKjHaoma(&cacheDC, graphics); DrawTopKjHaoma(&cacheDC, graphics); //绘制总注数和总金额 DrawZongZhushuJinE(&cacheDC); dc.BitBlt(0, 0, rect.Width(), rect.Height(), &cacheDC, 0, 0, SRCCOPY); cacheDC.SelectObject(pOldCacheBmp); cacheDC.DeleteDC(); cacheBmp.DeleteObject(); } BOOL C3D::OnEraseBkgnd(CDC* pDC) { return TRUE; } void C3D::OnSize(UINT nType, int cx, int cy) { CDialog::OnSize(nType, cx, cy); if (GetSafeHwnd() == NULL) { return; } AdjustWanFa(); AdjustRadio(); AdjustNumBtn(); AdjustNumView(); AdjustDanShi(); AdjustAdd(); } void C3D::OnBnClickedBtnYuan() { m_btnYuan.SetPushed(true); m_btnJiao.SetPushed(false); m_btnFen.SetPushed(false); m_btnLi.SetPushed(false); theAccount.Scoretype=MoShi_Yuan ; CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); rcInvali.CopyRect(rcAllZongzhushu); rcInvali.bottom += 20; InvalidateRect(&rcInvali); return; } void C3D::OnBnClickedBtnMoreRecord() { SendToServer(8); return; } void C3D::OnBnClickedBtnJiao() { m_btnYuan.SetPushed(false); m_btnJiao.SetPushed(true); m_btnFen.SetPushed(false); m_btnLi.SetPushed(false); theAccount.Scoretype=MoShi_Jiao ; CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); rcInvali.CopyRect(rcAllZongzhushu); rcInvali.bottom += 20; InvalidateRect(&rcInvali); return; } void C3D::OnBnClickedBtnFen() { m_btnYuan.SetPushed(false); m_btnJiao.SetPushed(false); m_btnFen.SetPushed(true); m_btnLi.SetPushed(false); theAccount.Scoretype=MoShi_Fen ; CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); rcInvali.CopyRect(rcAllZongzhushu); rcInvali.bottom += 20; InvalidateRect(&rcInvali); return; } void C3D::OnBnClickedBtnLi() { m_btnYuan.SetPushed(false); m_btnJiao.SetPushed(false); m_btnFen.SetPushed(false); m_btnLi.SetPushed(true); theAccount.Scoretype=MoShi_Li ; CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); rcInvali.CopyRect(rcAllZongzhushu); rcInvali.bottom += 20; InvalidateRect(&rcInvali); return; } void C3D::OnTimer(UINT_PTR nIDEvent) { if(timer_id_get_luck_num == nIDEvent) { LuckyNumCQSSC(); } else if (timer_id_kj_yugao == nIDEvent) { CRect rcRect; rcRect.CopyRect(rcYuGao); //rcRect.right += 80; rcRect.bottom += 50; InvalidateRect(&rcRect); } else if(TimerJiShi == nIDEvent) { DWORD newCount = ::GetTickCount(); int i = 0; while (newCount - theBeginCount > 1000) { theTimeCS.Lock(); theTime += CTimeSpan(0, 0, 0, 1); theTimeCS.Unlock(); newCount -= 1000; i ++; } theBeginCount += i * 1000; } else if(timer_id_kaijiangzhong == nIDEvent) { //处理开奖GIF动画 int nTimeLeft = GetKjShjDiff(); if(m_bKaiJiangzhong ) { CDC* pDC = GetDC(); if(pDC==NULL) return; //for(int n=0; n<m_nFrameCount; n++) { int nLeft=kj_big_haoma_x -15/*+ n *( m_bigNumWidth+8)*/; CMemDC mDC(pDC, CRect(nLeft, kj_big_haoma_y, nLeft+m_imgKaijiang->GetWidth(), kj_big_haoma_y+m_imgKaijiang->GetHeight())); Graphics gh(mDC.m_hDC); gh.DrawImage(m_imgKaijiang, nLeft, kj_big_haoma_y, m_imgKaijiang->GetWidth(), m_imgKaijiang->GetHeight()); } GUID Guid = FrameDimensionTime; m_imgKaijiang->SelectActiveFrame(&Guid, m_nFrameIndex++); if(m_nFrameIndex == m_nFrameCount) m_nFrameIndex=0; ReleaseDC(pDC); } else KillTimer(timer_id_kaijiangzhong); } CDialog::OnTimer(nIDEvent); } void C3D::OnShowWindow(BOOL bShow, UINT nStatus) { CDialog::OnShowWindow(bShow, nStatus); if(bShow) { if(theAccount.user_id <=0) return; m_btnYuan.SetPushed(false); m_btnJiao.SetPushed(false); m_btnFen.SetPushed(false); m_btnLi.SetPushed(false); if(theAccount.Scoretype==MoShi_Yuan ) { m_btnYuan.SetPushed(true); } else if(theAccount.Scoretype == MoShi_Jiao) { m_btnJiao.SetPushed(true); } else if(theAccount.Scoretype == MoShi_Fen) { m_btnFen.SetPushed(true); } else if(theAccount.Scoretype == MoShi_Li) { m_btnLi.SetPushed(true); } SendToServer(6); OnBnClickedBtn3dSxzhx(); SetTimer(timer_id_kaijiangzhong, 100, NULL); } else { KillTimer(timer_id_kaijiangzhong); m_DlgOpenRecord.ShowWindow(SW_HIDE); } } HBRUSH C3D::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { if (nCtlColor == CTLCOLOR_EDIT && pWnd->GetDlgCtrlID() == IDC_EDIT_DANSHI_HAOMA) { pDC->SetBkMode(TRANSPARENT); HBRUSH B = CreateSolidBrush(RGB(180, 218, 237)); return (HBRUSH) B; } HBRUSH hBrush=NULL; if (pWnd->GetDlgCtrlID() == IDC_RICHEDIT_DANSHI) { pDC->SetBkMode(TRANSPARENT); pDC->SetTextColor(RGB(88, 78, 77)); if(hBrush) { DeleteObject(hBrush); hBrush = CreateSolidBrush(RGB(61,47,42)); } else { hBrush = CreateSolidBrush(RGB(61,47,42)); } return hBrush; } return CDialog::OnCtlColor(pDC, pWnd, nCtlColor); } //三星直选 void C3D::OnBnClickedBtn3dSxzhx() { CheckWanFaBtn(m_btnSanXingZhiXuan); HideAllRio(); ShowCtrl(IDC_RIO_SXZHX_FUSHI); ShowCtrl(IDC_RIO_SXZHX_DANSHI); OnBnClickedRioSxzhxFushi(); } //三星组选 void C3D::OnBnClickedBtn3dSxzx() { CheckWanFaBtn(m_btnSanXingZuXuan); HideAllRio(); ShowCtrl(IDC_RIO_SXZS_FUSHI); ShowCtrl(IDC_RIO_SXZS_DANSHI); ShowCtrl(IDC_RIO_SXZL_FUSHI); ShowCtrl(IDC_RIO_SXZL_DANSHI); OnBnClickedRioSxzsFushi(); } //前一直选 void C3D::OnBnClickedBtn3dQyzhx() { m_gameKind = enWF_QianyizhixuanFushi; CheckWanFaBtn(m_btnQianYiZhiXuan); HideAllRio(); ShowCtrl(IDC_RIO_QYZHX); OnBnClickedRioQyzhx(); } //前二直选 void C3D::OnBnClickedBtn3dQezhx() { CheckWanFaBtn(m_btnQianErZhiXuan); HideAllRio(); ShowCtrl(IDC_RIO_QEZHX_DANSHI); ShowCtrl(IDC_RIO_QEZHX_FUSHI); OnBnClickedRioQezhxFushi(); } //三星不定位 void C3D::OnBnClickedBtn3dSxbdw() { m_gameKind = enWF_Budingwei; CheckWanFaBtn(m_btnSanXingBuDingWei); HideAllRio(); ShowCtrl(IDC_RIO_SXBDW); OnBnClickedRioSxbdw(); } //后一直选 void C3D::OnBnClickedBtn3dHyzhx() { m_gameKind = enWF_HouyizhixuanFushi; CheckWanFaBtn(m_btnHouYiZhiXuan); HideAllRio(); ShowCtrl(IDC_RIO_HYZHX); OnBnClickedRioHyzhx(); } //后二直选 void C3D::OnBnClickedBtn3dHezhx() { CheckWanFaBtn(m_btnHouErZhiXuan); HideAllRio(); ShowCtrl(IDC_RIO_HEZHX_DANSHI); ShowCtrl(IDC_RIO_HEZHX_FUSHI); OnBnClickedRioHezhxFushi(); } //定位胆 void C3D::OnBnClickedBtn3dDwd() { CheckWanFaBtn(m_btnDingWeiDan); HideAllRio(); ShowCtrl(IDC_RIO_DWD); OnBnClickedRioDwd(); } //大小单双 void C3D::OnBnClickedBtn3dDxds() { CheckWanFaBtn(m_btnDaXiaoDanShuang); HideAllRio(); ShowCtrl(IDC_RIO_DWDXDS); OnBnClickedRioDwDxds(); } void C3D::OnBnClickedBtnBai3dQuan() { CheckNumBtn(m_btn3DBai0); CheckNumBtn(m_btn3DBai1); CheckNumBtn(m_btn3DBai2); CheckNumBtn(m_btn3DBai3); CheckNumBtn(m_btn3DBai4); CheckNumBtn(m_btn3DBai5); CheckNumBtn(m_btn3DBai6); CheckNumBtn(m_btn3DBai7); CheckNumBtn(m_btn3DBai8); CheckNumBtn(m_btn3DBai9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnBai3dDa() { UnCheckNumBtn(m_btn3DBai0); UnCheckNumBtn(m_btn3DBai1); UnCheckNumBtn(m_btn3DBai2); UnCheckNumBtn(m_btn3DBai3); UnCheckNumBtn(m_btn3DBai4); CheckNumBtn(m_btn3DBai5); CheckNumBtn(m_btn3DBai6); CheckNumBtn(m_btn3DBai7); CheckNumBtn(m_btn3DBai8); CheckNumBtn(m_btn3DBai9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnBai3dXiao() { CheckNumBtn(m_btn3DBai0); CheckNumBtn(m_btn3DBai1); CheckNumBtn(m_btn3DBai2); CheckNumBtn(m_btn3DBai3); CheckNumBtn(m_btn3DBai4); UnCheckNumBtn(m_btn3DBai5); UnCheckNumBtn(m_btn3DBai6); UnCheckNumBtn(m_btn3DBai7); UnCheckNumBtn(m_btn3DBai8); UnCheckNumBtn(m_btn3DBai9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnBai3dDan() { UnCheckNumBtn(m_btn3DBai0); CheckNumBtn(m_btn3DBai1); UnCheckNumBtn(m_btn3DBai2); CheckNumBtn(m_btn3DBai3); UnCheckNumBtn(m_btn3DBai4); CheckNumBtn(m_btn3DBai5); UnCheckNumBtn(m_btn3DBai6); CheckNumBtn(m_btn3DBai7); UnCheckNumBtn(m_btn3DBai8); CheckNumBtn(m_btn3DBai9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnBai3dShuang() { CheckNumBtn(m_btn3DBai0); UnCheckNumBtn(m_btn3DBai1); CheckNumBtn(m_btn3DBai2); UnCheckNumBtn(m_btn3DBai3); CheckNumBtn(m_btn3DBai4); UnCheckNumBtn(m_btn3DBai5); CheckNumBtn(m_btn3DBai6); UnCheckNumBtn(m_btn3DBai7); CheckNumBtn(m_btn3DBai8); UnCheckNumBtn(m_btn3DBai9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnBai3dQing() { UnCheckNumBtn(m_btn3DBai0); UnCheckNumBtn(m_btn3DBai1); UnCheckNumBtn(m_btn3DBai2); UnCheckNumBtn(m_btn3DBai3); UnCheckNumBtn(m_btn3DBai4); UnCheckNumBtn(m_btn3DBai5); UnCheckNumBtn(m_btn3DBai6); UnCheckNumBtn(m_btn3DBai7); UnCheckNumBtn(m_btn3DBai8); UnCheckNumBtn(m_btn3DBai9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnShi3dQuan() { CheckNumBtn(m_btn3DShi0); CheckNumBtn(m_btn3DShi1); CheckNumBtn(m_btn3DShi2); CheckNumBtn(m_btn3DShi3); CheckNumBtn(m_btn3DShi4); CheckNumBtn(m_btn3DShi5); CheckNumBtn(m_btn3DShi6); CheckNumBtn(m_btn3DShi7); CheckNumBtn(m_btn3DShi8); CheckNumBtn(m_btn3DShi9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnShi3dDa() { UnCheckNumBtn(m_btn3DShi0); UnCheckNumBtn(m_btn3DShi1); UnCheckNumBtn(m_btn3DShi2); UnCheckNumBtn(m_btn3DShi3); UnCheckNumBtn(m_btn3DShi4); CheckNumBtn(m_btn3DShi5); CheckNumBtn(m_btn3DShi6); CheckNumBtn(m_btn3DShi7); CheckNumBtn(m_btn3DShi8); CheckNumBtn(m_btn3DShi9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnShi3dXiao() { CheckNumBtn(m_btn3DShi0); CheckNumBtn(m_btn3DShi1); CheckNumBtn(m_btn3DShi2); CheckNumBtn(m_btn3DShi3); CheckNumBtn(m_btn3DShi4); UnCheckNumBtn(m_btn3DShi5); UnCheckNumBtn(m_btn3DShi6); UnCheckNumBtn(m_btn3DShi7); UnCheckNumBtn(m_btn3DShi8); UnCheckNumBtn(m_btn3DShi9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnShi3dDan() { UnCheckNumBtn(m_btn3DShi0); CheckNumBtn(m_btn3DShi1); UnCheckNumBtn(m_btn3DShi2); CheckNumBtn(m_btn3DShi3); UnCheckNumBtn(m_btn3DShi4); CheckNumBtn(m_btn3DShi5); UnCheckNumBtn(m_btn3DShi6); CheckNumBtn(m_btn3DShi7); UnCheckNumBtn(m_btn3DShi8); CheckNumBtn(m_btn3DShi9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnShi3dShuang() { CheckNumBtn(m_btn3DShi0); UnCheckNumBtn(m_btn3DShi1); CheckNumBtn(m_btn3DShi2); UnCheckNumBtn(m_btn3DShi3); CheckNumBtn(m_btn3DShi4); UnCheckNumBtn(m_btn3DShi5); CheckNumBtn(m_btn3DShi6); UnCheckNumBtn(m_btn3DShi7); CheckNumBtn(m_btn3DShi8); UnCheckNumBtn(m_btn3DShi9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnShi3dQing() { UnCheckNumBtn(m_btn3DShi0); UnCheckNumBtn(m_btn3DShi1); UnCheckNumBtn(m_btn3DShi2); UnCheckNumBtn(m_btn3DShi3); UnCheckNumBtn(m_btn3DShi4); UnCheckNumBtn(m_btn3DShi5); UnCheckNumBtn(m_btn3DShi6); UnCheckNumBtn(m_btn3DShi7); UnCheckNumBtn(m_btn3DShi8); UnCheckNumBtn(m_btn3DShi9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnGe3dQuan() { CheckNumBtn(m_btn3DGe0); CheckNumBtn(m_btn3DGe1); CheckNumBtn(m_btn3DGe2); CheckNumBtn(m_btn3DGe3); CheckNumBtn(m_btn3DGe4); CheckNumBtn(m_btn3DGe5); CheckNumBtn(m_btn3DGe6); CheckNumBtn(m_btn3DGe7); CheckNumBtn(m_btn3DGe8); CheckNumBtn(m_btn3DGe9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnGe3dDa() { UnCheckNumBtn(m_btn3DGe0); UnCheckNumBtn(m_btn3DGe1); UnCheckNumBtn(m_btn3DGe2); UnCheckNumBtn(m_btn3DGe3); UnCheckNumBtn(m_btn3DGe4); CheckNumBtn(m_btn3DGe5); CheckNumBtn(m_btn3DGe6); CheckNumBtn(m_btn3DGe7); CheckNumBtn(m_btn3DGe8); CheckNumBtn(m_btn3DGe9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnGe3dXiao() { CheckNumBtn(m_btn3DGe0); CheckNumBtn(m_btn3DGe1); CheckNumBtn(m_btn3DGe2); CheckNumBtn(m_btn3DGe3); CheckNumBtn(m_btn3DGe4); UnCheckNumBtn(m_btn3DGe5); UnCheckNumBtn(m_btn3DGe6); UnCheckNumBtn(m_btn3DGe7); UnCheckNumBtn(m_btn3DGe8); UnCheckNumBtn(m_btn3DGe9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnGe3dDan() { UnCheckNumBtn(m_btn3DGe0); CheckNumBtn(m_btn3DGe1); UnCheckNumBtn(m_btn3DGe2); CheckNumBtn(m_btn3DGe3); UnCheckNumBtn(m_btn3DGe4); CheckNumBtn(m_btn3DGe5); UnCheckNumBtn(m_btn3DGe6); CheckNumBtn(m_btn3DGe7); UnCheckNumBtn(m_btn3DGe8); CheckNumBtn(m_btn3DGe9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnGe3dShuang() { CheckNumBtn(m_btn3DGe0); UnCheckNumBtn(m_btn3DGe1); CheckNumBtn(m_btn3DGe2); UnCheckNumBtn(m_btn3DGe3); CheckNumBtn(m_btn3DGe4); UnCheckNumBtn(m_btn3DGe5); CheckNumBtn(m_btn3DGe6); UnCheckNumBtn(m_btn3DGe7); CheckNumBtn(m_btn3DGe8); UnCheckNumBtn(m_btn3DGe9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedBtnGe3dQing() { UnCheckNumBtn(m_btn3DGe0); UnCheckNumBtn(m_btn3DGe1); UnCheckNumBtn(m_btn3DGe2); UnCheckNumBtn(m_btn3DGe3); UnCheckNumBtn(m_btn3DGe4); UnCheckNumBtn(m_btn3DGe5); UnCheckNumBtn(m_btn3DGe6); UnCheckNumBtn(m_btn3DGe7); UnCheckNumBtn(m_btn3DGe8); UnCheckNumBtn(m_btn3DGe9); Get3dZhushu(CZ3D,m_gameKind); } void C3D::OnBnClickedRioSxzhxFushi() { ResetAllNums(); m_gameKind = enWF_ZhixuanFushi; SetLockText(); m_rioSxzhxFuShi.SetPushed(true); m_rioSxzhxDanShi.SetPushed(false); HideDanShiEdit(); HideDaXiaoDanShuang(); ShowBaiNums(); ShowShiNums(); ShowGeNums(); } void C3D::OnBnClickedRioSxzhxDanshi() { ResetAllNums(); m_gameKind = enWF_ZhixuanDanshi; SetLockText(); m_rioSxzhxFuShi.SetPushed(false); m_rioSxzhxDanShi.SetPushed(true); ShowDanShiEdit(); HideDaXiaoDanShuang(); HideBaiNums(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioHezhxFushi() { ResetAllNums(); m_gameKind = enWF_HouerzhixuanFushi; HideDaXiaoDanShuang(); SetLockText(); m_rioHeZhxFuShi.SetPushed(true); m_rioHeZhxDanShi.SetPushed(false); HideDanShiEdit(); HideBaiNums(); ShowShiNums(); ShowGeNums(); } void C3D::OnBnClickedRioHezhxDanshi() { ResetAllNums(); m_gameKind = enWF_HouerzhixuanDanshi; HideDaXiaoDanShuang(); SetLockText(); m_rioHeZhxFuShi.SetPushed(false); m_rioHeZhxDanShi.SetPushed(true); ShowDanShiEdit(); HideBaiNums(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioSxzsFushi() { ResetAllNums(); m_gameKind = enWF_QiansanzusanFushi; HideDaXiaoDanShuang(); SetLockText(); m_rioSxzsFuShi.SetPushed(true); m_rioSxzsDanShi.SetPushed(false); m_rioSxzlFuShi.SetPushed(false); m_rioSxzlDanShi.SetPushed(false); HideDanShiEdit(); ShowBaiNums(); ShowZuXuan(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioSxzsDanshi() { ResetAllNums(); m_gameKind = enWF_QiansanzusanDanshi; HideDaXiaoDanShuang(); SetLockText(); m_rioSxzsFuShi.SetPushed(false); m_rioSxzsDanShi.SetPushed(true); m_rioSxzlFuShi.SetPushed(false); m_rioSxzlDanShi.SetPushed(false); ShowDanShiEdit(); HideBaiNums(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioSxzlFushi() { ResetAllNums(); m_gameKind = enWF_QiansanzuliuFushi; SetLockText(); HideDaXiaoDanShuang(); m_rioSxzsFuShi.SetPushed(false); m_rioSxzsDanShi.SetPushed(false); m_rioSxzlFuShi.SetPushed(true); m_rioSxzlDanShi.SetPushed(false); HideDanShiEdit(); ShowBaiNums(); ShowZuXuan(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioSxzlDanshi() { ResetAllNums(); m_gameKind = enWF_QiansanzuliuDanshi; SetLockText(); HideDaXiaoDanShuang(); m_rioSxzsFuShi.SetPushed(false); m_rioSxzsDanShi.SetPushed(false); m_rioSxzlFuShi.SetPushed(false); m_rioSxzlDanShi.SetPushed(true); ShowDanShiEdit(); HideBaiNums(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioQyzhx() { ResetAllNums(); m_gameKind = enWF_QianyizhixuanFushi; SetLockText(); HideDaXiaoDanShuang(); m_rioQyZhx.SetPushed(true); HideDanShiEdit(); ShowBaiNums(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioQezhxFushi() { ResetAllNums(); m_gameKind = enWF_QianerzhixuanFushi; SetLockText(); HideDaXiaoDanShuang(); m_rioQeZhxFuShi.SetPushed(true); m_rioQeZhxDanShi.SetPushed(false); HideDanShiEdit(); ShowBaiNums(); ShowShiNums(); HideGeNums(); } void C3D::OnBnClickedRioQezhxDanshi() { ResetAllNums(); m_gameKind = enWF_QianerzhixuanDanshi; SetLockText(); HideDaXiaoDanShuang(); m_rioQeZhxFuShi.SetPushed(false); m_rioQeZhxDanShi.SetPushed(true); ShowDanShiEdit(); HideBaiNums(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioSxbdw() { ResetAllNums(); m_gameKind = enWF_Budingwei; HideDaXiaoDanShuang(); SetLockText(); m_rioSxbdw.SetPushed(true); HideDanShiEdit(); ShowBaiNums(); ShowBuDingWei(); HideShiNums(); HideGeNums(); } void C3D::OnBnClickedRioHyzhx() { ResetAllNums(); m_gameKind = enWF_HouyizhixuanFushi; HideDaXiaoDanShuang(); SetLockText(); m_rioHyzhx.SetPushed(true); HideDanShiEdit(); HideBaiNums(); HideShiNums(); ShowGeNums(); } void C3D::OnBnClickedRioDwd() { ResetAllNums(); m_gameKind = enWF_DingWeiDan; HideDaXiaoDanShuang(); SetLockText(); m_rioDwd.SetPushed(true); HideDanShiEdit(); ShowBaiNums(); ShowShiNums(); ShowGeNums(); } //定位大小单双 void C3D::OnBnClickedRioDwDxds() { ResetAllNums(); m_gameKind = enWF_DaxiaoDanshuang; SetLockText(); m_rioDwDxds.SetPushed(true); HideDanShiEdit(); HideBaiNums(); HideShiNums(); HideGeNums(); ShowDaXiaoDanShuang(); } void C3D::OnBnClickedRioSxzhxHezhi() { // ResetAllNums(); // // m_wanfa = SanXingZhiXuanHeZhi; // // m_rioSxzhxHeZhi.SetPushed(true); // // HideDanShiEdit(); // // HideBaiNums(); // HideShiNums(); // HideGeNums(); } //服务器端返回前N个开奖号码 bool C3D::GetTopLuckyNumber(CMD_GP_QueryLotResult* pResult, int nIndex) { _tcscpy_s(m_kjXinxi[nIndex].qihao, KJ_QIHAO_LENGTH, pResult->wPeriod); _tcscpy_s(m_kjXinxi[nIndex].haoma, KJ_HAOMA_LENGTH, pResult->szLotNum); _tcscpy_s(m_kjXinxi[nIndex].shijian, KJ_SHIJIAN_LENGTH, pResult->szShijian); if(nIndex+1 < TOP_KAIJIANG_NUMBERS) { if(nIndex>1) return true; if(m_bKaiJiangzhong) { CRect rcCnt; rcCnt.left = rcRedraw.left+200; rcCnt.right = rcRedraw.right; rcCnt.top = rcRedraw.top; rcCnt.bottom = rcRedraw.bottom; RedrawWindow(&rcCnt,NULL,RDW_INVALIDATE|RDW_ERASE|RDW_UPDATENOW|RDW_ERASENOW); } else { RedrawWindow(&rcRedraw,NULL,RDW_INVALIDATE|RDW_ERASE|RDW_UPDATENOW|RDW_ERASENOW); } return true; } m_kjXinxiCont = TOP_KAIJIANG_NUMBERS; if(!IsWindowVisible()) return false; if (_tcscmp(m_lastExpect, m_kjXinxi[0].qihao) != 0) { //第一次进入 if(m_lastExpect[0] == 0) _tcscpy_s(m_lastExpect, KJ_HAOMA_LENGTH, m_kjXinxi[0].qihao); m_bKaiJiangzhong=false; //开奖结束 KillTimer(timer_id_kaijiangzhong); } if(m_bKaiJiangzhong) { CRect rcCnt; rcCnt.left = rcRedraw.left+200; rcCnt.right = rcRedraw.right; rcCnt.top = rcRedraw.top; rcCnt.bottom = rcRedraw.bottom; RedrawWindow(&rcCnt,NULL,RDW_INVALIDATE|RDW_ERASE|RDW_UPDATENOW|RDW_ERASENOW); } else { RedrawWindow(&rcRedraw,NULL,RDW_INVALIDATE|RDW_ERASE|RDW_UPDATENOW|RDW_ERASENOW); } return true; } void C3D::OnBnClickedBtn3dAdd() { CString strBai = GetBaiString(); CString strShi = GetShiString(); CString strGe = GetGeString(); CString strHaoMa; int zhushu = 0; m_singlezhushu = 0; if(enWF_ZhixuanFushi == m_gameKind) //三星直选复式 { if(strBai.IsEmpty() || strShi.IsEmpty() || strGe.IsEmpty()) { MyMessageBox(_T("请选择合适的号码")); return; } strHaoMa = strBai + _T(",") + strShi + _T(",") + strGe; zhushu = strBai.GetLength() * strShi.GetLength() * strGe.GetLength(); if(zhushu > 800) { MyMessageBox(_T("你选择的号码超过限制注数800注,请重新输入!")); return; } } else if (enWF_ZhixuanDanshi == m_gameKind) //三星直选dan式 { if (!GetDanShiHaoma(strHaoMa, 3, zhushu)) { MyMessageBox(_T("请填写合适的号码")); return; } if(zhushu > 800) { MyMessageBox(_T("你选择的号码超过限制注数800注,请重新输入!")); return; } } else if (enWF_DingWeiDan == m_gameKind) //定位胆 { if(strBai.IsEmpty() && strShi.IsEmpty() && strGe.IsEmpty()) { MyMessageBox(_T("请选择合适的号码")); return; } strHaoMa = strBai + _T(",") +strShi + _T(",") + strGe; zhushu = strBai.GetLength() + strShi.GetLength() + strGe.GetLength(); if(zhushu > 24) { MyMessageBox(_T("你选择的号码超过限制注数24注,请重新输入!")); return; } } else if (enWF_QiansanzusanFushi == m_gameKind) //三星组三复式 { if (strBai.GetLength() < 2) { MyMessageBox(_T("请填写合适的号码")); return; } strHaoMa = strBai; zhushu = strBai.GetLength() * (strBai.GetLength() - 1); } else if (enWF_QiansanzusanDanshi == m_gameKind) //三星组三单式 { if (!GetZuSanHaoma(strHaoMa, zhushu)) { MyMessageBox(_T("请选择合适的号码")); return; } } else if (enWF_QiansanzuliuFushi == m_gameKind) //三星组六复式 { if (strBai.GetLength() < 3) { MyMessageBox(_T("请填写合适的号码")); return; } strHaoMa = strBai; zhushu = strBai.GetLength() * (strBai.GetLength() - 1) * (strBai.GetLength() - 2) / 6; } else if (enWF_QiansanzuliuDanshi == m_gameKind) //三星组六单式 { if (!GetDanShiHaoma(strHaoMa, 3, zhushu)) { MyMessageBox(_T("请选择合适的号码")); return; } } else if (enWF_QianyizhixuanFushi == m_gameKind) //前一直选 { if (strBai.IsEmpty()) { MyMessageBox(_T("请填写合适的号码")); return; } strHaoMa = strBai; zhushu = strBai.GetLength(); if(zhushu > 8) { MyMessageBox(_T("你选择的号码超过限制注数8注,请重新输入!")); return; } } else if (enWF_QianerzhixuanFushi == m_gameKind) //前二直选复式 { if(strBai.IsEmpty() || strShi.IsEmpty()) { MyMessageBox(_T("请选择合适的号码")); return; } strHaoMa = strBai + _T(",") + strShi; zhushu = strBai.GetLength() * strShi.GetLength(); if(zhushu > 80) { MyMessageBox(_T("你选择的号码超过限制注数80注,请重新输入!")); return; } } else if (enWF_QianerzhixuanDanshi == m_gameKind) //前二直选单式 { if (!GetDanShiHaoma(strHaoMa, 2, zhushu)) { MyMessageBox(_T("请选择合适的号码")); return; } if(zhushu > 80) { MyMessageBox(_T("你选择的号码超过限制注数80注,请重新输入!")); return; } } else if (enWF_Budingwei == m_gameKind) //三星不定位 { if(strBai.IsEmpty()) { MyMessageBox(_T("请选择合适的号码")); return; } int nLength = strBai.GetLength(); for (int i = 0;i < nLength;i++) { strHaoMa+=strBai.GetAt(i); if(i!=nLength-1) { strHaoMa+=_T(","); } } zhushu = nLength; } else if (enWF_HouyizhixuanFushi == m_gameKind) //后一直选 { if (strGe.IsEmpty()) { MyMessageBox(_T("请填写合适的号码")); return; } strHaoMa = strGe; zhushu = strGe.GetLength(); if(zhushu > 8) { MyMessageBox(_T("你选择的号码超过限制注数8注,请重新输入!")); return; } } else if (enWF_HouerzhixuanFushi == m_gameKind) //后二直选复式 { if(strShi.IsEmpty() || strGe.IsEmpty()) { MyMessageBox(_T("请选择合适的号码")); return; } strHaoMa = strShi + _T(",") + strGe; zhushu = strShi.GetLength() * strGe.GetLength(); if(zhushu > 80) { MyMessageBox(_T("你选择的号码超过限制注数80注,请重新输入!")); return; } } else if (enWF_HouerzhixuanDanshi == m_gameKind) //后二直选单式 { if (!GetDanShiHaoma(strHaoMa, 2, zhushu)) { MyMessageBox(_T("请选择合适的号码")); return; } if(zhushu > 80) { MyMessageBox(_T("你选择的号码超过限制注数80注,请重新输入!")); return; } } else if(enWF_DaxiaoDanshuang == m_gameKind) { CString strBaiDXDS = GetBaiDxdshString(); CString strShiDXDS = GetShiDxdshString(); CString strGeDXDS = GetGeDxdshString(); int nBaiLength = strBaiDXDS.GetLength(); int nShiLength = strShiDXDS.GetLength(); int nGeLength = strGeDXDS.GetLength(); if(strBaiDXDS.IsEmpty()&& strShiDXDS.IsEmpty() && strGeDXDS.IsEmpty()) { MyMessageBox(_T("请选择合适的号码")); return; } if(nBaiLength>1||nShiLength>1||nGeLength>1) { MyMessageBox(_T("大小单双每位最多只能选择一个号码")); return; } strHaoMa = strBaiDXDS + _T(",") + strShiDXDS + _T(",") + strGeDXDS; zhushu = nBaiLength + nShiLength + nGeLength; } // else if (SanXingZhiXuanHeZhi) //三星之选和值 // { // // } UpdateData(); wstring strdata; strdata = strHaoMa.GetBuffer(0); //vecAllNums.insert(vecAllNums.begin(),1,strdata); vecAllNums.insert(vecAllNums.begin(),1,strdata); int nCount = m_list3D.GetItemCount(); if(enWF_DaxiaoDanshuang == m_gameKind) { CString strAddHaoma; int nAddLength = strHaoMa.GetLength(); int nAddIndex = 0; do { CString strAdd; if(!AfxExtractSubString(strAdd, strHaoMa, nAddIndex++, ',')) break; if(nAddIndex!=1) { strAddHaoma += _T(","); } int nNum = _ttoi(strAdd); CString strDesc = GetDxdshStringDesc(nNum); strAddHaoma += strDesc; } while (nAddIndex<1000); m_list3D.InsertItem(nCount, strAddHaoma); } else m_list3D.InsertItem(nCount, strHaoMa); m_list3D.SetItemText(nCount, 1, GetScoreMoshi()); double danzhujine = 2.0; if(theAccount.Scoretype == MoShi_Yuan) { danzhujine = 2.0; } else if (theAccount.Scoretype == MoShi_Jiao) { danzhujine = 0.2; } else if(theAccount.Scoretype == MoShi_Fen) { danzhujine = 0.02; } else if(theAccount.Scoretype == MoShi_Li) danzhujine = 0.002; DOUBLE fJine = 0.0f; fJine = zhushu*m_beishu*danzhujine; CString strZongzhu ; strZongzhu.Format(L"¥%.3lf",fJine); m_list3D.SetItemText(nCount, 2, strZongzhu); m_list3D.SetItemText(nCount, 3, GetWanDesc()); CString strTmp; strTmp.Format(_T("%d"), zhushu); m_list3D.SetItemText(nCount, 4, strTmp); strTmp.Format(_T("%d"), m_beishu); m_list3D.SetItemText(nCount, 5, strTmp); m_list3D.createItemButton(nCount, 6, this->GetSafeHwnd()); //strTmp.Format(_T("%d"), m_beishu); //m_list3D.SetItemText(0, 3, strTmp); //strTmp.Format(_T("%d"), 2 * zhushu * m_beishu); //m_list3D.SetItemText(0, 4, strTmp); m_zongZhuShu += zhushu; //m_zongJinE += (2 * zhushu * m_beishu); int nItemCount = m_list3D.GetItemCount(); m_zongJine = 0.00f; for(int i = 0;i < nItemCount;i++) { CString strBeiSHu = m_list3D.GetItemText(i,5); CString strZhuSHu = m_list3D.GetItemText(i,4); CString strMoshi = m_list3D.GetItemText(i,1); int beishu = _ttoi(strBeiSHu); int zhushu = _ttoi(strZhuSHu); int nScoreType = GetMoshiRet(strMoshi); double danzhujine = 2.0; if(nScoreType == MoShi_Yuan) { danzhujine = 2.0; } else if (nScoreType == MoShi_Jiao) { danzhujine = 0.2; } else if(nScoreType == MoShi_Fen) { danzhujine = 0.02; } else if(nScoreType == MoShi_Li) danzhujine = 0.002; m_zongJine += zhushu*beishu*danzhujine; } CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); rcInvali.CopyRect(rcAllZongzhushu); rcInvali.bottom += 20; InvalidateRect(&rcInvali); ResetAllNums(); // m_DlgStatus.HideStatusWindow(); } CString C3D::GetScoreMoshi() { if(theAccount.Scoretype == MoShi_Yuan) { return _T("元"); } else if(theAccount.Scoretype == MoShi_Jiao) { return _T("角"); } else if(theAccount.Scoretype == MoShi_Fen) { return _T("分"); } else if(theAccount.Scoretype == MoShi_Li) { return _T("厘"); } return _T("元"); } int C3D::GetMoshiRet(CString moshi) { if(moshi == _T("元")) { return MoShi_Yuan; } else if(moshi == _T("角")) { return MoShi_Jiao; } else if(moshi == _T("分")) { return MoShi_Fen; } else if (moshi == _T("厘")) { return MoShi_Li; } return MoShi_Yuan; } void C3D::OnBnClickedBtnDelSel() { POSITION pos = m_list3D.GetFirstSelectedItemPosition(); if (pos != NULL) { int nItem = m_list3D.GetNextSelectedItem(pos); int zhushu = _ttoi(m_list3D.GetItemText(nItem, 4)); m_zongZhuShu -= zhushu; CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); if(vecAllNums.size() > 0) { vector<wstring>::iterator iter = vecAllNums.begin()+nItem; vecAllNums.erase(iter); } m_list3D.DeleteItem(nItem); } } void C3D::OnBnClickedBtnClsList() { m_richDanshiHaoma.SetWindowText(L""); m_zongZhuShu = 0; m_singlezhushu = 0; m_zongJine = 0; CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); rcInvali.CopyRect(rcAllZongzhushu); rcInvali.bottom += 20; InvalidateRect(&rcInvali); ResetAllNums(); m_list3D.deleteAllItemEx(); } void C3D::OnBnClickedBtnTouzhu() { if (_tcslen(m_lastExpect) == 0) { MyMessageBox(_T("正在获取数据……")); return; } CString strHao = m_list3D.GetItemText(0,0); if(strHao.IsEmpty()) { OnBnClickedBtn3dAdd(); } CString str; m_editBeiShu.GetWindowText(str); if (str.IsEmpty()) { MyMessageBox(_T("投注倍数不可为空")); return; } int itm_cnt = m_list3D.GetItemCount(); if (itm_cnt == 0 && vecAllNums.size()==0) { MyMessageBox(_T("您并未选择号码")); return; } //判断余额是否充足 if(theAccount.yue < m_zongJine) { MyMessageBox(_T("您余额不足,请充值后再试")); return; } //请用户确认信息 CQrTzhDlg qrDlg; qrDlg.m_gamekind = _T("3D彩"); qrDlg.m_zhushu = m_zongZhuShu * m_beishu; qrDlg.m_moshi = theAccount.Scoretype; qrDlg.m_zongjine = m_zongJine; if (qrDlg.DoModal() != IDOK) { return; } //判断是否临近开奖点 long kjing = GetKjShjDiff(); if (kjing < 0L) { MyMessageBox(_T("此期封单,请稍后再试")); return; } bool bSucc = true; SendToServer(1); OnBnClickedBtnClsList(); m_zongZhuShu = 0; CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); m_beishu = 1; UpdateData(FALSE); m_list3D.DeleteAllItems(); } void C3D::OnBnClickedBtnZhuihao() { int itm_cnt = m_list3D.GetItemCount(); if (itm_cnt<=0) { MyMessageBox(L"请添加投注号码!"); return; } CDlgAddtional dlgZhuiHao; double danzhujine = 2.0; if(theAccount.Scoretype == MoShi_Yuan) { danzhujine = 2.0; } else if (theAccount.Scoretype == MoShi_Jiao) { danzhujine = 0.2; } else if(theAccount.Scoretype == MoShi_Fen) { danzhujine = 0.02; } else if(theAccount.Scoretype == MoShi_Li) danzhujine = 0.002; CString strBeishu ; strBeishu.Format(L"%d",m_beishu); bool bRunNian = FALSE; CTime t; theApp.GetTime(t); if(t.GetYear()%4 == 0 && t.GetYear()%100!=0) { bRunNian = true; } else if(t.GetYear()%100 == 0 && t.GetYear()%400 == 0) { bRunNian = true; } int nMostQishu = 0; if(bRunNian) { nMostQishu = 359; } else { nMostQishu = 358; } if(m_bKaiJiangzhong) dlgZhuiHao.SetCurrentQihaoTime(GetNextExpect(), strBeishu,4,3,m_zongJine,nMostQishu,CZ3D); else dlgZhuiHao.SetCurrentQihaoTime( m_kjXinxi[0].qihao, strBeishu,4,3,m_zongJine,nMostQishu,CZ3D); if(dlgZhuiHao.DoModal() == IDOK) { //判断是否临近开奖点 long kjing = GetKjShjDiff(); if (kjing < 0L) { MyMessageBox(_T("此期封单,请稍后再试")); return; } m_nZhuihaoCount = dlgZhuiHao.GetZhuiHaoQiShu(); dlgZhuiHao.GetZhuiHaoData(vecData1, vecData2, vecData3); m_bZhuiZjtz = dlgZhuiHao.GetPrizeStop(); DOUBLE fZongJine = 0.0; for(int i = 0;i < m_nZhuihaoCount;i++) { int nBeishu = _ttoi(vecData1[i].c_str()); fZongJine += m_zongZhuShu*nBeishu*danzhujine; } if(fZongJine > theAccount.yue) { MyMessageBox(_T("您余额不足,请充值后再试")); } else SendToServer(4); } else return; //初始化参数 m_zongZhuShu = 0; m_beishu = 1; //UpdateData(FALSE); CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); OnBnClickedBtnClsList(); } void C3D::OnEnChangeEditDanshiInput() { // m_editDanShiHaoMa.RedrawWindow(NULL, NULL,RDW_INVALIDATE | RDW_ERASE ); m_richDanshiHaoma.RedrawWindow(NULL, NULL,RDW_INVALIDATE | RDW_ERASE ); } void C3D::OnEnChangeEditBeishu() { // TODO: 如果该控件是 RICHEDIT 控件,它将不 // 发送此通知,除非重写 CDialog::OnInitDialog() // 函数并调用 CRichEditCtrl().SetEventMask(), // 同时将 ENM_CHANGE 标志“或”运算到掩码中。 // TODO: 在此添加控件通知处理程序代码 CString str; m_editBeiShu.GetWindowText(str); if (!CBmpUtil::IsNumber(str) || (_ttoi(str) < 1)) { if (!str.IsEmpty()) { MyMessageBox(_T("投注倍数必须是一个正整数")); m_beishu = 1; UpdateData(FALSE); } } else { UpdateData(); CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); rcInvali.CopyRect(rcAllZongzhushu); rcInvali.bottom += 20; InvalidateRect(&rcInvali); } } BOOL C3D::OnInitDialog() { CDialog::OnInitDialog(); m_bmpBk = new Bitmap(CBmpUtil::GetExePath() + _T("skin\\game\\game_bk3.png")); m_numImageList = new Bitmap(CBmpUtil::GetExePath() + _T("skin\\game\\num.png")); m_bmpNumTip = new Bitmap(CBmpUtil::GetExePath() + _T("skin\\game\\digit.png")); m_kjNumBig = new Bitmap(CBmpUtil::GetExePath() + _T("skin\\game\\Num_big.png")); m_bigNumWidth = m_kjNumBig->GetWidth() / 10; m_bigNumHeight = m_kjNumBig->GetHeight(); m_kjNumSmall = new Bitmap(CBmpUtil::GetExePath() + _T("skin\\game\\Num_small.png")); m_smallNumWidth = m_kjNumSmall->GetWidth() / 10; m_smallNumHeight = m_kjNumSmall->GetHeight(); m_imgKaijiang = new Bitmap( CBmpUtil::GetExePath() + _T("skin\\game\\KaiJiang1.gif")); int nCount = m_imgKaijiang->GetFrameDimensionsCount(); //获取帧维数 GUID *pGuids = new GUID[nCount]; //定义一个GUID数组 m_imgKaijiang->GetFrameDimensionsList(pGuids,nCount); //获取图像帧的GUID m_nFrameCount=m_imgKaijiang->GetFrameCount(pGuids); //获取GIF帧数 InitWanFaBtns(); InitNumberBtns(); InitListCtrl(); m_bShowFail = true; ZeroMemory(m_szMD5Haoma,sizeof(m_szMD5Haoma)); m_smallNumfont.CreateFont(16, 0, 0, 0, FW_BOLD, 0, 0, 0, ANSI_CHARSET, OUT_DEFAULT_PRECIS, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, _T("微软雅黑")); m_zongFont.CreateFont(20, 0, 0, 0, FW_NORMAL, 0, 0, 0, ANSI_CHARSET, OUT_DEFAULT_PRECIS, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, _T("微软雅黑")); m_KjInfoFont1.CreateFont(20, 0, 0, 0, FW_BOLD, 0, 0, 0, ANSI_CHARSET, OUT_DEFAULT_PRECIS, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, _T("微软雅黑")); m_KjInfoFont.CreateFont(30, 0, 0, 0, FW_BOLD, 0, 0, 0, ANSI_CHARSET, OUT_DEFAULT_PRECIS, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, _T("微软雅黑")); m_btnYuan.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\game\\BT_USER_INFO_1.png")); m_btnJiao.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\game\\BT_USER_INFO_2.png")); m_btnFen.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\game\\BT_USER_INFO_3.png")); m_btnLi.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\game\\BT_USER_INFO_4.png")); m_btnDelSel.SetImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_delate.png")); m_btnClsList.SetImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_clear.png")); m_btnTouZhu.SetImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_bet.png")); m_btnZhuiHao.SetImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_append.png")); m_btn3DAdd.SetImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_addnum.png")); m_btnLock.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_lock.png")); m_btnMoreRecord.SetImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_more.png")); m_DlgOpenRecord.Create(COpenRecord::IDD,this); m_btnLock.SetTextColor(RGB(51, 45, 42)); m_btnLock.SetTextFont(&m_zongFont); m_richDanshiHaoma.LimitText(-1); m_richDanshiHaoma.SetBackgroundColor(false,RGB(200,200,200)); CHARFORMAT cf; ZeroMemory(&cf, sizeof(CHARFORMAT)); cf.cbSize = sizeof(CHARFORMAT); cf.dwMask = CFM_COLOR; cf.crTextColor = RGB(88, 78, 77); m_richDanshiHaoma.SetDefaultCharFormat(cf); m_editBeiShu.SetEnableColor(RGB(0,0,0),RGB(250,243,227),RGB(40,29,27)); m_editBeiShu.SetFont(&m_zongFont); m_btnBeiTouJia.SetImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_jia.png")); m_btnBeiTouJian.SetImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_jian.png")); m_richDanshiHaoma.SetEventMask(ENM_CHANGE); LuckyNumCQSSC(); m_ToolTipCtrl.Create(this); m_ToolTipCtrl.Activate(TRUE); m_ToolTipCtrl.SetMaxTipWidth(150); m_btWxzxTip.SetImage(CBmpUtil::GetExePath() + _T("skin\\bangzhu.png")); SetTimer(timer_id_get_luck_num, 10000, NULL); SetTimer(timer_id_kj_yugao, 1000, NULL); return TRUE; } void C3D::OnCancel() { //CDialog::OnCancel(); } void C3D::OnOK() { //CDialog::OnOK(); } void C3D::CheckNumBtn(CNumerButton& btn) { btn.SetSelect(true); } void C3D::UnCheckNumBtn(CNumerButton& btn) { btn.SetSelect(false); } bool C3D::IsNumBtnCheck(CNumerButton& btn) { return btn.IsSelect(); } void C3D::HideCtrl(int ctrl_id) { CWnd* pWnd = GetDlgItem(ctrl_id); if (pWnd != NULL) { pWnd->ShowWindow(SW_HIDE); } } void C3D::ShowCtrl(int ctrl_id) { CWnd* pWnd = GetDlgItem(ctrl_id); if (pWnd != NULL) { pWnd->ShowWindow(SW_SHOW); } } void C3D::HideAllRio() { HideCtrl(IDC_RIO_SXZHX_FUSHI); HideCtrl(IDC_RIO_SXZHX_DANSHI); HideCtrl(IDC_RIO_SXZS_FUSHI); HideCtrl(IDC_RIO_SXZS_DANSHI); HideCtrl(IDC_RIO_SXZL_FUSHI); HideCtrl(IDC_RIO_SXZL_DANSHI); HideCtrl(IDC_RIO_QYZHX); HideCtrl(IDC_RIO_QEZHX_FUSHI); HideCtrl(IDC_RIO_QEZHX_DANSHI); HideCtrl(IDC_RIO_SXBDW); HideCtrl(IDC_RIO_HYZHX); HideCtrl(IDC_RIO_DWD); HideCtrl(IDC_RIO_DWDXDS); HideCtrl(IDC_RIO_HEZHX_FUSHI); HideCtrl(IDC_RIO_HEZHX_DANSHI); HideCtrl(IDC_RIO_SXZHX_HEZHI); } void C3D::AdjustWanFa() { if (m_btnSanXingZhiXuan.GetSafeHwnd() != NULL) { m_btnSanXingZhiXuan.SetWindowPos(NULL, wanfa_x, wanfa_y, m_btnSanXingZhiXuan.Width(), m_btnSanXingZhiXuan.Height(), SWP_NOZORDER); } if (m_btnSanXingZuXuan.GetSafeHwnd() != NULL) { m_btnSanXingZuXuan.SetWindowPos(NULL, wanfa_x + wanfa_col_width, wanfa_y, m_btnSanXingZuXuan.Width(), m_btnSanXingZuXuan.Height(), SWP_NOZORDER); } if (m_btnQianYiZhiXuan.GetSafeHwnd() != NULL) { m_btnQianYiZhiXuan.SetWindowPos(NULL, wanfa_x + wanfa_col_width*2, wanfa_y, m_btnQianYiZhiXuan.Width(), m_btnQianYiZhiXuan.Height(), SWP_NOZORDER); } if (m_btnQianErZhiXuan.GetSafeHwnd() != NULL) { m_btnQianErZhiXuan.SetWindowPos(NULL, wanfa_x + wanfa_col_width*3, wanfa_y, m_btnQianErZhiXuan.Width(), m_btnQianErZhiXuan.Height(), SWP_NOZORDER); } if (m_btnSanXingBuDingWei.GetSafeHwnd() != NULL) { m_btnSanXingBuDingWei.SetWindowPos(NULL, wanfa_x + wanfa_col_width*4, wanfa_y, m_btnSanXingBuDingWei.Width(), m_btnSanXingBuDingWei.Height(), SWP_NOZORDER); } if (m_btnHouYiZhiXuan.GetSafeHwnd() != NULL) { m_btnHouYiZhiXuan.SetWindowPos(NULL, wanfa_x + wanfa_col_width*5+11, wanfa_y, m_btnHouYiZhiXuan.Width(), m_btnHouYiZhiXuan.Height(), SWP_NOZORDER); } if (m_btnHouErZhiXuan.GetSafeHwnd() != NULL) { m_btnHouErZhiXuan.SetWindowPos(NULL, wanfa_x+ wanfa_col_width*6+11, wanfa_y, m_btnHouErZhiXuan.Width(), m_btnHouErZhiXuan.Height(), SWP_NOZORDER); } if (m_btnDingWeiDan.GetSafeHwnd() != NULL) { m_btnDingWeiDan.SetWindowPos(NULL, wanfa_x+ wanfa_col_width*7+11, wanfa_y, m_btnDingWeiDan.Width(), m_btnDingWeiDan.Height(), SWP_NOZORDER); } if (m_btnDaXiaoDanShuang.GetSafeHwnd() != NULL) { m_btnDaXiaoDanShuang.SetWindowPos(NULL, wanfa_x+ wanfa_col_width*8+1, wanfa_y, m_btnDaXiaoDanShuang.Width(), m_btnDaXiaoDanShuang.Height(), SWP_NOZORDER); } if (m_btnZhiXuanHeZhi.GetSafeHwnd() != NULL) { m_btnZhiXuanHeZhi.SetWindowPos(NULL, wanfa_x + wanfa_col_width, wanfa_y+ wanfa_row_height, m_btnZhiXuanHeZhi.Width(), m_btnZhiXuanHeZhi.Height(), SWP_NOZORDER); } } void C3D::AdjustRadio() { //----------------------------------- CWnd* pWnd = GetDlgItem(IDC_RIO_SXZHX_FUSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } pWnd = GetDlgItem(IDC_RIO_SXZHX_DANSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x + wanfa_sel_width, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } //----------------------------------- pWnd = GetDlgItem(IDC_RIO_SXZS_FUSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } pWnd = GetDlgItem(IDC_RIO_SXZS_DANSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x + wanfa_sel_width, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } pWnd = GetDlgItem(IDC_RIO_SXZL_FUSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x + wanfa_sel_width*2, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } pWnd = GetDlgItem(IDC_RIO_SXZL_DANSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x + wanfa_sel_width*3, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } //----------------------------------- pWnd = GetDlgItem(IDC_RIO_QYZHX); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } //----------------------------------- pWnd = GetDlgItem(IDC_RIO_QEZHX_FUSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } pWnd = GetDlgItem(IDC_RIO_QEZHX_DANSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x + wanfa_sel_width, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } //----------------------------------- pWnd = GetDlgItem(IDC_RIO_SXBDW); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width+31, wanfa_sel_height, SWP_NOZORDER); } //----------------------------------- pWnd = GetDlgItem(IDC_RIO_HYZHX); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } pWnd = GetDlgItem(IDC_RIO_DWD); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } pWnd = GetDlgItem(IDC_RIO_DWDXDS); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } //----------------------------------- pWnd = GetDlgItem(IDC_RIO_HEZHX_FUSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } pWnd = GetDlgItem(IDC_RIO_HEZHX_DANSHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x + wanfa_sel_width, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } //----------------------------------- pWnd = GetDlgItem(IDC_RIO_SXZHX_HEZHI); if (pWnd != NULL) { pWnd->SetWindowPos(NULL, wanfa_sel_x, wanfa_sel_y, wanfa_sel_width, wanfa_sel_height, SWP_NOZORDER); } } void C3D::AdjustNumBtn() { //百位------------------------------- if (m_staticZuXuan.GetSafeHwnd() != NULL) { m_staticZuXuan.SetWindowPos(NULL, haoma_tip_x, haoma_tip_y + haoma_btn_row_height*2, m_staticBai.Width(), m_staticBai.Height(), SWP_NOZORDER); } //不定位 if (m_staticBuDingWei.GetSafeHwnd() != NULL) { m_staticBuDingWei.SetWindowPos(NULL, haoma_tip_x, haoma_tip_y + haoma_btn_row_height*2, m_staticBai.Width(), m_staticBai.Height(), SWP_NOZORDER); } if (m_staticBai.GetSafeHwnd() != NULL) { m_staticBai.SetWindowPos(NULL, haoma_tip_x, haoma_tip_y + haoma_btn_row_height*2, m_staticBai.Width(), m_staticBai.Height(), SWP_NOZORDER); } if(m_btn3DBai0.GetSafeHwnd() != NULL) { m_btn3DBai0.SetWindowPos(NULL, haoma_btn_x, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai0.Width(), m_btn3DBai0.Height(), SWP_NOZORDER); } if(m_btn3DBai1.GetSafeHwnd() != NULL) { m_btn3DBai1.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai1.Width(), m_btn3DBai1.Height(), SWP_NOZORDER); } if(m_btn3DBai2.GetSafeHwnd() != NULL) { m_btn3DBai2.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*2, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai2.Width(), m_btn3DBai2.Height(), SWP_NOZORDER); } if(m_btn3DBai3.GetSafeHwnd() != NULL) { m_btn3DBai3.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*3, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai3.Width(), m_btn3DBai3.Height(), SWP_NOZORDER); } if(m_btn3DBai4.GetSafeHwnd() != NULL) { m_btn3DBai4.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*4, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai4.Width(), m_btn3DBai4.Height(), SWP_NOZORDER); } if(m_btn3DBai5.GetSafeHwnd() != NULL) { m_btn3DBai5.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*5, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai5.Width(), m_btn3DBai5.Height(), SWP_NOZORDER); } if(m_btn3DBai6.GetSafeHwnd() != NULL) { m_btn3DBai6.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*6, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai6.Width(), m_btn3DBai6.Height(), SWP_NOZORDER); } if(m_btn3DBai7.GetSafeHwnd() != NULL) { m_btn3DBai7.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*7, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai7.Width(), m_btn3DBai7.Height(), SWP_NOZORDER); } if(m_btn3DBai8.GetSafeHwnd() != NULL) { m_btn3DBai8.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*8, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai8.Width(), m_btn3DBai8.Height(), SWP_NOZORDER); } if(m_btn3DBai9.GetSafeHwnd() != NULL) { m_btn3DBai9.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*9, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBai9.Width(), m_btn3DBai9.Height(), SWP_NOZORDER); } if (m_btn3DBaiQuan.GetSafeHwnd() != NULL) { m_btn3DBaiQuan.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*10, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBaiQuan.Width(), m_btn3DBaiQuan.Height(), SWP_NOZORDER); } if (m_btn3DBaiDa.GetSafeHwnd() != NULL) { m_btn3DBaiDa.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*11, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBaiDa.Width(), m_btn3DBaiDa.Height(), SWP_NOZORDER); } if (m_btn3DBaiXiao.GetSafeHwnd() != NULL) { m_btn3DBaiXiao.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*12, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBaiXiao.Width(), m_btn3DBaiXiao.Height(), SWP_NOZORDER); } if (m_btn3DBaiDan.GetSafeHwnd() != NULL) { m_btn3DBaiDan.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*13, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBaiDan.Width(), m_btn3DBaiDan.Height(), SWP_NOZORDER); } if (m_btn3DBaiShuang.GetSafeHwnd() != NULL) { m_btn3DBaiShuang.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*14, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBaiShuang.Width(), m_btn3DBaiShuang.Height(), SWP_NOZORDER); } if (m_btn3DBaiQing.GetSafeHwnd() != NULL) { m_btn3DBaiQing.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*15, haoma_btn_y + haoma_btn_row_height*2, m_btn3DBaiQing.Width(), m_btn3DBaiQing.Height(), SWP_NOZORDER); } //十位------------------------------- if (m_staticShi.GetSafeHwnd() != NULL) { m_staticShi.SetWindowPos(NULL, haoma_tip_x, haoma_tip_y + haoma_btn_row_height*3, m_staticShi.Width(), m_staticShi.Height(), SWP_NOZORDER); } if(m_btn3DShi0.GetSafeHwnd() != NULL) { m_btn3DShi0.SetWindowPos(NULL, haoma_btn_x, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi0.Width(), m_btn3DShi0.Height(), SWP_NOZORDER); } if(m_btn3DShi1.GetSafeHwnd() != NULL) { m_btn3DShi1.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi1.Width(), m_btn3DShi1.Height(), SWP_NOZORDER); } if(m_btn3DShi2.GetSafeHwnd() != NULL) { m_btn3DShi2.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*2, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi2.Width(), m_btn3DShi2.Height(), SWP_NOZORDER); } if(m_btn3DShi3.GetSafeHwnd() != NULL) { m_btn3DShi3.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*3, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi3.Width(), m_btn3DShi3.Height(), SWP_NOZORDER); } if(m_btn3DShi4.GetSafeHwnd() != NULL) { m_btn3DShi4.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*4, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi4.Width(), m_btn3DShi4.Height(), SWP_NOZORDER); } if(m_btn3DShi5.GetSafeHwnd() != NULL) { m_btn3DShi5.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*5, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi5.Width(), m_btn3DShi5.Height(), SWP_NOZORDER); } if(m_btn3DShi6.GetSafeHwnd() != NULL) { m_btn3DShi6.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*6, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi6.Width(), m_btn3DShi6.Height(), SWP_NOZORDER); } if(m_btn3DShi7.GetSafeHwnd() != NULL) { m_btn3DShi7.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*7, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi7.Width(), m_btn3DShi7.Height(), SWP_NOZORDER); } if(m_btn3DShi8.GetSafeHwnd() != NULL) { m_btn3DShi8.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*8, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi8.Width(), m_btn3DShi8.Height(), SWP_NOZORDER); } if(m_btn3DShi9.GetSafeHwnd() != NULL) { m_btn3DShi9.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*9, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShi9.Width(), m_btn3DShi9.Height(), SWP_NOZORDER); } if (m_btn3DShiQuan.GetSafeHwnd() != NULL) { m_btn3DShiQuan.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*10, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShiQuan.Width(), m_btn3DShiQuan.Height(), SWP_NOZORDER); } if (m_btn3DShiDa.GetSafeHwnd() != NULL) { m_btn3DShiDa.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*11, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShiDa.Width(), m_btn3DShiDa.Height(), SWP_NOZORDER); } if (m_btn3DShiXiao.GetSafeHwnd() != NULL) { m_btn3DShiXiao.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*12, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShiXiao.Width(), m_btn3DShiXiao.Height(), SWP_NOZORDER); } if (m_btn3DShiDan.GetSafeHwnd() != NULL) { m_btn3DShiDan.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*13, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShiDan.Width(), m_btn3DShiDan.Height(), SWP_NOZORDER); } if (m_btn3DShiShuang.GetSafeHwnd() != NULL) { m_btn3DShiShuang.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*14, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShiShuang.Width(), m_btn3DShiShuang.Height(), SWP_NOZORDER); } if (m_btn3DShiQing.GetSafeHwnd() != NULL) { m_btn3DShiQing.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*15, haoma_btn_y + haoma_btn_row_height*3, m_btn3DShiQing.Width(), m_btn3DShiQing.Height(), SWP_NOZORDER); } //个位------------------------------- if (m_staticGe.GetSafeHwnd() != NULL) { m_staticGe.SetWindowPos(NULL, haoma_tip_x, haoma_tip_y + haoma_btn_row_height*4, m_staticGe.Width(), m_staticGe.Height(), SWP_NOZORDER); } if(m_btn3DGe0.GetSafeHwnd() != NULL) { m_btn3DGe0.SetWindowPos(NULL, haoma_btn_x, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe0.Width(), m_btn3DGe0.Height(), SWP_NOZORDER); } if(m_btn3DGe1.GetSafeHwnd() != NULL) { m_btn3DGe1.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe1.Width(), m_btn3DGe1.Height(), SWP_NOZORDER); } if(m_btn3DGe2.GetSafeHwnd() != NULL) { m_btn3DGe2.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*2, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe2.Width(), m_btn3DGe2.Height(), SWP_NOZORDER); } if(m_btn3DGe3.GetSafeHwnd() != NULL) { m_btn3DGe3.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*3, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe3.Width(), m_btn3DGe3.Height(), SWP_NOZORDER); } if(m_btn3DGe4.GetSafeHwnd() != NULL) { m_btn3DGe4.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*4, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe4.Width(), m_btn3DGe4.Height(), SWP_NOZORDER); } if(m_btn3DGe5.GetSafeHwnd() != NULL) { m_btn3DGe5.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*5, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe5.Width(), m_btn3DGe5.Height(), SWP_NOZORDER); } if(m_btn3DGe6.GetSafeHwnd() != NULL) { m_btn3DGe6.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*6, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe6.Width(), m_btn3DGe6.Height(), SWP_NOZORDER); } if(m_btn3DGe7.GetSafeHwnd() != NULL) { m_btn3DGe7.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*7, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe7.Width(), m_btn3DGe7.Height(), SWP_NOZORDER); } if(m_btn3DGe8.GetSafeHwnd() != NULL) { m_btn3DGe8.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*8, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe8.Width(), m_btn3DGe8.Height(), SWP_NOZORDER); } if(m_btn3DGe9.GetSafeHwnd() != NULL) { m_btn3DGe9.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*9, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGe9.Width(), m_btn3DGe9.Height(), SWP_NOZORDER); } if (m_btn3DGeQuan.GetSafeHwnd() != NULL) { m_btn3DGeQuan.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*10, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGeQuan.Width(), m_btn3DGeQuan.Height(), SWP_NOZORDER); } if (m_btn3DGeDa.GetSafeHwnd() != NULL) { m_btn3DGeDa.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*11, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGeDa.Width(), m_btn3DGeDa.Height(), SWP_NOZORDER); } if (m_btn3DGeXiao.GetSafeHwnd() != NULL) { m_btn3DGeXiao.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*12, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGeXiao.Width(), m_btn3DGeXiao.Height(), SWP_NOZORDER); } if (m_btn3DGeDan.GetSafeHwnd() != NULL) { m_btn3DGeDan.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*13, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGeDan.Width(), m_btn3DGeDan.Height(), SWP_NOZORDER); } if (m_btn3DGeShuang.GetSafeHwnd() != NULL) { m_btn3DGeShuang.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*14, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGeShuang.Width(), m_btn3DGeShuang.Height(), SWP_NOZORDER); } if (m_btn3DGeQing.GetSafeHwnd() != NULL) { m_btn3DGeQing.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*15, haoma_btn_y + haoma_btn_row_height*4, m_btn3DGeQing.Width(), m_btn3DGeQing.Height(), SWP_NOZORDER); } //大小单双 -- 百 if(m_btnDaBai.GetSafeHwnd() != NULL) { m_btnDaBai.SetWindowPos(NULL, haoma_btn_x+20, haoma_btn_y + haoma_btn_row_height*2, m_btnDaBai.Width(), m_btnDaBai.Height(), SWP_NOZORDER); } if(m_btnXiaoBai.GetSafeHwnd() != NULL) { m_btnXiaoBai.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith+20, haoma_btn_y + haoma_btn_row_height*2, m_btnXiaoBai.Width(), m_btnXiaoBai.Height(), SWP_NOZORDER); } if(m_btnDanBai.GetSafeHwnd() != NULL) { m_btnDanBai.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*2+20, haoma_btn_y + haoma_btn_row_height*2, m_btnDanBai.Width(), m_btnDanBai.Height(), SWP_NOZORDER); } if(m_btnShuangBai.GetSafeHwnd() != NULL) { m_btnShuangBai.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*3+20, haoma_btn_y + haoma_btn_row_height*2, m_btnShuangBai.Width(), m_btnShuangBai.Height(), SWP_NOZORDER); } //大小单双 if(m_btnDaShi.GetSafeHwnd() != NULL) { m_btnDaShi.SetWindowPos(NULL, haoma_btn_x+20, haoma_btn_y + haoma_btn_row_height*3, m_btnDaShi.Width(), m_btnDaShi.Height(), SWP_NOZORDER); } if(m_btnXiaoShi.GetSafeHwnd() != NULL) { m_btnXiaoShi.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith+20, haoma_btn_y + haoma_btn_row_height*3, m_btnXiaoShi.Width(), m_btnXiaoShi.Height(), SWP_NOZORDER); } if(m_btnDanShi.GetSafeHwnd() != NULL) { m_btnDanShi.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*2+20, haoma_btn_y + haoma_btn_row_height*3, m_btnDanShi.Width(), m_btnDanShi.Height(), SWP_NOZORDER); } if(m_btnShuangShi.GetSafeHwnd() != NULL) { m_btnShuangShi.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*3+20, haoma_btn_y + haoma_btn_row_height*3, m_btnShuangShi.Width(), m_btnShuangShi.Height(), SWP_NOZORDER); } //大小单双 if(m_btnDaGe.GetSafeHwnd() != NULL) { m_btnDaGe.SetWindowPos(NULL, haoma_btn_x+20, haoma_btn_y + haoma_btn_row_height*4, m_btnDaGe.Width(), m_btnDaGe.Height(), SWP_NOZORDER); } if(m_btnXiaoGe.GetSafeHwnd() != NULL) { m_btnXiaoGe.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith+20, haoma_btn_y + haoma_btn_row_height*4, m_btnXiaoGe.Width(), m_btnXiaoGe.Height(), SWP_NOZORDER); } if(m_btnDanGe.GetSafeHwnd() != NULL) { m_btnDanGe.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*2+20, haoma_btn_y + haoma_btn_row_height*4, m_btnDanGe.Width(), m_btnDanGe.Height(), SWP_NOZORDER); } if(m_btnShuangGe.GetSafeHwnd() != NULL) { m_btnShuangGe.SetWindowPos(NULL, haoma_btn_x + haoma_btn_col_wdith*3+20, haoma_btn_y + haoma_btn_row_height*4, m_btnShuangGe.Width(), m_btnShuangGe.Height(), SWP_NOZORDER); } } void C3D::ShowDaXiaoDanShuang() { m_staticBai.ShowWindow(SW_SHOW); m_staticShi.ShowWindow(SW_SHOW); m_staticGe.ShowWindow(SW_SHOW); m_btnDaBai.ShowWindow(SW_SHOW); m_btnXiaoBai.ShowWindow(SW_SHOW); m_btnDanBai.ShowWindow(SW_SHOW); m_btnShuangBai.ShowWindow(SW_SHOW); m_btnDaShi.ShowWindow(SW_SHOW); m_btnXiaoShi.ShowWindow(SW_SHOW); m_btnDanShi.ShowWindow(SW_SHOW); m_btnShuangShi.ShowWindow(SW_SHOW); m_btnDaGe.ShowWindow(SW_SHOW); m_btnXiaoGe.ShowWindow(SW_SHOW); m_btnDanGe.ShowWindow(SW_SHOW); m_btnShuangGe.ShowWindow(SW_SHOW); } void C3D::HideDaXiaoDanShuang() { m_staticBai.ShowWindow(SW_HIDE); m_staticShi.ShowWindow(SW_HIDE); m_staticGe.ShowWindow(SW_HIDE); m_btnDaBai.ShowWindow(SW_HIDE); m_btnXiaoBai.ShowWindow(SW_HIDE); m_btnDanBai.ShowWindow(SW_HIDE); m_btnShuangBai.ShowWindow(SW_HIDE); m_btnDaShi.ShowWindow(SW_HIDE); m_btnXiaoShi.ShowWindow(SW_HIDE); m_btnDanShi.ShowWindow(SW_HIDE); m_btnShuangShi.ShowWindow(SW_HIDE); m_btnDaGe.ShowWindow(SW_HIDE); m_btnXiaoGe.ShowWindow(SW_HIDE); m_btnDanGe.ShowWindow(SW_HIDE); m_btnShuangGe.ShowWindow(SW_HIDE); } void C3D::AdjustNumView() { if(m_btnBeiTouJia.GetSafeHwnd() != NULL) { m_btnBeiTouJia.SetWindowPos(NULL,edit_beitou_x+edit_beitou_width , edit_beitou_y-8, m_btnBeiTouJia.Width(), m_btnBeiTouJia.Height(), SWP_NOZORDER); } if(m_btnBeiTouJian.GetSafeHwnd() != NULL) { m_btnBeiTouJian.SetWindowPos(NULL,edit_beitou_x-m_btnBeiTouJian.Width() , edit_beitou_y-8, m_btnBeiTouJian.Width(), m_btnBeiTouJian.Height(), SWP_NOZORDER); } if(m_btnDelSel.GetSafeHwnd() != NULL) { m_btnDelSel.SetWindowPos(NULL, btn_del_sel_x, btn_del_sel_y, m_btnDelSel.Width(), m_btnDelSel.Height(), SWP_NOZORDER); m_btnDelSel.ShowWindow(SW_HIDE); } if(m_btnClsList.GetSafeHwnd() != NULL) { m_btnClsList.SetWindowPos(NULL, btn_cls_list_x, btn_cls_list_y, m_btnClsList.Width(), m_btnClsList.Height(), SWP_NOZORDER); } if (m_list3D.GetSafeHwnd() != NULL) { m_list3D.SetWindowPos(NULL, list_haomao_x, list_haomao_y, list_haomao_width, list_haomao_height, SWP_NOZORDER); } if(m_editBeiShu.GetSafeHwnd() != NULL) { m_editBeiShu.SetWindowPos(NULL, edit_beitou_x, edit_beitou_y, edit_beitou_width, edit_beitou_height, SWP_NOZORDER); } if(m_btnTouZhu.GetSafeHwnd() != NULL) { m_btnTouZhu.SetWindowPos(NULL, btn_touzhu_x, btn_touzhu_y, m_btnTouZhu.Width(), m_btnTouZhu.Height(), SWP_NOZORDER); } if(m_btnZhuiHao.GetSafeHwnd() != NULL) { m_btnZhuiHao.SetWindowPos(NULL, btn_zhuihao_x, btn_zhuihao_y, m_btnZhuiHao.Width(), m_btnZhuiHao.Height(), SWP_NOZORDER); } if(m_btnMoreRecord.GetSafeHwnd() != NULL) { m_btnMoreRecord.SetWindowPos(NULL, btn_more_x, btn_more_y, m_btnMoreRecord.Width(), m_btnMoreRecord.Height(), SWP_NOZORDER); } } void C3D::AdjustDanShi() { //if (m_staticDanShi.GetSafeHwnd() != NULL) //{ // m_staticDanShi.SetWindowPos(NULL, haoma_tip_x, haoma_tip_y, haoma_tip_width, haoma_tip_height, SWP_NOZORDER); //} if (m_richDanshiHaoma.GetSafeHwnd() != NULL) { m_richDanshiHaoma.SetWindowPos(NULL, edit_haomao_danshi_x, edit_haomao_danshi_y, edit_haomao_danshi_width, edit_haomao_danshi_height, SWP_NOZORDER); } // if (m_editDanShiHaoMa.GetSafeHwnd() != NULL) // { // m_editDanShiHaoMa.SetWindowPos(NULL, edit_haomao_danshi_x, edit_haomao_danshi_y, edit_haomao_danshi_width, edit_haomao_danshi_height, SWP_NOZORDER); // } } void C3D::AdjustAdd() { if (m_btn3DAdd.GetSafeHwnd() != NULL) { m_btn3DAdd.SetWindowPos(NULL, btn_chq_add_x, btn_chq_add_y, m_btn3DAdd.Width(), m_btn3DAdd.Height(), SWP_NOZORDER); } if (m_btnLock.GetSafeHwnd() != NULL) { m_btnLock.SetWindowPos(NULL, btn_lock_x, btn_lock_y, m_btnLock.Width(), m_btnLock.Height(), SWP_NOZORDER); } if(m_btnYuan.GetSafeHwnd() != NULL) { m_btnYuan.SetWindowPos(NULL,btn_yuan_x,btn_yuan_y,m_btnYuan.Width(),m_btnYuan.Height(),SWP_NOZORDER); } if(m_btnJiao.GetSafeHwnd() != NULL) { m_btnJiao.SetWindowPos(NULL,btn_jiao_x,btn_jiao_y,m_btnJiao.Width(),m_btnJiao.Height(),SWP_NOZORDER); } if(m_btnFen.GetSafeHwnd() != NULL) { m_btnFen.SetWindowPos(NULL,btn_fen_x,btn_fen_y,m_btnFen.Width(),m_btnFen.Height(),SWP_NOZORDER); } if(m_btnLi.GetSafeHwnd() != NULL) { m_btnLi.SetWindowPos(NULL,btn_li_x,btn_li_y,m_btnLi.Width(),m_btnLi.Height(),SWP_NOZORDER); } if(m_btWxzxTip.GetSafeHwnd() != NULL) { m_btWxzxTip.SetWindowPos(NULL,keyboardinput_x,mouseinput_y-32,m_btWxzxTip.Width(),m_btWxzxTip.Height(),SWP_NOZORDER); } } BOOL C3D::PreTranslateMessage(MSG* pMsg) { //定义变量 BOOL bReturn=TRUE; if(pMsg-> message ==WM_RBUTTONDOWN) { if(pMsg->hwnd == m_richDanshiHaoma.m_hWnd) { CPoint pt(0,0); GetCursorPos(&pt); CMenu menu; menu.LoadMenu(IDR_MENU_RBTN); CMenu* pMenu = menu.GetSubMenu(0); if (pMenu != NULL) { pMenu->TrackPopupMenu(TPM_LEFTBUTTON, pt.x, pt.y, this); } return true; } } if(pMsg-> message ==ENM_CHANGE) { if(pMsg->hwnd == m_richDanshiHaoma.m_hWnd) { CString strMessage; m_richDanshiHaoma.GetWindowText(strMessage); MyMessageBox(strMessage); return true; } } //提示消息 if (m_ToolTipCtrl.m_hWnd!=NULL) { m_ToolTipCtrl.RelayEvent(pMsg); } return __super::PreTranslateMessage(pMsg); } //void C3D::SelctRadioBtn(int ctrl_id) //{ // CImgRioButton* pRadio = (CImgRioButton*)GetDlgItem(ctrl_id); // if (pRadio != NULL) // { // pRadio->SetPushed(true); // } //} void C3D::CheckWanFaBtn(CTextButton& btn) { m_btnSanXingZhiXuan.SetPushed(false); m_btnSanXingZuXuan.SetPushed(false); m_btnQianYiZhiXuan.SetPushed(false); m_btnQianErZhiXuan.SetPushed(false); m_btnSanXingBuDingWei.SetPushed(false); m_btnHouYiZhiXuan.SetPushed(false); m_btnHouErZhiXuan.SetPushed(false); m_btnZhiXuanHeZhi.SetPushed(false); m_btnDingWeiDan.SetPushed(false); m_btnDaXiaoDanShuang.SetPushed(false); btn.SetPushed(true); } void C3D::InitWanFaBtns() { // m_btnSanXingZhiXuan.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnSanXingZuXuan.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnQianYiZhiXuan.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnQianErZhiXuan.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnSanXingBuDingWei.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnHouYiZhiXuan.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnHouErZhiXuan.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnZhiXuanHeZhi.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnDingWeiDan.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); // m_btnDaXiaoDanShuang.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\btn_txt_bk.png")); } void C3D::InitNumberBtns() { m_btn3DBai0.SetImage(m_numImageList, 0, 10); m_btn3DBai1.SetImage(m_numImageList, 1, 10); m_btn3DBai2.SetImage(m_numImageList, 2, 10); m_btn3DBai3.SetImage(m_numImageList, 3, 10); m_btn3DBai4.SetImage(m_numImageList, 4, 10); m_btn3DBai5.SetImage(m_numImageList, 5, 10); m_btn3DBai6.SetImage(m_numImageList, 6, 10); m_btn3DBai7.SetImage(m_numImageList, 7, 10); m_btn3DBai8.SetImage(m_numImageList, 8, 10); m_btn3DBai9.SetImage(m_numImageList, 9, 10); m_btn3DShi0.SetImage(m_numImageList, 0, 10); m_btn3DShi1.SetImage(m_numImageList, 1, 10); m_btn3DShi2.SetImage(m_numImageList, 2, 10); m_btn3DShi3.SetImage(m_numImageList, 3, 10); m_btn3DShi4.SetImage(m_numImageList, 4, 10); m_btn3DShi5.SetImage(m_numImageList, 5, 10); m_btn3DShi6.SetImage(m_numImageList, 6, 10); m_btn3DShi7.SetImage(m_numImageList, 7, 10); m_btn3DShi8.SetImage(m_numImageList, 8, 10); m_btn3DShi9.SetImage(m_numImageList, 9, 10); m_btn3DGe0.SetImage(m_numImageList, 0, 10); m_btn3DGe1.SetImage(m_numImageList, 1, 10); m_btn3DGe2.SetImage(m_numImageList, 2, 10); m_btn3DGe3.SetImage(m_numImageList, 3, 10); m_btn3DGe4.SetImage(m_numImageList, 4, 10); m_btn3DGe5.SetImage(m_numImageList, 5, 10); m_btn3DGe6.SetImage(m_numImageList, 6, 10); m_btn3DGe7.SetImage(m_numImageList, 7, 10); m_btn3DGe8.SetImage(m_numImageList, 8, 10); m_btn3DGe9.SetImage(m_numImageList, 9, 10); m_staticZuXuan.SetImage(m_bmpNumTip, 0, 10); m_staticBuDingWei.SetImage(m_bmpNumTip, 1, 10); m_staticBai.SetImage(m_bmpNumTip, 4, 10); m_staticShi.SetImage(m_bmpNumTip, 5, 10); m_staticGe.SetImage(m_bmpNumTip, 6, 10); CString numTextBk = CBmpUtil::GetExePath() + _T("skin\\game\\btn_dx.png"); m_btn3DBaiQuan.SetBkImage(numTextBk); m_btn3DBaiDa.SetBkImage(numTextBk); m_btn3DBaiXiao.SetBkImage(numTextBk); m_btn3DBaiDan.SetBkImage(numTextBk); m_btn3DBaiShuang.SetBkImage(numTextBk); m_btn3DBaiQing.SetBkImage(numTextBk); m_btn3DShiQuan.SetBkImage(numTextBk); m_btn3DShiDa.SetBkImage(numTextBk); m_btn3DShiXiao.SetBkImage(numTextBk); m_btn3DShiDan.SetBkImage(numTextBk); m_btn3DShiShuang.SetBkImage(numTextBk); m_btn3DShiQing.SetBkImage(numTextBk); m_btn3DGeQuan.SetBkImage(numTextBk); m_btn3DGeDa.SetBkImage(numTextBk); m_btn3DGeXiao.SetBkImage(numTextBk); m_btn3DGeDan.SetBkImage(numTextBk); m_btn3DGeShuang.SetBkImage(numTextBk); m_btn3DGeQing.SetBkImage(numTextBk); m_bmpDxdsh = new Bitmap(CBmpUtil::GetExePath() + _T("skin\\game\\btn_dx2.png")); m_btnDaBai.SetImage(m_bmpDxdsh, 0, 4); m_btnXiaoBai.SetImage(m_bmpDxdsh, 1, 4); m_btnDanBai.SetImage(m_bmpDxdsh, 2, 4); m_btnShuangBai.SetImage(m_bmpDxdsh, 3, 4); m_btnDaShi.SetImage(m_bmpDxdsh, 0, 4); m_btnXiaoShi.SetImage(m_bmpDxdsh, 1, 4); m_btnDanShi.SetImage(m_bmpDxdsh, 2, 4); m_btnShuangShi.SetImage(m_bmpDxdsh, 3, 4); m_btnDaGe.SetImage(m_bmpDxdsh, 0, 4); m_btnXiaoGe.SetImage(m_bmpDxdsh, 1, 4); m_btnDanGe.SetImage(m_bmpDxdsh, 2, 4); m_btnShuangGe.SetImage(m_bmpDxdsh, 3, 4); m_btn3DBaiQuan.SetTextColor(RGB(97,76,59)); m_btn3DBaiDa.SetTextColor(RGB(97,76,59)); m_btn3DBaiXiao.SetTextColor(RGB(97,76,59)); m_btn3DBaiDan.SetTextColor(RGB(97,76,59)); m_btn3DBaiShuang.SetTextColor(RGB(97,76,59)); m_btn3DBaiQing.SetTextColor(RGB(97,76,59)); m_btn3DShiQuan.SetTextColor(RGB(97,76,59)); m_btn3DShiDa.SetTextColor(RGB(97,76,59)); m_btn3DShiXiao.SetTextColor(RGB(97,76,59)); m_btn3DShiDan.SetTextColor(RGB(97,76,59)); m_btn3DShiShuang.SetTextColor(RGB(97,76,59)); m_btn3DShiQing.SetTextColor(RGB(97,76,59)); m_btn3DGeQuan.SetTextColor(RGB(97,76,59)); m_btn3DGeDa.SetTextColor(RGB(97,76,59)); m_btn3DGeXiao.SetTextColor(RGB(97,76,59)); m_btn3DGeDan.SetTextColor(RGB(97,76,59)); m_btn3DGeShuang.SetTextColor(RGB(97,76,59)); m_btn3DGeQing.SetTextColor(RGB(97,76,59)); } CString C3D::GetBaiDxdshString() { CString strBai; if (IsNumBtnCheck(m_btnDaBai)) { strBai += _T("9"); } if (IsNumBtnCheck(m_btnXiaoBai)) { strBai += _T("1"); } if (IsNumBtnCheck(m_btnDanBai)) { strBai += _T("3"); } if (IsNumBtnCheck(m_btnShuangBai)) { strBai += _T("2"); } return strBai; } CString C3D::GetShiDxdshString() { CString strShi; if (IsNumBtnCheck(m_btnDaShi)) { strShi += _T("9"); } if (IsNumBtnCheck(m_btnXiaoShi)) { strShi += _T("1"); } if (IsNumBtnCheck(m_btnDanShi)) { strShi += _T("3"); } if (IsNumBtnCheck(m_btnShuangShi)) { strShi += _T("2"); } return strShi; } CString C3D::GetGeDxdshString() { CString strGe; if (IsNumBtnCheck(m_btnDaGe)) { strGe += _T("9"); } if (IsNumBtnCheck(m_btnXiaoGe)) { strGe += _T("1"); } if (IsNumBtnCheck(m_btnDanGe)) { strGe += _T("3"); } if (IsNumBtnCheck(m_btnShuangGe)) { strGe += _T("2"); } return strGe; } CString C3D::GetDxdshStringDesc(int nNum) { CString strDesc; switch (nNum) { case 1: { strDesc = _T("小"); break; } case 2: { strDesc = _T("双"); break; } case 3: { strDesc = _T("单"); break; } case 9: { strDesc = _T("大"); break; } case 10: { strDesc = _T("小单"); break; } case 11: { strDesc = _T("小双"); break; } case 12: { strDesc = _T("大单"); break; } case 13: { strDesc = _T("大双"); break; } case 17: { strDesc = _T("极小"); break; } case 18: { strDesc = _T("极大"); break; } } return strDesc; } void C3D::InitListCtrl() { m_list3D.SetExtendedStyle(m_list3D.GetExtendedStyle()|LVS_EX_FULLROWSELECT|LVS_EX_FLATSB); m_list3D.ModifyStyle(0, LVS_NOCOLUMNHEADER); m_list3D.SetPenColor(RGB(247,233,216)); // m_list3D.InsertColumn(0, _T("号码"), LVCFMT_CENTER, 313); // m_list3D.InsertColumn(1, _T("模式"), LVCFMT_CENTER, 80); // m_list3D.InsertColumn(2, _T("注数"), LVCFMT_CENTER, 70); // m_list3D.InsertColumn(3, _T("倍数"), LVCFMT_CENTER, 70); // m_list3D.InsertColumn(4, _T(""), LVCFMT_CENTER, 30); m_list3D.InsertColumn(0, _T("号码"), LVCFMT_CENTER, 240); m_list3D.InsertColumn(1, _T("模式"), LVCFMT_CENTER, 25); m_list3D.InsertColumn(2, _T("金额"), LVCFMT_CENTER, 95); m_list3D.InsertColumn(3, _T("玩法"), LVCFMT_CENTER, 80); m_list3D.InsertColumn(4, _T("注法"), LVCFMT_CENTER, 55); m_list3D.InsertColumn(5, _T("倍数"), LVCFMT_CENTER, 50); m_list3D.InsertColumn(6, _T("删除"), LVCFMT_CENTER, 31); //m_rioSxzhxFuShi.SetBkImage(CBmpUtil::GetExePath() + _T("skin\\game\\btn_rio_back.png")); } void C3D::HideBaiNums() { m_staticBai.ShowWindow(SW_HIDE); m_staticZuXuan.ShowWindow(SW_HIDE); m_staticBuDingWei.ShowWindow(SW_HIDE); m_btn3DBai0.ShowWindow(SW_HIDE); m_btn3DBai1.ShowWindow(SW_HIDE); m_btn3DBai2.ShowWindow(SW_HIDE); m_btn3DBai3.ShowWindow(SW_HIDE); m_btn3DBai4.ShowWindow(SW_HIDE); m_btn3DBai5.ShowWindow(SW_HIDE); m_btn3DBai6.ShowWindow(SW_HIDE); m_btn3DBai7.ShowWindow(SW_HIDE); m_btn3DBai8.ShowWindow(SW_HIDE); m_btn3DBai9.ShowWindow(SW_HIDE); m_btn3DBaiQuan.ShowWindow(SW_HIDE); m_btn3DBaiDa.ShowWindow(SW_HIDE); m_btn3DBaiXiao.ShowWindow(SW_HIDE); m_btn3DBaiDan.ShowWindow(SW_HIDE); m_btn3DBaiShuang.ShowWindow(SW_HIDE); m_btn3DBaiQing.ShowWindow(SW_HIDE); } void C3D::HideShiNums() { m_staticShi.ShowWindow(SW_HIDE); m_btn3DShi0.ShowWindow(SW_HIDE); m_btn3DShi1.ShowWindow(SW_HIDE); m_btn3DShi2.ShowWindow(SW_HIDE); m_btn3DShi3.ShowWindow(SW_HIDE); m_btn3DShi4.ShowWindow(SW_HIDE); m_btn3DShi5.ShowWindow(SW_HIDE); m_btn3DShi6.ShowWindow(SW_HIDE); m_btn3DShi7.ShowWindow(SW_HIDE); m_btn3DShi8.ShowWindow(SW_HIDE); m_btn3DShi9.ShowWindow(SW_HIDE); m_btn3DShiQuan.ShowWindow(SW_HIDE); m_btn3DShiDa.ShowWindow(SW_HIDE); m_btn3DShiXiao.ShowWindow(SW_HIDE); m_btn3DShiDan.ShowWindow(SW_HIDE); m_btn3DShiShuang.ShowWindow(SW_HIDE); m_btn3DShiQing.ShowWindow(SW_HIDE); } void C3D::HideGeNums() { m_staticGe.ShowWindow(SW_HIDE); m_btn3DGe0.ShowWindow(SW_HIDE); m_btn3DGe1.ShowWindow(SW_HIDE); m_btn3DGe2.ShowWindow(SW_HIDE); m_btn3DGe3.ShowWindow(SW_HIDE); m_btn3DGe4.ShowWindow(SW_HIDE); m_btn3DGe5.ShowWindow(SW_HIDE); m_btn3DGe6.ShowWindow(SW_HIDE); m_btn3DGe7.ShowWindow(SW_HIDE); m_btn3DGe8.ShowWindow(SW_HIDE); m_btn3DGe9.ShowWindow(SW_HIDE); m_btn3DGeQuan.ShowWindow(SW_HIDE); m_btn3DGeDa.ShowWindow(SW_HIDE); m_btn3DGeXiao.ShowWindow(SW_HIDE); m_btn3DGeDan.ShowWindow(SW_HIDE); m_btn3DGeShuang.ShowWindow(SW_HIDE); m_btn3DGeQing.ShowWindow(SW_HIDE); } void C3D::ShowBaiNums() { m_staticBai.ShowWindow(SW_SHOW); m_staticZuXuan.ShowWindow(SW_HIDE); m_staticBuDingWei.ShowWindow(SW_HIDE); m_btn3DBai0.ShowWindow(SW_SHOW); m_btn3DBai1.ShowWindow(SW_SHOW); m_btn3DBai2.ShowWindow(SW_SHOW); m_btn3DBai3.ShowWindow(SW_SHOW); m_btn3DBai4.ShowWindow(SW_SHOW); m_btn3DBai5.ShowWindow(SW_SHOW); m_btn3DBai6.ShowWindow(SW_SHOW); m_btn3DBai7.ShowWindow(SW_SHOW); m_btn3DBai8.ShowWindow(SW_SHOW); m_btn3DBai9.ShowWindow(SW_SHOW); m_btn3DBaiQuan.ShowWindow(SW_SHOW); m_btn3DBaiDa.ShowWindow(SW_SHOW); m_btn3DBaiXiao.ShowWindow(SW_SHOW); m_btn3DBaiDan.ShowWindow(SW_SHOW); m_btn3DBaiShuang.ShowWindow(SW_SHOW); m_btn3DBaiQing.ShowWindow(SW_SHOW); } void C3D::ShowShiNums() { m_staticShi.ShowWindow(SW_SHOW); m_btn3DShi0.ShowWindow(SW_SHOW); m_btn3DShi1.ShowWindow(SW_SHOW); m_btn3DShi2.ShowWindow(SW_SHOW); m_btn3DShi3.ShowWindow(SW_SHOW); m_btn3DShi4.ShowWindow(SW_SHOW); m_btn3DShi5.ShowWindow(SW_SHOW); m_btn3DShi6.ShowWindow(SW_SHOW); m_btn3DShi7.ShowWindow(SW_SHOW); m_btn3DShi8.ShowWindow(SW_SHOW); m_btn3DShi9.ShowWindow(SW_SHOW); m_btn3DShiQuan.ShowWindow(SW_SHOW); m_btn3DShiDa.ShowWindow(SW_SHOW); m_btn3DShiXiao.ShowWindow(SW_SHOW); m_btn3DShiDan.ShowWindow(SW_SHOW); m_btn3DShiShuang.ShowWindow(SW_SHOW); m_btn3DShiQing.ShowWindow(SW_SHOW); } void C3D::ShowGeNums() { m_staticGe.ShowWindow(SW_SHOW); m_btn3DGe0.ShowWindow(SW_SHOW); m_btn3DGe1.ShowWindow(SW_SHOW); m_btn3DGe2.ShowWindow(SW_SHOW); m_btn3DGe3.ShowWindow(SW_SHOW); m_btn3DGe4.ShowWindow(SW_SHOW); m_btn3DGe5.ShowWindow(SW_SHOW); m_btn3DGe6.ShowWindow(SW_SHOW); m_btn3DGe7.ShowWindow(SW_SHOW); m_btn3DGe8.ShowWindow(SW_SHOW); m_btn3DGe9.ShowWindow(SW_SHOW); m_btn3DGeQuan.ShowWindow(SW_SHOW); m_btn3DGeDa.ShowWindow(SW_SHOW); m_btn3DGeXiao.ShowWindow(SW_SHOW); m_btn3DGeDan.ShowWindow(SW_SHOW); m_btn3DGeShuang.ShowWindow(SW_SHOW); m_btn3DGeQing.ShowWindow(SW_SHOW); } //显示隐藏组选和不定位 void C3D::ShowZuXuan() { m_staticZuXuan.ShowWindow(SW_SHOW); m_staticBuDingWei.ShowWindow(SW_HIDE); m_staticBai.ShowWindow(SW_HIDE); } void C3D::ShowBuDingWei() { m_staticZuXuan.ShowWindow(SW_HIDE); m_staticBuDingWei.ShowWindow(SW_SHOW); m_staticBai.ShowWindow(SW_HIDE); } void C3D::HideDanShiEdit() { m_editDanShiHaoMa.ShowWindow(SW_HIDE); m_richDanshiHaoma.ShowWindow(SW_HIDE); } void C3D::ShowDanShiEdit() { m_richDanshiHaoma.ShowWindow(SW_SHOW); } void C3D::ResetAllNums() { m_singlezhushu = 0; UnCheckNumBtn(m_btn3DBai0); UnCheckNumBtn(m_btn3DBai1); UnCheckNumBtn(m_btn3DBai2); UnCheckNumBtn(m_btn3DBai3); UnCheckNumBtn(m_btn3DBai4); UnCheckNumBtn(m_btn3DBai5); UnCheckNumBtn(m_btn3DBai6); UnCheckNumBtn(m_btn3DBai7); UnCheckNumBtn(m_btn3DBai8); UnCheckNumBtn(m_btn3DBai9); UnCheckNumBtn(m_btn3DShi0); UnCheckNumBtn(m_btn3DShi1); UnCheckNumBtn(m_btn3DShi2); UnCheckNumBtn(m_btn3DShi3); UnCheckNumBtn(m_btn3DShi4); UnCheckNumBtn(m_btn3DShi5); UnCheckNumBtn(m_btn3DShi6); UnCheckNumBtn(m_btn3DShi7); UnCheckNumBtn(m_btn3DShi8); UnCheckNumBtn(m_btn3DShi9); UnCheckNumBtn(m_btn3DGe0); UnCheckNumBtn(m_btn3DGe1); UnCheckNumBtn(m_btn3DGe2); UnCheckNumBtn(m_btn3DGe3); UnCheckNumBtn(m_btn3DGe4); UnCheckNumBtn(m_btn3DGe5); UnCheckNumBtn(m_btn3DGe6); UnCheckNumBtn(m_btn3DGe7); UnCheckNumBtn(m_btn3DGe8); UnCheckNumBtn(m_btn3DGe9); UnCheckNumBtn(m_btnDaBai); UnCheckNumBtn(m_btnXiaoBai); UnCheckNumBtn(m_btnDanBai); UnCheckNumBtn(m_btnShuangBai); UnCheckNumBtn(m_btnDaShi); UnCheckNumBtn(m_btnXiaoShi); UnCheckNumBtn(m_btnDanShi); UnCheckNumBtn(m_btnShuangShi); UnCheckNumBtn(m_btnDaGe); UnCheckNumBtn(m_btnXiaoGe); UnCheckNumBtn(m_btnDanGe); UnCheckNumBtn(m_btnShuangGe); // m_editDanShiHaoMa.SetWindowText(_T("")); m_richDanshiHaoma.SetWindowText(_T("")); } CString C3D::GetBaiString() { CString str; if (IsNumBtnCheck(m_btn3DBai0)) { str += _T("0"); } if (IsNumBtnCheck(m_btn3DBai1)) { str += _T("1"); } if (IsNumBtnCheck(m_btn3DBai2)) { str += _T("2"); } if (IsNumBtnCheck(m_btn3DBai3)) { str += _T("3"); } if (IsNumBtnCheck(m_btn3DBai4)) { str += _T("4"); } if (IsNumBtnCheck(m_btn3DBai5)) { str += _T("5"); } if (IsNumBtnCheck(m_btn3DBai6)) { str += _T("6"); } if (IsNumBtnCheck(m_btn3DBai7)) { str += _T("7"); } if (IsNumBtnCheck(m_btn3DBai8)) { str += _T("8"); } if (IsNumBtnCheck(m_btn3DBai9)) { str += _T("9"); } return str; } CString C3D::GetShiString() { CString str; if (IsNumBtnCheck(m_btn3DShi0)) { str += _T("0"); } if (IsNumBtnCheck(m_btn3DShi1)) { str += _T("1"); } if (IsNumBtnCheck(m_btn3DShi2)) { str += _T("2"); } if (IsNumBtnCheck(m_btn3DShi3)) { str += _T("3"); } if (IsNumBtnCheck(m_btn3DShi4)) { str += _T("4"); } if (IsNumBtnCheck(m_btn3DShi5)) { str += _T("5"); } if (IsNumBtnCheck(m_btn3DShi6)) { str += _T("6"); } if (IsNumBtnCheck(m_btn3DShi7)) { str += _T("7"); } if (IsNumBtnCheck(m_btn3DShi8)) { str += _T("8"); } if (IsNumBtnCheck(m_btn3DShi9)) { str += _T("9"); } return str; } CString C3D::GetGeString() { CString str; if (IsNumBtnCheck(m_btn3DGe0)) { str += _T("0"); } if (IsNumBtnCheck(m_btn3DGe1)) { str += _T("1"); } if (IsNumBtnCheck(m_btn3DGe2)) { str += _T("2"); } if (IsNumBtnCheck(m_btn3DGe3)) { str += _T("3"); } if (IsNumBtnCheck(m_btn3DGe4)) { str += _T("4"); } if (IsNumBtnCheck(m_btn3DGe5)) { str += _T("5"); } if (IsNumBtnCheck(m_btn3DGe6)) { str += _T("6"); } if (IsNumBtnCheck(m_btn3DGe7)) { str += _T("7"); } if (IsNumBtnCheck(m_btn3DGe8)) { str += _T("8"); } if (IsNumBtnCheck(m_btn3DGe9)) { str += _T("9"); } return str; } CString C3D::GetWanDesc() { CString strWanfa; switch(m_gameKind) { case enWF_ZhixuanFushi: strWanfa = _T("三星直选复式"); break; case enWF_ZhixuanDanshi: strWanfa = _T("三星直选单式"); break; case enWF_DingWeiDan: strWanfa = _T("定位胆"); break; case enWF_DaxiaoDanshuang: strWanfa = _T("大小单双"); break; case enWF_QiansanzusanFushi: strWanfa = _T("三星组选组三复式"); break; case enWF_QiansanzusanDanshi: strWanfa = _T("三星组选组三单式"); break; case enWF_QiansanzuliuFushi: strWanfa = _T("三星组选组六复式"); break; case enWF_QiansanzuliuDanshi: strWanfa = _T("三星组选组六单式"); break; case enWF_QianyizhixuanFushi: strWanfa = _T("前一直选"); break; case enWF_QianerzhixuanFushi: strWanfa = _T("前二直选复式"); break; case enWF_QianerzhixuanDanshi: strWanfa = _T("前二直选单式"); break; case enWF_Budingwei: strWanfa = _T("三星不定位"); break; case enWF_HouyizhixuanFushi: strWanfa = _T("后一直选"); break; case enWF_HouerzhixuanFushi: strWanfa = _T("后二直选复式"); break; case enWF_HouerzhixuanDanshi: strWanfa = _T("后二直选单式"); break; // case SanXingZhiXuanHeZhi: // strWanfa = _T("三星直选和值"); break; default:break; } return strWanfa; } tagEnumTreeNumbers C3D::GetWanFaByDesc(const CString& desc) { if (desc == _T("三星直选复式")) { return enWF_ZhixuanFushi; } else if(desc == _T("三星直选单式")) { return enWF_ZhixuanDanshi; } else if(desc == _T("三星组选组三复式")) { return enWF_QiansanzusanFushi; } else if(desc == _T("定位胆")) { return enWF_DingWeiDan; } else if(desc == _T("大小单双")) { return enWF_DaxiaoDanshuang; } else if(desc == _T("三星组选组三单式")) { return enWF_QiansanzusanDanshi; } else if(desc == _T("三星组选组六复式")) { return enWF_QiansanzuliuFushi; } else if(desc == _T("三星组选组六单式")) { return enWF_QiansanzuliuDanshi; } else if(desc == _T("前一直选")) { return enWF_QianyizhixuanFushi; } else if(desc == _T("前二直选复式")) { return enWF_QianerzhixuanFushi; } else if(desc == _T("前二直选单式")) { return enWF_QianerzhixuanDanshi; } else if(desc == _T("三星不定位")) { return enWF_Budingwei; } else if(desc == _T("后一直选")) { return enWF_HouyizhixuanFushi; } else if(desc == _T("后二直选复式")) { return enWF_HouerzhixuanFushi; } else if(desc == _T("后二直选单式")) { return enWF_HouerzhixuanDanshi; } else { return Invalid; } } void C3D::DrawLastKjHaoma(CDC* pDC, Graphics& graphics) { int nTimeLeft = GetKjShjDiff(); if (_tcscmp(m_lastExpect, m_kjXinxi[0].qihao) != 0) { _tcscpy_s(m_lastExpect, KJ_HAOMA_LENGTH, m_kjXinxi[0].qihao); m_bKaiJiangzhong=false; } else if(nTimeLeft == 0) { m_bKaiJiangzhong=true; } int oldBkMode = pDC->SetBkMode(TRANSPARENT); CFont* pOldFont = pDC->SelectObject(&m_KjInfoFont1); COLORREF oldTextClr = pDC->SetTextColor(RGB(255, 255, 255)); pDC->DrawText(_T("3D彩"), &rcCzh, DT_CENTER|DT_VCENTER|DT_SINGLELINE); CRect rcDi; rcDi.left = rcCzh.right+10; rcDi.right = rcDi.left+20; rcDi.top = rcCzh.top; rcDi.bottom = rcCzh.bottom; pDC->DrawText(_T("第"), &rcDi, DT_CENTER|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(RGB(253, 191, 6)); pDC->DrawText(m_lastExpect, &rcQiHao, DT_CENTER|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(RGB(255, 255, 255)); rcDi.left = rcQiHao.right-12; rcDi.right = rcDi.left+90; rcDi.top = rcCzh.top; rcDi.bottom = rcCzh.bottom; pDC->DrawText(_T("开奖号码"), &rcDi, DT_CENTER|DT_VCENTER|DT_SINGLELINE); pDC->SelectObject(&m_KjInfoFont1); CString strYg; CRect rcYuGao1; //strYg.Format(_T("正在销售")); //pDC->DrawText(strYg, &rcYuGao, DT_CENTER|DT_VCENTER|DT_SINGLELINE); strYg.Format(_T("第%s 下单时间"), GetNextExpect()); //pDC->SetTextColor(RGB(255, 125, 0)); rcYuGao1.left = rcYuGao.left+15; rcYuGao1.top = rcYuGao.top+40; rcYuGao1.bottom = rcYuGao.bottom+70; rcYuGao1.right = rcYuGao.right+50; pDC->DrawText(strYg, &rcYuGao, DT_CENTER|DT_VCENTER|DT_SINGLELINE); // strYg.Format(_T("距封单还有")); // //pDC->SetTextColor(RGB(255, 226, 109)); // rcYuGao1.left = rcYuGao1.left; // rcYuGao1.top = rcYuGao1.top+20; // rcYuGao1.bottom = rcYuGao1.bottom+20; // rcYuGao1.right = rcYuGao1.right; // pDC->DrawText(strYg, &rcYuGao1, DT_CENTER|DT_SINGLELINE); pDC->SelectObject(&m_KjInfoFont); strYg.Format(_T("%s"), GetKjShjDiffDesc()); pDC->SetTextColor(RGB(219, 219, 219)); rcYuGao1.left = rcYuGao1.left-30; rcYuGao1.top = rcYuGao1.top+12; rcYuGao1.bottom = rcYuGao1.bottom+3; rcYuGao1.right = rcYuGao1.right-30; pDC->DrawText(strYg, &rcYuGao1,DT_CENTER|DT_SINGLELINE); pDC->SetTextColor(oldTextClr); pDC->SelectObject(&pOldFont); pDC->SetBkMode(oldBkMode); CString str = m_kjXinxi[0].haoma; int index = 0; for (int i=0; i<str.GetLength(); i++) { if (iswdigit(str.GetAt(i))) { int num = _ttoi(CString(str.GetAt(i))); if (num >=0 && num < 10) { DrawBigNum(graphics, m_kjNumBig, Rect(kj_big_haoma_x + index * (m_bigNumWidth+2), kj_big_haoma_y, m_bigNumWidth, m_bigNumHeight), num); } index ++; } } } void C3D::DrawTopKjHaoma(CDC* pDC, Graphics& graphics) { CString strText; int oldBkMode = pDC->SetBkMode(TRANSPARENT); CFont *pOldFont = pDC->SelectObject(&m_smallNumfont); COLORREF oldTextClr = pDC->SetTextColor(RGB(250 ,250 ,250)); for (int cnt=0; cnt<4; cnt++) { CString str = m_kjXinxi[cnt].qihao; if(str.IsEmpty()) { continue; } CRect rcText(kj_small_haoma_x - 80, kj_small_haoma_y + cnt * (m_smallNumHeight + kj_small_haoma_row_span), kj_small_haoma_x + 80, kj_small_haoma_y + cnt * (m_smallNumHeight + kj_small_haoma_row_span) + m_smallNumHeight); pDC->DrawText(str, &rcText, DT_LEFT|DT_VCENTER|DT_SINGLELINE); str = m_kjXinxi[cnt].haoma; int index = 0; for (int i=0; i<str.GetLength(); i++) { if (iswdigit(str.GetAt(i))) { int num = _ttoi(CString(str.GetAt(i))); if (num >=0 && num < 10) { Rect rc(kj_small_haoma_x+10 + index * (m_smallNumWidth + kj_small_haoma_col_span), kj_small_haoma_y + cnt * (m_smallNumHeight + kj_small_haoma_row_span), m_smallNumWidth, m_smallNumHeight); DrawSmallNum(graphics, m_kjNumSmall, rc, num); } index ++; } } } pDC->DrawText(strText, &rcZongJinE, DT_CENTER|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(oldTextClr); pDC->SelectObject(pOldFont); pDC->SetBkMode(oldBkMode); } void C3D::DrawBigNum(Graphics& graphics, Bitmap* img, Rect& rc_dest, int num) { graphics.DrawImage(img, rc_dest, num*m_bigNumWidth, 0, m_bigNumWidth, m_bigNumHeight, UnitPixel); } void C3D::DrawSmallNum(Graphics& graphics, Bitmap* img, Rect& rc_dest, int num) { graphics.DrawImage(img, rc_dest, num*m_smallNumWidth, 0, m_smallNumWidth, m_smallNumHeight, UnitPixel); } void C3D::DrawZongZhushuJinE(CDC* pDC) { CString strText; int oldBkMode = pDC->SetBkMode(TRANSPARENT); CFont *pOldFont = pDC->SelectObject(&m_zongFont); COLORREF oldTextClr = pDC->SetTextColor(RGB(139, 137, 136)); strText.Format(_T("你选择了")); CRect rcZhu; rcZhu.CopyRect(rcZongZhuShu); rcZhu.left += 225; rcZhu.right += 475; pDC->DrawText(strText, &rcZhu, DT_LEFT|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(RGB(160, 8, 8)); strText.Format(_T("%d"), m_singlezhushu); rcZhu.left += 56; rcZhu.right += 56; pDC->DrawText(strText, &rcZhu, DT_LEFT|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(RGB(139, 137, 136)); rcZhu.left += strText.GetLength()*9; rcZhu.right += strText.GetLength()*9; strText.Format(_T("注")); pDC->DrawText(strText, &rcZhu, DT_LEFT|DT_VCENTER|DT_SINGLELINE); CRect rcRect; rcRect.left = rcZongZhuShu.left+27; rcRect.right = rcZongZhuShu.right+27; rcRect.top = rcZongZhuShu.top+15; rcRect.bottom = rcZongZhuShu.bottom+15; strText.Format(L"倍数:"); pDC->DrawText(strText, &rcRect, DT_CENTER|DT_VCENTER|DT_SINGLELINE); double danzhujine = 2.0; if(theAccount.Scoretype == MoShi_Yuan) { danzhujine = 2.0; } else if (theAccount.Scoretype == MoShi_Jiao) { danzhujine = 0.2; } else if(theAccount.Scoretype == MoShi_Fen) { danzhujine = 0.02; } else if(theAccount.Scoretype == MoShi_Li) danzhujine = 0.002; strText.Format(_T("共:")); pDC->DrawText(strText, &rcZongJinE, DT_LEFT|DT_VCENTER|DT_SINGLELINE); rcRect.CopyRect(rcZongJinE); rcRect.left += 17; rcRect.right += 17; pDC->SetTextColor(RGB(160, 8, 8)); strText.Format(_T("%.3lf"), m_singlezhushu * m_beishu * danzhujine); pDC->DrawText(strText, &rcRect, DT_LEFT|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(RGB(139, 137, 136)); rcRect.left += strText.GetLength()*8; rcRect.right += strText.GetLength()*8; strText.Format(_T("元")); pDC->DrawText(strText, &rcRect, DT_LEFT|DT_VCENTER|DT_SINGLELINE); strText.Format(_T("注数:"),m_zongZhuShu); pDC->DrawText(strText, &rcAllZongzhushu, DT_LEFT|DT_VCENTER|DT_SINGLELINE); rcRect.CopyRect(rcAllZongzhushu); rcRect.left += 32; rcRect.right += 32; pDC->SetTextColor(RGB(160, 8, 8)); strText.Format(_T("%d"),m_zongZhuShu); pDC->DrawText(strText, &rcRect, DT_LEFT|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(RGB(139, 137, 136)); rcZhu.CopyRect(rcAllZongzhushu); rcZhu.top += 20; rcZhu.bottom += 20; strText.Format(_T("合计:")); pDC->DrawText(strText, &rcZhu, DT_LEFT|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(RGB(160, 8, 8)); rcZhu.left += 32; rcZhu.right += 32; strText.Format(_T("%.3lf"),m_zongJine); pDC->DrawText(strText, &rcZhu, DT_LEFT|DT_VCENTER|DT_SINGLELINE); pDC->SetTextColor(oldTextClr); pDC->SelectObject(pOldFont); pDC->SetBkMode(oldBkMode); } //江苏快3:http://www.cailele.com/static/K3/newlyopenlist.xml bool C3D::LuckyNumCQSSC() { CString xmlurl = _T("http://www.cailele.com/static/ps/newlyopenlist.xml"); CString strPath; //文件路径 GetModuleFileName(NULL,strPath.GetBufferSetLength(MAX_PATH+1),MAX_PATH); strPath.ReleaseBuffer(); int pos = strPath.ReverseFind(_T('\\')); strPath = strPath.Left(pos)+ _T("\\p3.xml"); // if(FAILED(URLDownloadToFile(NULL, xmlurl, strPath, 0, NULL)) && _tcslen(m_lastExpect) != 0) // { // return false; // } CString strexpect; CString stropencode; CString stropentime; CString strall; if(!m_xml.Load(strPath)) { return false; } m_xml.ResetMainPos(); m_xml.FindElem(); int count = 0; while( m_xml.FindChildElem( _T("row") ) && count < Kj_XinXi_Count ) { strexpect = m_xml.GetChildAttrib(_T("expect")); //期号 stropencode = m_xml.GetChildAttrib(_T("opencode")); //号码 stropentime = m_xml.GetChildAttrib(_T("opentime")); //开奖时间 _tcscpy_s(m_kjXinxi[count].qihao, KJ_QIHAO_LENGTH, strexpect); _tcscpy_s(m_kjXinxi[count].haoma, KJ_HAOMA_LENGTH, stropencode); _tcscpy_s(m_kjXinxi[count].shijian, KJ_SHIJIAN_LENGTH, stropentime); count ++; } m_kjXinxiCont = count; if (_tcscmp(m_lastExpect, m_kjXinxi[0].qihao) != 0) { _tcscpy_s(m_lastExpect, KJ_HAOMA_LENGTH, m_kjXinxi[0].qihao); Invalidate(); } return true; } CString C3D::GetNextExpect() { if (_tcslen(m_lastExpect) == 0) { return _T("---"); } int iQh = _ttoi(m_lastExpect); iQh ++; if (GetKjShjDiff() < 1) { iQh ++; } CString rQh; rQh.Format(_T("%d"), iQh); return rQh; } CTime C3D::GetNextKjShj() { CString lastKjShj = m_kjXinxi[0].shijian; if(lastKjShj.IsEmpty()) { CTime t; theApp.GetTime(t); return t; } COleVariant vtime(lastKjShj); vtime.ChangeType(VT_DATE); COleDateTime time4 = vtime; SYSTEMTIME systime; VariantTimeToSystemTime(time4, &systime); CTime ctm(systime); ctm += timespan_kj_shj; return ctm; } long C3D::GetKjShjDiff() { if (_tcslen(m_lastExpect) == 0) { return 0; } CTime t; theApp.GetTime(t); CTimeSpan span = GetNextKjShj() - t; return (long)span.GetTotalSeconds() - 10 * 60; } CString C3D::GetKjShjDiffDesc() { if (_tcslen(m_lastExpect) == 0) { return _T("00:00"); } long secDiff = GetKjShjDiff(); if (secDiff < 0L) { return _T("00:00"); } int hour = secDiff / 3600; int tmp = secDiff % 3600; int minute = tmp / 60; int second = tmp % 60; CString str; str.Format(_T("%02d:%02d:%02d"), hour, minute, second); return str; } void C3D::SetLockText() { m_btnLock.SetWindowText(mapFandian[m_gameKind]); m_btWxzxTip.ShowWindow(SW_SHOW); if(m_gameKind == enWF_ZhixuanFushi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从百位、十位、个位至少各选择一个号码,所选号码与开奖号码相同,且顺序一致,即为中奖")); } else if(m_gameKind == enWF_ZhixuanDanshi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("手动输入至少一个三位数字,所选号码与开奖号码相同,且顺序一致,即为中奖")); } else if(m_gameKind == enWF_QiansanzusanFushi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从0-9中选择两个或两个以上的号码,所选号码与开奖号码相同,顺序不限,即为中奖")); } else if(m_gameKind == enWF_QiansanzusanDanshi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("手动输入至少一个三位数字,需要有一个重复数字 如:544,所选号码与开奖号码相同,且顺序一致,即为中奖")); } else if(m_gameKind == enWF_QiansanzuliuFushi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从0-9中选择三个或三个以上的号码,所选号码与开奖号码相同,顺序不限,即为中奖")); } else if(m_gameKind == enWF_QiansanzuliuDanshi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("手动输入至少一个三位数字,不能有重复数字,所选号码与开奖号码相同,且顺序一致,即为中奖")); } else if(m_gameKind == enWF_QianyizhixuanFushi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从0-9中至少选择一个号码,所选号码与开奖号码第一位相同,即为中奖")); } else if(m_gameKind == enWF_QianerzhixuanFushi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从十位和百位中各选择至少一个号码,所选号码与开奖号码前两位相同,且顺序一致,即为中奖")); } else if(m_gameKind == enWF_QianerzhixuanDanshi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("手动输入至少一个两位位数字,所选号码与开奖号码前两位相同,且顺序一致,即为中奖")); } else if(m_gameKind == enWF_Budingwei) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从0-9中选择至少一个号码,所选号码与开奖号码任意一位相同,即为中奖")); } else if(m_gameKind == enWF_HouyizhixuanFushi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从0-9中至少选择一个号码,所选号码与开奖号码最后一位相同,即为中奖")); } else if(m_gameKind == enWF_HouerzhixuanFushi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从十位和个位中各选择至少一个号码,所选号码与开奖号码后两位相同,且顺序一致,即为中奖")); } else if(m_gameKind == enWF_HouerzhixuanDanshi) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("手动输入至少一个两位位数字,所选号码与开奖号码后两位相同,且顺序一致,即为中奖")); } else if(m_gameKind == enWF_DingWeiDan) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从百位、十位、个位至少选择一个号码,所选号码与开奖号码对应位置相同,即为中奖")); } else if(m_gameKind == enWF_DaxiaoDanshuang) { m_ToolTipCtrl.AddTool(&m_btWxzxTip,TEXT("从百位、十位、个位选择一个号码,所选号码与开奖号码对应的大小单双相同,即为中奖")); } // OnBnClickedBtnClsList(); // CString str; // int index = (CZ3D << 16) | (unsigned short)m_gameKind; // str.Format(_T("%.2lf/%.2lf"), theBonus[index], theAccount.fandian*100.0); // // m_btnLock.SetWindowText(str + _T("%")); } bool C3D::GetZuSanHaoma(CStringArray& strArr) { CString line; m_richDanshiHaoma.GetWindowText(line); if(line.GetLength() > 2999) { MyMessageBox(_T("您输入的号码太多了")); return false; } if (!GetHaomaStrs(strArr, line, 3)) { return false; } int count = strArr.GetCount(); for(int i=0; i<count; i++) { if (!IsZuSanHaoma(strArr[i])) { return false; } } return true; } bool C3D::GetZuSanHaoma(CString& haoma, int& zhushu) { CStringArray strArr; if(!GetZuSanHaoma(strArr)) { zhushu = 0; return false; } int count = strArr.GetCount(); for(int i=0; i<count; i++) { CString strTemp; strTemp = strArr.GetAt(i); int nLength = strTemp.GetLength(); for(int j = 0;j < nLength;j++) { haoma += strTemp.GetAt(j); if (j != (nLength - 1)) { haoma += _T(","); } if (j == (nLength - 1) && i != count-1) { haoma += _T("|"); } } } zhushu = count; return true; } bool C3D::IsZuSanHaoma(const CString& str) { if(str.GetLength() != 3) { return false; } TCHAR ch0 = str.GetAt(0); TCHAR ch1 = str.GetAt(1); TCHAR ch2 = str.GetAt(2); return (ch0 == ch1 || ch0 == ch2 || ch1 == ch2) && (ch0 != ch1 || ch0 != ch2 || ch1 != ch2); } #include <algorithm> #include <functional> int isnum1(string strinfo) { string strset="1234567890"; int first = strinfo.find_first_of(strset); if(first == string::npos) { return -1; } return 0; } int SplitString3(const string &srcStr, vector<string> &destVec, const string splitStr="|") { if(srcStr.size()==0 || srcStr.empty()) { return false; } size_t oldPos,newPos; oldPos=0; newPos=0; string tempData; while(1) { newPos=srcStr.find(splitStr,oldPos); if(newPos!=string::npos) { tempData = srcStr.substr(oldPos,newPos-oldPos); destVec.push_back(tempData); oldPos=newPos+splitStr.size(); } else if(oldPos<=srcStr.size()) { tempData= srcStr.substr(oldPos); destVec.push_back(tempData); break; } else { break; } } return true; } bool C3D::GetDanShiHaoma(CString& haoma, int size, int& zhushu) { CStringArray strArr; CString line; // m_editDanShiHaoMa.GetWindowText(line); m_richDanshiHaoma.GetWindowText(line); if(line.GetLength() > 2999) { MyMessageBox(_T("您输入的号码太多了")); return false; } if (!GetHaomaStrs(strArr, line, size)) { return false; } int count = strArr.GetCount(); for(int i=0; i<count; i++) { CString strTemp; strTemp = strArr.GetAt(i); int nLength = strTemp.GetLength(); for(int j = 0;j < nLength;j++) { haoma += strTemp.GetAt(j); if (j != (nLength - 1)) { haoma += _T(","); } if (j == (nLength - 1) && i != count-1) { haoma += _T("|"); } } } zhushu = count; return true; } bool C3D::GetHaomaStrs(CStringArray& strArr, CString line, int size) { int len = line.GetLength(); CString subStr; int nTempHaoma[10]; int nCount = 0; CString strTemp; for (int i=0; i<len; i++) { int nTmp = 10; if (iswdigit(line.GetAt(i))) { subStr += line.GetAt(i); strTemp = line.GetAt(i); nTmp = _ttoi(strTemp); if(m_gameKind == enWF_QiansanzuliuDanshi) { for(int a = 0;a < nCount;a++) { if(nTmp == nTempHaoma[a]) { MyMessageBox(L"您输入的号码有重复数字 "); return false; } } } else if(m_gameKind == enWF_QiansanzusanDanshi && nCount == 2) { nTempHaoma[nCount++] = nTmp; bool bSuit = false; for(int a = 0;a < nCount;a++) { int nTempn = nTempHaoma[a]; for(int b = a+1;b <nCount+1;b++) { int nTempb = nTempHaoma[b]; if(nTempn == nTempHaoma[b]) { bSuit = true; break; } } } if(!bSuit) { MyMessageBox(L"您输入的号码不符合!"); return false; } } nTempHaoma[nCount++] = nTmp; if (subStr.GetLength() > size) { return false; } } else { nTmp = 10; nCount=0; if (subStr.GetLength() != size && subStr.GetLength() != 0) { return false; } if (subStr.GetLength() == size) { strArr.Add(subStr); subStr = _T(""); } } } if (subStr.GetLength() != size && subStr.GetLength() != 0) { return false; } if (subStr.GetLength() == size) { strArr.Add(subStr); subStr = _T(""); } return true; } //初始化玩法信息 void C3D::InitWanFaMoShi() { theGameKind[(CZ3D << 16) | (unsigned short)enWF_ZhixuanFushi] = _T("三星直选复式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_ZhixuanDanshi] = _T("三星直选单式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_DingWeiDan] = _T("定位胆"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_DaxiaoDanshuang] = _T("大小单双"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_QiansanzusanFushi] = _T("三星组选组三复式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_QiansanzusanDanshi] = _T("三星组选组三单式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_QiansanzuliuFushi] = _T("三星组选组六复式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_QiansanzuliuDanshi] = _T("三星组选组六单式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_QianyizhixuanFushi] = _T("前一直选"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_QianerzhixuanFushi] = _T("前二直选复式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_QianerzhixuanDanshi] = _T("前二直选单式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_Budingwei] = _T("三星不定位"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_HouyizhixuanFushi] = _T("后一直选"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_HouerzhixuanFushi] = _T("后二直选复式"); theGameKind[(CZ3D << 16) | (unsigned short)enWF_HouerzhixuanDanshi] = _T("后二直选单式"); } //读取事件 bool C3D::OnEventMissionRead(TCP_Command Command, VOID * pData, WORD wDataSize) { //命令处理 if (Command.wMainCmdID==MDM_GP_USER_SERVICE) { switch (Command.wSubCmdID) { case SUB_GP_GET_MORE_RECORD_RET: { ASSERT((wDataSize % sizeof(CMD_GP_GetMoreRecordRet))==0); if((wDataSize %sizeof(CMD_GP_GetMoreRecordRet)) !=0)return false; int nCount = wDataSize/sizeof(CMD_GP_GetMoreRecordRet); for(int i = 0;i < nCount;i++) { CMD_GP_GetMoreRecordRet *pGetMoreRecord = ((CMD_GP_GetMoreRecordRet*)pData+i); m_DlgOpenRecord.SetOpenRecord(pGetMoreRecord,i); } m_DlgOpenRecord.ShowWindow(SW_SHOW); return true; } case SUB_GP_GET_USER_FANDIAN_RET: { ASSERT((wDataSize % sizeof(CMD_GR_GetUserFandianRet))==0); if((wDataSize %sizeof(CMD_GR_GetUserFandianRet)) !=0)return false; mapBonus.clear(); mapDanweiFandian.clear(); mapPercent.clear(); mapFandian.clear(); WORD wCount = wDataSize / sizeof(CMD_GR_GetUserFandianRet); for(int i = 0;i < wCount;i++) { CMD_GR_GetUserFandianRet* pGetUserFandian = ((CMD_GR_GetUserFandianRet*)pData+i); int nKindid = pGetUserFandian->n_t_kindid; nPercent = pGetUserFandian->f_t_bonusPercent; fDanweiFandian = pGetUserFandian->f_t_fandian; nBonus = pGetUserFandian->f_t_bonus; mapPercent.insert(make_pair(nKindid,nPercent)); mapDanweiFandian.insert(make_pair(nKindid,fDanweiFandian)); mapBonus.insert(make_pair(nKindid,nBonus)); CString strText; strText.Format(L"%.2lf/%.2lf", nBonus, nPercent); strText+=_T("%"); mapFandian.insert(make_pair(nKindid,strText)); } m_btnLock.SetWindowText(mapFandian[m_gameKind]); m_btnLock.EnableTextButton(false); return true; } case SUB_GP_GET_MAP_BONUS_RET: { ASSERT(wDataSize % sizeof(CMD_GR_GetMapBonusRet)==0); if(wDataSize % sizeof(CMD_GR_GetMapBonusRet)!=0) return false; int nCount = wDataSize/sizeof(CMD_GR_GetMapBonusRet); for(int i = 0;i < nCount;i++) { CMD_GR_GetMapBonusRet* pGetMapBonus = ((CMD_GR_GetMapBonusRet*)pData+i); int index = (pGetMapBonus->n_t_type_id << 16) | (unsigned short)pGetMapBonus->n_t_kind_id; theBonus[index] = pGetMapBonus->f_t_bonus; } return true; } case SUB_GP_SET_USER_BONUS_RET: { ASSERT(wDataSize >= sizeof(CMD_GR_SetUserBonusRet)); if(wDataSize < sizeof(CMD_GR_SetUserBonusRet)) return false; CMD_GR_SetUserBonusRet* pSetUserBonus = (CMD_GR_SetUserBonusRet*)pData; int nResult = pSetUserBonus->n_t_result; if(nResult==0) { // SetLockText(m_fBonus, m_fPercent); MyMessageBox(L"返点数据修改成功!", L"温馨提示"); SendToServer(6); } else if(nResult == 1) { MyMessageBox(L"你修改的返点不符合!", L"提示"); } else if(nResult == 2) { MyMessageBox(L"此玩法不支持修改返点!", L"提示"); } else { MyMessageBox(L"返点修改失败!",L"提示"); } return true; } case SUB_GP_TOUZHU_CQSSC_RET: { ASSERT(wDataSize >= sizeof(CMD_GR_TouzhuRes)); if(wDataSize < sizeof(CMD_GR_TouzhuRes)) return false; CMD_GR_TouzhuRes* pTouzhuRes = (CMD_GR_TouzhuRes*)pData; LONG lResult = pTouzhuRes->lResult; m_DlgStatus.HideStatusWindow(); if (lResult == 0) { if((pTouzhuRes->nSign != m_nTzhSign1)) { m_nTzhSign1 = pTouzhuRes->nSign; m_list3D.DeleteAllItems(); MyMessageBox(_T("成功投注!"), _T("【祝君好运 投注成功】")); SendToServer(7); } } else if(lResult == 1) { MyMessageBox(_T("注数错误,或者投注内容不正确!")); } else if(lResult == 2) { MyMessageBox(_T("该期号已经开奖,投注失败!")); } else if(lResult == 3) { MyMessageBox(_T("该期号已经过期,投注失败!")); } else if(lResult == 4) { MyMessageBox(_T("由于期号出现错误,投注失败!")); } else if(lResult == 5) { MyMessageBox(_T("无法获取玩法对应的奖金,投注失败!")); } else if(lResult == 6) { MyMessageBox(_T("其他错误,有订单没有成功提交!")); } else if(lResult == 7) { MyMessageBox(_T("其他错误,有订单没有成功提交!")); } else if(lResult == 8) { MyMessageBox(_T("投注过程返回提示:余额不足")); } else if(lResult == 9) { MyMessageBox(_T("其他错误,有订单没有成功提交!")); } else if(lResult == 10) { MyMessageBox(_T("对不起,您的账户没有投注权限!")); } else if(lResult == 11) { MyMessageBox(_T("注数不正确,投注失败!")); } else if(lResult == 12) { MyMessageBox(_T("对不起,该玩法维护中,请选择其他玩法进行投注!")); } else if(lResult>=20 && lResult <= 30) { MyMessageBox(_T("该账户没有投注权限!")); } else if(lResult == 111) { CInformation information; int nResult = information.ShowMessageBox(_T("投注未成功!由于您密码设置过于简单,请设置复杂登陆密码和取款密码!"),MB_ICONWARNING,30); if(nResult==1) { CWnd* pParent = GetParent(); if(pParent!=NULL) { pParent->SendMessage(IDM_SHOW_XGMM,0,0); } } } else if(lResult > 18) { CString strLog; int nFandian = 1900+lResult*2; strLog.Format(L"抱歉返点在%d以上的玩家不能投注!",nFandian); MyMessageBox(strLog); } else { if(m_bShowFail) { MyMessageBox(_T("有订单未成功提交!")); m_bShowFail=false; } } return true; } } } return false; } VOID C3D::SendToServer(int nSendType) { if(nSendType == 1) { m_DlgStatus.ShowStatusWindow(TEXT("正在提交数据,请稍候...")); int itm_cnt = m_list3D.GetItemCount(); int nNowKind = 10000; int nNowBeishu = 100000; int nNowMoshi = 10000; CString strTouZhuhaoma; map<int,int> mapHaoma; mapHaoma.clear(); for(int i = 0;i < itm_cnt;i++) { strTouZhuhaoma.Empty(); CString strWanfa = m_list3D.GetItemText(i, 3); CString strBeishu = m_list3D.GetItemText(i, 5); CString strMoshi = m_list3D.GetItemText(i, 1); int nKind = GetWanFaByDesc(strWanfa); int nBeishu = _ttoi(strBeishu); int nMoshi = GetMoshiRet(strMoshi); if(nNowKind == nKind && nNowBeishu == nBeishu && nNowMoshi == nMoshi && nNowMoshi!= 10000 && nNowBeishu != 100000 && nNowKind != 10000&&nNowKind != SSC_LongHu) continue; bool bContinue = false; for (map<int,int>::iterator pos = mapHaoma.begin(); pos != mapHaoma.end();++pos) { if(i == pos->second) { bContinue = true; break; } } if(bContinue) continue; nNowBeishu = nBeishu; nNowKind = nKind; nNowMoshi = nMoshi; int nZhushu = 0; for(int j = i;j<itm_cnt;j++) { CString wanfa = m_list3D.GetItemText(j, 3); int kind = GetWanFaByDesc(wanfa); CString sbeishu = m_list3D.GetItemText(j, 5); int beishu = _ttoi(sbeishu); CString sMoshi = m_list3D.GetItemText(j, 1); int scoremoshi = 0; scoremoshi = GetMoshiRet(sMoshi); if (kind == nNowKind && beishu == nNowBeishu&& scoremoshi == nNowMoshi) { CString strZhu = m_list3D.GetItemText(j, 4); nZhushu += _ttoi(strZhu); int nSize = mapHaoma.size(); mapHaoma[nSize] = j; CString haoma = m_list3D.GetItemText(j, 0); if(nKind == enWF_DaxiaoDanshuang) { CString strTemp = haoma; strTemp.Replace(L"大",L"9"); strTemp.Replace(L"小",L"1"); strTemp.Replace(L"单",L"3"); strTemp.Replace(L"双",L"2"); haoma = strTemp; } strTouZhuhaoma+= haoma; strTouZhuhaoma+=TEXT("|"); } } int nSendCount = 0; int nEnd = 1; CMD_GP_TouZhuCQSSC_Dan TouzhuCQSSC; ZeroMemory(&TouzhuCQSSC,sizeof(CMD_GP_TouZhuCQSSC_Dan)); TouzhuCQSSC.dwUserID = theAccount.user_id; TouzhuCQSSC.nBeitou = nNowBeishu; TouzhuCQSSC.nGameKind = nNowKind; TouzhuCQSSC.nGameType = CZ3D; TouzhuCQSSC.nMoshi = nNowMoshi; TouzhuCQSSC.nSign = m_nTzhSign; CString strQiHao = GetNextExpect(); string strAllHaoma; ChangeStringToA(strTouZhuhaoma, strAllHaoma); string strQi; ChangeStringToA(strQiHao, strQi); memcpy(TouzhuCQSSC.strQishu ,strQi.c_str(),strQi.length()); if(strTouZhuhaoma.IsEmpty()) { m_DlgStatus.HideStatusWindow(); MyMessageBox(L"你还未选择号码,请选择!"); return ; } byte pDestBuffer[102400]; int nLen = CWHService::LZCompressData((byte*)strAllHaoma.c_str(), strAllHaoma.length(), pDestBuffer, sizeof(pDestBuffer)); int nSendSize = 0; TouzhuCQSSC.nEnd = 1; if(m_zongZhuShu<=0) { m_DlgStatus.HideStatusWindow(); OnBnClickedBtnClsList(); return; } TouzhuCQSSC.nZhushu = nZhushu; int nSize = sizeof(TouzhuCQSSC.strHaoma); DWORD dwTick=GetTickCount(); int nHaoMaLen = 0; nHaoMaLen = min(nSize,nLen-nSendSize); TouzhuCQSSC.nHaoMaLen = nHaoMaLen; //nLen; TouzhuCQSSC.nIndex = nSendCount; memset(TouzhuCQSSC.strHaoma, 0, sizeof(TouzhuCQSSC.strHaoma)); memcpy((byte*)TouzhuCQSSC.strHaoma, pDestBuffer+nSendSize, nSize); if(nSendSize + nSize >= nLen) TouzhuCQSSC.nEnd = 0; CPlatformFrame *pPlatformFrame = CPlatformFrame::GetInstance(); bool bSuccess = pPlatformFrame->m_MissionManager.SendData(MDM_GP_USER_SERVICE,SUB_GP_TOUZHU_CQSSC_DAN,&TouzhuCQSSC,sizeof(CMD_GP_TouZhuCQSSC_Dan)); m_bShowFail=true; nSendSize += nHaoMaLen; nSendCount++; //m_bCanSend = true; } m_bShowFail = true; OnBnClickedBtnClsList(); m_nTzhSign ++; } if(nSendType == 4) { int nItemCount = m_list3D.GetItemCount(); CMD_GP_TouZhuCQSSC_Zhuihao TouzhuCQSSC; ZeroMemory(&TouzhuCQSSC,sizeof(CMD_GP_TouZhuCQSSC_Zhuihao)); TouzhuCQSSC.dwUserID = theAccount.user_id; TouzhuCQSSC.nGameType = CZ3D; TouzhuCQSSC.nSign = m_nTzhSign; if(m_bZhuiZjtz) TouzhuCQSSC.bZhuihao = GetTickCount(); else TouzhuCQSSC.bZhuihao = 2; for(int n=0; n< nItemCount; n++) { int nSendCount = 0; int nEnd = 1; CString wanfa = m_list3D.GetItemText(n, 3); int kind = GetWanFaByDesc(wanfa); TouzhuCQSSC.nGameKind = kind; CString moshi = m_list3D.GetItemText(n, 1); int nScoreType = GetMoshiRet(moshi); TouzhuCQSSC.nMoshi = nScoreType; m_strHaoma = vecAllNums[nItemCount-n-1].c_str(); if(m_strHaoma.IsEmpty()) { m_DlgStatus.HideStatusWindow(); MyMessageBox(L"你还未选择号码,请选择!"); OnBnClickedBtnClsList(); return ; } if(m_strHaoma[m_strHaoma.GetLength()-1] != '|') m_strHaoma+=TEXT("|"); string strAllHaoma; ChangeStringToA(m_strHaoma, strAllHaoma); memset(TouzhuCQSSC.strQishu,0,sizeof(TouzhuCQSSC.strQishu)); CString strQiHao; // if(m_TypeID == CZChongQingSSC) // strQiHao = m_chqRule.GetNextExpect(); // else if(m_TypeID == CZ_TianJinSSC) // strQiHao = m_jxRule.GetNextExpect(); // else if(m_TypeID == CZXinJiangSSC) // strQiHao = m_xjRule.GetNextExpect(); // else if(m_TypeID == CZ_FENFEN_CAI) // strQiHao = m_ffcRule.GetNextExpect(); // else if(m_TypeID == CZ_WUFEN_CAI) // strQiHao = m_wfcRule.GetNextExpect(); // // string sNowQi; // ChangeStringToA(strQiHao,sNowQi); string sNowQi; for(int o=0; o< vecData2.size(); o++) { string strQi; ChangeStringToA(vecData2[o].c_str(),strQi); if(strQi < sNowQi) { MyMessageBox(L"订单期号有误!可能原因,该期已经停止投注!"); OnBnClickedBtnClsList(); m_DlgStatus.HideStatusWindow(); return ; } memcpy(TouzhuCQSSC.strQishu[o],strQi.c_str(),strQi.length()); TouzhuCQSSC.nBeitou[o] = _ttoi(vecData1[o].c_str());; } byte pDestBuffer[102400]; int nLen = CWHService::LZCompressData((byte*)strAllHaoma.c_str(), strAllHaoma.length(), pDestBuffer, sizeof(pDestBuffer)); int nSendSize = 0; TouzhuCQSSC.nEnd = 1; if(m_zongZhuShu<=0) { m_DlgStatus.HideStatusWindow(); OnBnClickedBtnClsList(); return; } int nZhushu = 0; CString strZhu = m_list3D.GetItemText(n, 4); nZhushu += _ttoi(strZhu); TouzhuCQSSC.nZhushu = nZhushu; int nSize = sizeof(TouzhuCQSSC.strHaoma); DWORD dwTick=GetTickCount(); while (nSendSize < nLen) { while ((GetTickCount() - dwTick ) < 30000) { MSG msg; if(GetMessage (&msg, NULL, 0, 0)) { TranslateMessage (&msg) ; DispatchMessage (&msg) ; } // if(m_bCanSend) break; } int nHaoMaLen = 0; nHaoMaLen = min(nSize,nLen-nSendSize); TouzhuCQSSC.nHaoMaLen = nHaoMaLen; //nLen; TouzhuCQSSC.nIndex = nSendCount; memset(TouzhuCQSSC.strHaoma, 0, sizeof(TouzhuCQSSC.strHaoma)); memcpy((byte*)TouzhuCQSSC.strHaoma, pDestBuffer+nSendSize, nSize); if(nSendSize + nSize >= nLen) TouzhuCQSSC.nEnd = 0; CPlatformFrame *pPlatformFrame = CPlatformFrame::GetInstance(); bool bSuccess = pPlatformFrame->m_MissionManager.SendData(MDM_GP_USER_SERVICE,SUB_GP_TOUZHU_CQSSC_ZHUIHAO,&TouzhuCQSSC,sizeof(CMD_GP_TouZhuCQSSC_Zhuihao)); m_bShowFail=true; nSendSize += nHaoMaLen; //m_bCanSend = false; nSendCount++; } } OnBnClickedBtnClsList(); m_nTzhSign++; m_DlgStatus.ShowStatusWindow(TEXT("正在提交数据,请稍候...")); m_list3D.DeleteAllItems(); return; } if(nSendType == 5) { CMD_GP_SetUserBonus SetUserBonus; ZeroMemory(&SetUserBonus,sizeof(SetUserBonus)); SetUserBonus.n_t_userid = theAccount.user_id; SetUserBonus.n_t_type_id = CZ3D; SetUserBonus.n_t_kind_id = m_gameKind; SetUserBonus.f_t_bonus = m_fBonus; SetUserBonus.f_bonuspercent = m_fPercent; //发送数据 CPlatformFrame *pPlatformFrame = CPlatformFrame::GetInstance(); pPlatformFrame->m_MissionManager.SendData(MDM_GP_USER_SERVICE,SUB_GP_SET_USER_BONUS,&SetUserBonus,sizeof(SetUserBonus)); return; } if(nSendType == 6) { CMD_GP_GetUserFandian GetUserFandian; ZeroMemory(&GetUserFandian,sizeof(GetUserFandian)); GetUserFandian.n_t_userid = theAccount.user_id; GetUserFandian.n_t_type_id = CZ3D; GetUserFandian.n_t_kind_id = m_gameKind; //发送数据 CPlatformFrame *pPlatformFrame = CPlatformFrame::GetInstance(); pPlatformFrame->m_MissionManager.SendData(MDM_GP_USER_SERVICE,SUB_GP_GET_USER_FANDIAN,&GetUserFandian,sizeof(GetUserFandian)); return; } if(nSendType == 8) { CMD_GP_GetMoreRecord GetMoreRecord; ZeroMemory(&GetMoreRecord,sizeof(GetMoreRecord)); GetMoreRecord.n_t_type = CZ3D; CPlatformFrame *pPlatformFrame = CPlatformFrame::GetInstance(); pPlatformFrame->m_MissionManager.SendData(MDM_GP_USER_SERVICE,SUB_GP_GET_MORE_RECORD,&GetMoreRecord,sizeof(GetMoreRecord)); return; } } bool C3D::ChangeStringToA(CString strInput, string& strOutput) { int len=WideCharToMultiByte(CP_ACP,0,LPCWSTR(strInput),-1,NULL,0,NULL,NULL); char *str=new char[len]; memset(str,0,len); WideCharToMultiByte(CP_ACP,0,LPCWSTR(strInput),-1,str,len,NULL,NULL); strOutput=str; delete[] str; return true; } //设置返点 void C3D::OnBnClickedBtnLock() { int index = (CZ3D << 16) | (unsigned short)m_gameKind; CDlgFandian dlg; dlg.SetBonus(mapBonus[m_gameKind], theBonus[index], mapPercent[m_gameKind], theAccount.fandian*100.0, mapDanweiFandian[m_gameKind]); if(IDOK == dlg.DoModal()) { dlg.GetBonus(m_fBonus, m_fPercent); SendToServer(5); } } //倍投加 void C3D::OnBnClickedBeiTouJia() { CString strBeishu; m_beishu += 1; strBeishu.Format(L"%d",m_beishu); m_editBeiShu.SetWindowText(strBeishu); return; } //倍投减 void C3D::OnBnClickedBeiTouJian() { CString strBeishu; m_beishu -= 1; if(m_beishu<1) { m_beishu = 1; } strBeishu.Format(L"%d",m_beishu); m_editBeiShu.SetWindowText(strBeishu); return; } BOOL C3D::OnCommand(WPARAM wParam, LPARAM lParam) { //变量定义 UINT nCommandID=LOWORD(wParam); if((nCommandID >= IDC_BTN_BAI_3D_0 && nCommandID <= IDC_BTN_GE_3D_9)||(nCommandID >= IDC_BTN_DA_SHI && nCommandID <= IDC_BTN_SHUANG_GE)||(nCommandID >= IDC_BTN_DA_BAI && nCommandID <= IDC_BTN_SHUANG_BAI)) { Get3dZhushu(CZ3D,m_gameKind); } return __super::OnCommand(wParam,lParam);; } int C3D::Get3dZhushu(int nTypeID,int nKindID) { CString strBai = GetBaiString(); CString strShi = GetShiString(); CString strGe = GetGeString(); if(nKindID == enWF_ZhixuanFushi) { m_singlezhushu = strBai.GetLength() * strShi.GetLength() * strGe.GetLength(); if(m_singlezhushu > 800) { MyMessageBox(_T("你选择的号码超过限制注数800注,请重新输入!")); m_singlezhushu = 0; OnBnClickedBtnClsList(); return m_singlezhushu; } } else if (enWF_QiansanzusanFushi == nKindID) //三星组三复式 { if (strBai.GetLength() < 2) { return 0; } m_singlezhushu = strBai.GetLength() * (strBai.GetLength() - 1); } else if (enWF_QiansanzuliuFushi == nKindID) //三星组六复式 { if (strBai.GetLength() < 3) { return 0; } m_singlezhushu = strBai.GetLength() * (strBai.GetLength() - 1) * (strBai.GetLength() - 2) / 6; } else if (enWF_QianyizhixuanFushi == nKindID) //前一直选 { m_singlezhushu = strBai.GetLength(); if(m_singlezhushu > 8) { MyMessageBox(_T("你选择的号码超过限制注数8注,请重新输入!")); return 0; } } else if (enWF_QianerzhixuanFushi == nKindID) //前二直选复式 { m_singlezhushu = strBai.GetLength() * strShi.GetLength(); if(m_singlezhushu > 80) { MyMessageBox(_T("你选择的号码超过限制注数80注,请重新输入!")); return 0; } } else if (enWF_DingWeiDan == nKindID) //定位胆 { m_singlezhushu = strBai.GetLength() + strShi.GetLength() + strGe.GetLength(); if(m_singlezhushu > 24) { MyMessageBox(_T("你选择的号码超过限制注数24注,请重新输入!")); return 0; } } else if(enWF_DaxiaoDanshuang == nKindID) { CString strBaiDXDS = GetBaiDxdshString(); CString strShiDXDS = GetShiDxdshString(); CString strGeDXDS = GetGeDxdshString(); int nBaiLength = strBaiDXDS.GetLength(); int nShiLength = strShiDXDS.GetLength(); int nGeLength = strGeDXDS.GetLength(); if(nBaiLength>1||nShiLength>1||nGeLength>1) { MyMessageBox(_T("大小单双每位最多只能选择一个号码")); return 0; } m_singlezhushu = nBaiLength + nShiLength + nGeLength; } else if (enWF_Budingwei == nKindID) //三星不定位 { int nLength = strBai.GetLength(); m_singlezhushu = nLength; } else if (enWF_HouyizhixuanFushi == nKindID) //后一直选 { m_singlezhushu = strGe.GetLength(); if(m_singlezhushu > 8) { MyMessageBox(_T("你选择的号码超过限制注数8注,请重新输入!")); return 0; } } else if (enWF_HouerzhixuanFushi == nKindID) //后二直选复式 { m_singlezhushu = strShi.GetLength() * strGe.GetLength(); if(m_singlezhushu > 80) { MyMessageBox(_T("你选择的号码超过限制注数80注,请重新输入!")); return 0; } } CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=200; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); return m_singlezhushu; } LRESULT C3D::onBnCLick( WPARAM wParam, LPARAM lParam ) { int nItem = (int)wParam; int nSubItem = (int)lParam; //OnBnClickedBtnDelSel(); nSubItem--; int zhushu = _ttoi(m_list3D.GetItemText(nItem, 4)); m_zongZhuShu -= zhushu; m_list3D.deleteItemEx( nItem ); int nItemCount = m_list3D.GetItemCount(); m_zongJine = 0.00f; for(int i = 0;i < nItemCount;i++) { CString strBeiSHu = m_list3D.GetItemText(i,5); CString strZhuSHu = m_list3D.GetItemText(i,4); int beishu = _ttoi(strBeiSHu); int zhushu = _ttoi(strZhuSHu); CString strMoshi = m_list3D.GetItemText(i,1); int nMoshi = GetMoshiRet(strMoshi); double danzhujine = 2.0; if(nMoshi == MoShi_Yuan) { danzhujine = 2.0; } else if (nMoshi == MoShi_Jiao) { danzhujine = 0.2; } else if(nMoshi == MoShi_Fen) { danzhujine = 0.02; } else if(nMoshi == MoShi_Li) danzhujine = 0.002; m_zongJine += zhushu*beishu*danzhujine; } CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=400; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); rcInvali.CopyRect(rcAllZongzhushu); rcInvali.bottom += 20; InvalidateRect(&rcInvali); // m_listChqSSC.DeleteItem(nItem); if(vecAllNums.size() >0) { int nSize = vecAllNums.size(); nSize -=1; vector<wstring>::iterator iter = vecAllNums.begin()+nSize-nItem; vecAllNums.erase(iter); } return 0; } void C3D::OnEnChangeRichEditDanshiInput() { m_singlezhushu = GetDanShiZhusu(m_gameKind); return ; } int C3D::GetDanShiZhusu(int nKind) { m_singlezhushu = 0; CString strHaoma; m_richDanshiHaoma.GetWindowText(strHaoma); strHaoma.Replace(L"\r",L" "); strHaoma.Replace(L"\n",L" "); if(nKind == enWF_ZhixuanDanshi) { string strGetHaoma; ChangeStringToA(strHaoma,strGetHaoma); // string::iterator new_end = std::remove_if(strGetHaoma.begin(), strGetHaoma.end(), bind2nd(equal_to <char>(), '\r')); // // strGetHaoma.erase(new_end, strGetHaoma.end()); // string splitStr=" "; bool bSuit = true; size_t oldPos,newPos; oldPos=0; newPos=0; string tempData; while(1) { int nZhushu = 0; newPos=strGetHaoma.find(splitStr,oldPos); if(newPos!=string::npos) { tempData = strGetHaoma.substr(oldPos,newPos-oldPos); if(tempData.empty()) { oldPos=newPos+splitStr.size(); continue; } int nSize = tempData.size(); for(string::size_type i=0;i!=nSize;++i) { if(!isdigit(tempData[i])) { m_singlezhushu = 0; bSuit = false; break; } } if (nSize > 3 || !bSuit) { m_singlezhushu = 0; break; } if (nSize != 3) { m_singlezhushu = 0; break; } nZhushu = 1; m_singlezhushu += nZhushu; oldPos=newPos+splitStr.size(); } else if(oldPos<=strGetHaoma.size()) { tempData= strGetHaoma.substr(oldPos); if(tempData.empty()) { break; } int nSize = tempData.size(); for(string::size_type i=0;i!=nSize;++i) { if(!isdigit(tempData[i])) { m_singlezhushu = 0; bSuit = false; break; } } if (nSize > 3 || !bSuit) { m_singlezhushu = 0; break; } if (nSize != 3) { m_singlezhushu = 0; break; } nZhushu = 1; m_singlezhushu += nZhushu; oldPos= oldPos+strGetHaoma.size(); break; } else { break; } } } if(nKind == enWF_QiansanzuliuDanshi) { string strGetHaoma; ChangeStringToA(strHaoma,strGetHaoma); string splitStr=" "; bool bSuit = true; size_t oldPos,newPos; oldPos=0; newPos=0; string tempData; while(1) { int nZhushu = 0; newPos=strGetHaoma.find(splitStr,oldPos); if(newPos!=string::npos) { tempData = strGetHaoma.substr(oldPos,newPos-oldPos); if(tempData.empty()) { oldPos=newPos+splitStr.size(); continue; } int nSize = tempData.size(); for(string::size_type i=0;i!=nSize;++i) { if(!isdigit(tempData[i])) { m_singlezhushu = 0; bSuit = false; break; } } if (nSize > 3 || !bSuit) { m_singlezhushu = 0; break; } if (nSize != 3) { m_singlezhushu = 0; break; } if(tempData[0] == tempData[1] || tempData[0] == tempData[2] || tempData[2] == tempData[1] ) { m_singlezhushu = 0; break; } nZhushu = 1; m_singlezhushu += nZhushu; oldPos=newPos+splitStr.size(); } else if(oldPos<=strGetHaoma.size()) { tempData= strGetHaoma.substr(oldPos); if(tempData.empty()) { break; } int nSize = tempData.size(); for(string::size_type i=0;i!=nSize;++i) { if(!isdigit(tempData[i])) { bSuit = false; m_singlezhushu = 0; break; } } if (nSize > 3 || !bSuit) { m_singlezhushu = 0; break; } if (nSize != 3) { m_singlezhushu = 0; break; } if(tempData[0] == tempData[1] || tempData[0] == tempData[2] || tempData[2] == tempData[1] ) { m_singlezhushu = 0; break; } nZhushu = 1; m_singlezhushu += nZhushu; oldPos= oldPos+strGetHaoma.size(); break; } else { break; } } } if(nKind == enWF_QiansanzusanDanshi) { string strGetHaoma; ChangeStringToA(strHaoma,strGetHaoma); string splitStr=" "; bool bSuit = true; size_t oldPos,newPos; oldPos=0; newPos=0; string tempData; while(1) { int nZhushu = 0; newPos=strGetHaoma.find(splitStr,oldPos); if(newPos!=string::npos) { tempData = strGetHaoma.substr(oldPos,newPos-oldPos); if(tempData.empty()) { oldPos=newPos+splitStr.size(); continue; } int nSize = tempData.size(); for(string::size_type i=0;i!=nSize;++i) { if(!isdigit(tempData[i])) { m_singlezhushu = 0; bSuit = false; break; } } if (nSize > 3 || !bSuit) { m_singlezhushu = 0; break; } if (nSize != 3) { m_singlezhushu = 0; break; } if(tempData[0] == tempData[1] && tempData[0] == tempData[2] && tempData[2] == tempData[1] ) { m_singlezhushu = 0; break; } if(tempData[0]!= tempData[1] && tempData[0] != tempData[2] && tempData[2] != tempData[1] ) { m_singlezhushu = 0; break; } nZhushu = 1; m_singlezhushu += nZhushu; oldPos=newPos+splitStr.size(); } else if(oldPos<=strGetHaoma.size()) { tempData= strGetHaoma.substr(oldPos); if(tempData.empty()) { break; } int nSize = tempData.size(); for(string::size_type i=0;i!=nSize;++i) { if(!isdigit(tempData[i])) { bSuit = false; m_singlezhushu = 0; break; } } if (nSize > 3 || !bSuit) { m_singlezhushu = 0; break; } if (nSize != 3) { m_singlezhushu = 0; break; } if(tempData[0] == tempData[1] && tempData[0] == tempData[2] && tempData[2] == tempData[1] ) { m_singlezhushu = 0; break; } if(tempData[0]!= tempData[1] && tempData[0] != tempData[2] && tempData[2] != tempData[1] ) { m_singlezhushu = 0; break; } nZhushu = 1; m_singlezhushu += nZhushu; oldPos= oldPos+strGetHaoma.size(); break; } else { break; } } } if(nKind == enWF_QianerzhixuanDanshi||nKind == enWF_HouerzhixuanDanshi) { string strGetHaoma; ChangeStringToA(strHaoma,strGetHaoma); string splitStr=" "; bool bSuit = true; size_t oldPos,newPos; oldPos=0; newPos=0; string tempData; while(1) { int nZhushu = 0; newPos=strGetHaoma.find(splitStr,oldPos); if(newPos!=string::npos) { tempData = strGetHaoma.substr(oldPos,newPos-oldPos); if(tempData.empty()) { oldPos=newPos+splitStr.size(); continue; } int nSize = tempData.size(); for(string::size_type i=0;i!=nSize;++i) { if(!isdigit(tempData[i])) { m_singlezhushu = 0; bSuit = false; break; } } if (nSize > 2 || !bSuit) { m_singlezhushu = 0; break; } if (nSize != 2) { m_singlezhushu = 0; break; } nZhushu = 1; m_singlezhushu += nZhushu; oldPos=newPos+splitStr.size(); } else if(oldPos<=strGetHaoma.size()) { tempData= strGetHaoma.substr(oldPos); if(tempData.empty()) { break; } int nSize = tempData.size(); for(string::size_type i=0;i!=nSize;++i) { if(!isdigit(tempData[i])) { bSuit = false; m_singlezhushu = 0; break; } } if (nSize > 2 || !bSuit) { m_singlezhushu = 0; break; } if (nSize != 2) { m_singlezhushu = 0; break; } nZhushu = 1; m_singlezhushu += nZhushu; oldPos= oldPos+strGetHaoma.size(); break; } else { break; } } } CRect rcInvali; rcInvali.CopyRect(rcZongZhuShu); rcInvali.right+=200; InvalidateRect(&rcInvali); InvalidateRect(&rcZongJinE); return m_singlezhushu; }
[ "hanshouqing85@163.com" ]
hanshouqing85@163.com
ecd3a15ce9a0f7afd1bef370027459719ae21f50
d48d8c63e09e3895ac687aff637eaa7b487d4c1c
/35. Search Insert Position.cpp
51000c1da4ebf504e4ec0b2a84ddbde615b78f50
[]
no_license
Ln-Yangzl/leetcode-solution
4dec978498227c4856f428297738fbb730075569
45b020bd14acd03dcf53f884756e1c3ab52e703e
refs/heads/master
2023-03-31T20:15:08.908861
2021-04-13T11:18:29
2021-04-13T11:18:29
349,050,244
0
0
null
null
null
null
UTF-8
C++
false
false
1,270
cpp
#include <iostream> #include <vector> using namespace std; int searchInsert(vector<int>& nums, int target) { int left = 0, right = nums.size(); nums.push_back(INT_MAX); while (left < right) { int mid = (left + right) / 2; if (nums[mid] < target) left = mid + 1; else if (nums[mid] > target) right = mid; else return mid; } return right; } /* Reference: it's important to handle the situation[1,3,5,6] 7 expecte 4 * int searchInsert(vector<int>& nums, int target) { int low = 0, high = nums.size()-1; // Invariant: the desired index is between [low, high+1] while (low <= high) { int mid = low + (high-low)/2; if (nums[mid] < target) low = mid+1; else high = mid-1; } // (1) At this point, low > high. That is, low >= high+1 // (2) From the invariant, we know that the index is between [low, high+1], so low <= high+1. Follwing from (1), now we know low == high+1. // (3) Following from (2), the index is between [low, high+1] = [low, low], which means that low is the desired index // Therefore, we return low as the answer. You can also return high+1 as the result, since low == high+1 return low; } */
[ "565213263@qq.com" ]
565213263@qq.com
adf2422d5bb72a1f98e3684ef9a18dbf9255c6d6
01f3b5203ca25341f2b4b87ef7070a0b7f67eaac
/nth_element.cpp
9aa5292e7ae59c3f6b915b925fa992caa4e46ea1
[]
no_license
Sagnik07/Advanced-Problem-Solving
cb79c77193d2886342a962c3be176cf0ef9ad21a
b7973e0a6d445fb39f7d12d3f4dfca30e44826d4
refs/heads/master
2021-04-10T04:42:05.119300
2020-03-21T05:27:49
2020-03-21T05:27:49
248,911,596
2
1
null
null
null
null
UTF-8
C++
false
false
2,225
cpp
/* Problem Statement : Nth no. of a unsorted array Task: To find the nth smallest element in a given sequence. The operation should take an amortized cost of O(n). Aim: To learn how to use randomization in algorithms. Hint: Think of the partition function of randomized quick-sort. Testing: Time your function using time.h and compare it with the Standard Library Function nth_element(). */ #include<bits/stdc++.h> #include<time.h> #include<stdlib.h> using namespace std; int partition(int arr[],int start,int end) { int temp; int k,i=start,x=arr[end]; for(k=start;k<=end-1;k++) { if(arr[k]<=x) { temp=arr[k]; arr[k]=arr[i]; arr[i]=temp; i++; } } temp=arr[i]; arr[i]=arr[end]; arr[end]=temp; return i; } int randompart(int arr[],int start,int end) { int temp; srand(time(NULL)); int rand1=start+rand()%(end-start+1); //cout<<"rand1: "<<rand1<<endl; temp=arr[rand1]; arr[rand1]=arr[end]; arr[end]=temp; int x=partition(arr,start,end); return x; } int nthsmallest(int arr[],int start,int end,int n) { if(n<0) return -1; if(n>end) return -1; int pivot = randompart(arr,start,end); if(pivot==n) { return arr[n]; } else if(pivot<n) nthsmallest(arr,pivot+1,end,n); else nthsmallest(arr,start,pivot-1,n); } int main() { int n,ans=0,i,k; /*cout<<"Enter no. of elements: "<<endl; cin>>n; int arr[n]; for(i=0;i<n;i++) cin>>arr[i];*/ const clock_t time1=clock(); int arr[23]={7,10,4,3,15,20,100,156,890,567,101,589,456,6,78,962,475,1024,2048,3056,3036,1,598}; n=23; //cout<<"Enter value of n: "<<endl; //cin>>k; k=9; ans=nthsmallest(arr,0,n-1,k-1); cout<<ans<<endl; printf("Time taken: %f seconds\n",(float(clock()-time1)/CLOCKS_PER_SEC)); int arr1[23]={7,10,4,3,15,20,100,156,890,567,101,589,456,6,78,962,475,1024,2048,3056,3036,1,598}; n=23; const clock_t time2=clock(); nth_element(arr1, arr1+8, arr1+n); cout<<arr1[8]<<endl; printf("Time taken for STL: %f seconds\n",(float(clock()-time2)/CLOCKS_PER_SEC)); return 0; }
[ "sagnikgupta07@gmail.com" ]
sagnikgupta07@gmail.com
7cf56075299394184b0dbb6d3d0ffdddb1cfe4ad
e0355cd291daff754423f8a4d2705edd4ad18952
/Semestre5/ADA/ProgramCompt/VitosFamily.cpp
27009e16e9d12c4a92374400c82a81bef51f29c1
[]
no_license
Javozz/UNSA-CS
5c41985b1281a53375b0a768c9e5915d9a982f17
7db6489637e4c89dc7b1b9989db88b9187fb781f
refs/heads/master
2022-04-06T09:51:27.166720
2019-05-27T04:25:45
2019-05-27T04:25:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
561
cpp
#include <iostream> #include <vector> using namespace std; int main(){ int n; cin>>n; for(int i = 0; i < n; i++){ int n2; cin>>n2; vector<int> casitas; for(int j = 0; j < n2; j++){ int e; cin>>e; casitas.push_back(e); } int menor = -1; for(auto iter = casitas.begin(); iter != casitas.end(); ++iter){ int s = 0; for(auto iter2 = casitas.begin(); iter2 != casitas.end(); ++iter2){ if(iter != iter2){ s += abs(*iter - *iter2); } } if(menor == -1 or menor > s){ menor = s; } } cout<<menor<<endl; } }
[ "cristo2014f@outlook.es" ]
cristo2014f@outlook.es
377f6c7c5b9b64c013dd050a5bbc107df28d6dd1
33abaca81a6421c258de15607c2e6e82c86f6625
/complex.h
aa0f663a96d5480565aaad9dd03be4a42a34139c
[]
no_license
miruna2707/OOP_lab2
f592baab2979cef8a04b2cec919d67ef10ee7a26
1338dbba60302b6d25a6f98fb389a9823c047230
refs/heads/master
2021-03-27T05:27:25.768984
2020-03-16T18:21:30
2020-03-16T18:21:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
275
h
#pragma once #pragma once class Complex { private: double real = 0; double imag = 0; public: //constructor Complex(double real, double imag); //real double get_real()const; void set_real(double real); //imag double get_imag()const; void set_imag(double imag); };
[ "rares.dan.g@gmail.com" ]
rares.dan.g@gmail.com
fb8274b999283485e0685a8db6c8accb8baae66d
792f2ee67210556f224daf88ef0b9785becadc9b
/codeforces/812A.cpp
318e84572ad7d52aa0d8c0f1c48c8e3f67e0a308
[]
no_license
firiexp/contest_log
e5b345286e7d69ebf2a599d4a81bdb19243ca18d
6474a7127d3a2fed768ebb62031d5ff30eeeef86
refs/heads/master
2021-07-20T01:16:47.869936
2020-04-30T03:27:51
2020-04-30T03:27:51
150,196,219
0
0
null
null
null
null
UTF-8
C++
false
false
1,358
cpp
#include <iostream> #include <algorithm> #include <iomanip> #include <map> #include <set> #include <queue> #include <stack> #include <numeric> #include <bitset> #include <cmath> static const int MOD = 1000000007; using ll = long long; using u32 = unsigned; using u64 = unsigned long long; using namespace std; template<class T> constexpr T INF = ::numeric_limits<T>::max()/32*15+208; template <class T, class U> vector<T> make_v(U size, const T& init){ return vector<T>(static_cast<size_t>(size), init); } template<class... Ts, class U> auto make_v(U size, Ts... rest) { return vector<decltype(make_v(rest...))>(static_cast<size_t>(size), make_v(rest...)); } template<class T> void chmin(T &a, const T &b){ a = (a < b ? a : b); } template<class T> void chmax(T &a, const T &b){ a = (a > b ? a : b); } int main() { auto v = make_v(4, 4, 0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { cin >> v[i][j]; } } vector<int> cnt(4); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 3; ++j) { cnt[(i-j+3)%4] += v[i][j]; cnt[i] += v[i][j]; } } for (int i = 0; i < 4; ++i) { if(cnt[i] && v[i][3]) { puts("YES"); return 0; } } puts("NO"); return 0; }
[ "firiexp@PC.localdomain" ]
firiexp@PC.localdomain
3ac6f13d0b6df55c3eb685e64640ead1a31e1013
49e1bc7edabeb7c1f2d9c8d6ae8c4bc1f8a3ec4b
/BambooCC/Geometry/Segment.h
c8209853b0bea67d3ff111a7a0e6d78b05e0331d
[]
no_license
ngoaho91/bamboocc
8ff38dd28f8493716bad63368b77bd9177c31bbe
e3800af23f97b099cd40e2f2e94265da1c2262a7
refs/heads/master
2021-01-01T05:49:05.729457
2014-04-07T16:48:27
2014-04-07T16:48:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
495
h
#ifndef Edge_H #define Edge_H #include "Node.h" #include "Rectangle.h" namespace Geometry { class Segment :public pair<Node*, Node*> { private: Rectangle* m_BoundingBox; double m_Length; public: Segment(); Segment(Node* nodeA, Node* nodeB); ~Segment(); Rectangle* GetBoundingBox(){ return m_BoundingBox;} void Calculate(); double GetLength(); Node* A(){ return first;} Node* B(){ return second;} }; double NodeSegmentDistance(Segment* edge, Node* p); } #endif
[ "ngoaho91@gmail.com" ]
ngoaho91@gmail.com
ffe9189b774f24ce3f200465ee3173262ab623db
0ed97f1708adc8e77106fa2a900bbe23894a276d
/Homework-01/shuffler/lineshuffler.hpp
a2fa5d0df32d81f47084f4812344995a5389e3b6
[]
no_license
Robert-Gonzalez/DataStructuresHWFall2016
f7890f1303ad0b64588903b2039a7da7c1b8cd01
55ec9de3340c8f5ce3afdef3436c8831bc088104
refs/heads/master
2021-01-16T02:47:27.858739
2017-08-11T03:52:24
2017-08-11T03:52:24
99,989,372
0
0
null
null
null
null
UTF-8
C++
false
false
2,450
hpp
/** * \file lineshuffler.hpp * \author CS 70 Provided Code * * \brief Interface definition for LineShuffler. */ // C++ include guard for header file. // Its mere presence will prevent linker errors and much sorrow later. #ifndef LINESHUFFLER_HPP_INCLUDED #define LINESHUFFLER_HPP_INCLUDED 1 #include <vector> #include <string> #include "random.hpp" /** * \class LineShuffler * \brief Takes in lines, then outputs them in a random order. * \details * Uses the incredibly simple algorithm of: starts empty. Then call * addLine many times until all lines are added. Then until isEmpty, * call removeLine. * \remarks * Randomness depends on the Random class. */ class LineShuffler { public: // ************ // CONSTRUCTORS // ************ /** * \brief Initializes the object to empty. * * \pre None. * \post The object will contain no lines (isEmpty() == true). */ LineShuffler(); // **************** // MEMBER FUNCTIONS // **************** /** * \brief * Removes and returns a random line stored in the LineShuffler. * * \pre Object should be non-empty (isEmpty() == false) * \returns A random string from the object. * \post Removes the selected string from the object. */ std::string removeLine(); /** * \brief * Adds a line to the collection stored in the LineShuffler. * * \pre `line` is an arbitrary string. * \post `line` has been added to the collection. */ void addLine(std::string line); /** * \brief Tests whether there are strings in this collection. * * \returns true iff there are no lines in the LineShuffler. */ bool isEmpty() const; private: // ********************* // PROHIBITED OPERATIONS (assignment & copy construction) // ********************* LineShuffler(const LineShuffler&); ///< Disabled LineShuffler& operator=(const LineShuffler& rhs); ///< Disabled // ************ // PRIVATE DATA // ************ int count_; ///< Number of lines stored. Random rnd_; ///< State of random number generator. std::vector<std::string> lines_; ///< Collection (vector) of lines. }; #endif // LINESHUFFLER_HPP_INCLUDED /* (Junk to make emacs use a specific indentation style) * Local Variables: * c-file-style: "stroustrup" * End: */
[ "robertgonzalez.me@gmail.com" ]
robertgonzalez.me@gmail.com
2b66beb71c9dc958aef6ee687a0e59c2655826bc
7c3433d64d3c9e3fce12f1880404635728fae7ec
/src/svgren/config.hpp
63a6a841a729ac052639872643d8e20b85bd8bb3
[ "MIT" ]
permissive
NickVoron/svgren
e5338169e11c28a10212e851f0c9dfeb723892ee
754028b676c202d987390ec0634cff7681b574dd
refs/heads/master
2021-05-03T09:31:29.466890
2018-02-01T18:09:13
2018-02-01T18:09:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
146
hpp
/* * File: config.hpp * Author: ivan * * Created on October 20, 2015, 9:35 PM */ #pragma once namespace svgren{ typedef float real; }
[ "ivan.gagis@tieto.com" ]
ivan.gagis@tieto.com
d8c743c0bd8aaa41500a53a6b10f496913b828e8
f6f35870a7ff7f80b83b106a4d6fa6a4f1265814
/src/game.cpp
0343086acfc796fe3ba4784e6fa2936261a100d3
[]
no_license
FabioTranjan/breakout-game
9b2bb30b2ce642688009c7b6bf981cf639099f56
ec89903e16f06c317190ae16ce33d452789db2ac
refs/heads/master
2021-06-09T02:45:53.336218
2020-01-15T02:40:00
2020-01-15T02:40:00
147,968,890
1
0
null
null
null
null
UTF-8
C++
false
false
7,568
cpp
#include "game.hpp" #include "resource_manager.hpp" #include "sprite_renderer.hpp" #include "particle_generator.hpp" #include <iostream> SpriteRenderer *Renderer; ParticleGenerator *Particles; GameObject *Player; BallObject *Ball; GLboolean CheckCollision(GameObject &one, GameObject &two); Collision CheckCollision(BallObject &one, GameObject &two); Direction VectorDirection(glm::vec2 target); Game::Game(GLuint width, GLuint height) : State(GAME_ACTIVE), Keys(), Width(width), Height(height) { } Game::~Game() { } void Game::Init() { ResourceManager::LoadShader("sprite.vert", "sprite.frag", nullptr, "sprite"); ResourceManager::LoadShader("particle.vert", "particle.frag", nullptr, "particle"); glm::mat4 projection = glm::ortho(0.0f, static_cast<GLfloat>(this->Width), static_cast<GLfloat>(this->Height), 0.0f, -1.0f, 1.0f); ResourceManager::GetShader("sprite").Use().SetInteger("image", 0); ResourceManager::GetShader("sprite").SetMatrix4f("projection", projection); Renderer = new SpriteRenderer(ResourceManager::GetShader("sprite")); ResourceManager::LoadTexture("background.jpg", GL_FALSE, "background"); ResourceManager::LoadTexture("block.jpg", GL_FALSE, "block"); ResourceManager::LoadTexture("block_solid.jpg", GL_FALSE, "block_solid"); ResourceManager::LoadTexture("paddle.jpg", GL_TRUE, "paddle"); ResourceManager::LoadTexture("awesomeface.jpg", GL_TRUE, "face"); ResourceManager::LoadTexture("particle.jpg", GL_TRUE, "particle"); Renderer = new SpriteRenderer(ResourceManager::GetShader("sprite")); //Particles = new ParticleGenerator( // ResourceManager::GetShader("particle"), // ResourceManager::GetTexture("particle"), // 500 //); GameLevel one; one.Load("one.lvl", this->Width, this->Height * 0.5); GameLevel two; two.Load("two.lvl", this->Width, this->Height * 0.5); GameLevel three; three.Load("three.lvl", this->Width, this->Height * 0.5); GameLevel four; four.Load("four.lvl", this->Width, this->Height * 0.5); this->Levels.push_back(one); this->Levels.push_back(two); this->Levels.push_back(three); this->Levels.push_back(four); this->Level = 0; glm::vec2 playerPos = glm::vec2( this->Width / 2 - PLAYER_SIZE.x / 2, this->Height - PLAYER_SIZE.y ); Player = new GameObject(playerPos, PLAYER_SIZE, ResourceManager::GetTexture("paddle")); glm::vec2 ballPos = playerPos + glm::vec2(PLAYER_SIZE.x / 2 - BALL_RADIUS, -BALL_RADIUS * 2); Ball = new BallObject(ballPos, BALL_RADIUS, INITIAL_BALL_VELOCITY, ResourceManager::GetTexture("face")); } void Game::Update(GLfloat dt) { Ball->Move(dt, this->Width); this->DoCollisions(); // Particles->Update(dt, *Ball, 2, glm::vec2(Ball->Radius / 2)); if(Ball->Position.y >= this->Height) { this->ResetLevel(); this->ResetPlayer(); } } void Game::ProcessInput(GLfloat dt) { if(this->State == GAME_ACTIVE) { GLfloat velocity = PLAYER_VELOCITY * dt; if(this->Keys[GLFW_KEY_A]) { if(Player->Position.x >= 0) Player->Position.x -= velocity; } if(this->Keys[GLFW_KEY_D]) { if(Player->Position.x <= this->Width - Player->Size.x) Player->Position.x += velocity; } if(this->Keys[GLFW_KEY_SPACE]) Ball->Stuck = false; } } void Game::Render() { if(this->State == GAME_ACTIVE) { Renderer->DrawSprite(ResourceManager::GetTexture("background"), glm::vec2(0, 0), glm::vec2(this->Width, this->Height), 0.0f); this->Levels[this->Level].Draw(*Renderer); Player->Draw(*Renderer); // Particles->Draw(); Ball->Draw(*Renderer); } } void Game::DoCollisions() { for(GameObject &box : this->Levels[this->Level].Bricks) { if(!box.Destroyed) { Collision collision = CheckCollision(*Ball, box); if(std::get<0>(collision)) { if(!box.IsSolid) box.Destroyed = GL_TRUE; Direction dir = std::get<1>(collision); glm::vec2 diff_vector = std::get<2>(collision); if(dir == LEFT || dir == RIGHT) { Ball->Velocity.x = -Ball->Velocity.x; GLfloat penetration = Ball->Radius - std::abs(diff_vector.x); if(dir == LEFT) Ball->Position.x += penetration; else Ball->Position.x -= penetration; } else { Ball->Velocity.y = -Ball->Velocity.y; GLfloat penetration = Ball->Radius - std::abs(diff_vector.y); if(dir == UP) Ball->Position.y -= penetration; else Ball->Position.y += penetration; } } Collision result = CheckCollision(*Ball, *Player); if(!Ball->Stuck && std::get<0>(result)) { GLfloat centerBoard = Player->Position.x + Player->Size.x / 2; GLfloat distance = (Ball->Position.x + Ball->Radius) - centerBoard; GLfloat percentage = distance / (Player->Size.x / 2); GLfloat strength = 2.0f; glm::vec2 oldVelocity = Ball->Velocity; Ball->Velocity.x = INITIAL_BALL_VELOCITY.x * percentage * strength; Ball->Velocity.y = -1 * abs(Ball->Velocity.y); Ball->Velocity = glm::normalize(Ball->Velocity) * glm::length(oldVelocity); } } } } void Game::ResetLevel() { if (this->Level == 0) this->Levels[0].Load("one.lvl", this->Width, this->Height * 0.5f); else if (this->Level == 1) this->Levels[1].Load("two.lvl", this->Width, this->Height * 0.5f); else if (this->Level == 2) this->Levels[2].Load("three.lvl", this->Width, this->Height * 0.5f); else if (this->Level == 3) this->Levels[3].Load("four.lvl", this->Width, this->Height * 0.5f); } void Game::ResetPlayer() { Player->Size = PLAYER_SIZE; Player->Position = glm::vec2(this->Width / 2 - PLAYER_SIZE.x / 2, this->Height - PLAYER_SIZE.y); Ball->Reset(Player->Position + glm::vec2(PLAYER_SIZE.x / 2 - BALL_RADIUS, -(BALL_RADIUS * 2)), INITIAL_BALL_VELOCITY); } GLboolean CheckCollision(GameObject &one, GameObject &two) { bool collisionX = one.Position.x + one.Size.x >= two.Position.x && two.Position.x + two.Size.x >= one.Position.x; bool collisionY = one.Position.y + one.Size.y >= two.Position.y && two.Position.y + two.Size.y >= one.Position.y; return collisionX && collisionY; } Collision CheckCollision(BallObject &one, GameObject &two) { glm::vec2 center(one.Position + one.Radius); glm::vec2 aabb_half_extents(two.Size.x / 2, two.Size.y / 2); glm::vec2 aabb_center( two.Position.x + aabb_half_extents.x, two.Position.y + aabb_half_extents.y ); glm::vec2 difference = center - aabb_center; glm::vec2 clamped = glm::clamp(difference, -aabb_half_extents, aabb_half_extents); glm::vec2 closest = aabb_center + clamped; difference = closest - center; if(glm::length(difference) <= one.Radius) return std::make_tuple(GL_TRUE, VectorDirection(difference), difference); else return std::make_tuple(GL_FALSE, UP, glm::vec2(0, 0)); } Direction VectorDirection(glm::vec2 target) { glm::vec2 compass[] = { glm::vec2(0.0f, 1.0f), // up glm::vec2(1.0f, 0.0f), // right glm::vec2(0.0f, -1.0f), // down glm::vec2(-1.0f, 0.0f) // left }; GLfloat max = 0.0f; GLuint best_match = -1; for (GLuint i = 0; i < 4; i++) { GLfloat dot_product = glm::dot(glm::normalize(target), compass[i]); if (dot_product > max) { max = dot_product; best_match = i; } } return (Direction)best_match; }
[ "fabiotkx@gmail.com" ]
fabiotkx@gmail.com
5abace302bf4fb33e70853f435757992395367f8
23453172f651dd1b21aa9ef2af0d15930e97be52
/algorithm/interviews/03_找出数组中重复的数字/find_duplication.cpp
4356dc7b63dce8fa372fcb9f714707620ea8b14c
[]
no_license
plmsmile/study
dae443df9f94bcea99e6ba9d06880071f5a46db4
2a1624ac239072d94e8baf7bd0b42d463d72d047
refs/heads/master
2021-01-20T08:29:45.053825
2017-10-17T06:47:47
2017-10-17T06:47:47
90,154,571
0
0
null
null
null
null
UTF-8
C++
false
false
2,124
cpp
#include <iostream> /** * 在数组中,查找a的重复数字,找出任意一个就行 * Args: * a: 无序数组,值的区间[0, n-1] * length: 长度 * dup: 要返回的数值 * Returns: * 数据合法并且有重复的数字,返回True;否则返回Fasle */ bool duplicate(int a[], int length, int *dup) { // 数据合法性检查 if (a == nullptr || length < 0) { return false; } for (int i = 0; i < length; ++i) { if (a[i] < 0 || a[i] >= length) { return false; } } // 遍历数组,把i放到a[i]位置上 for (int i = 0; i < length; ++i) { // 找到i放到a[i]上 while (a[i] != i) { int m = a[i]; if (a[m] == m) { *dup = m; return true; } else { // 把m放到a[m]上,交换 a[i] = a[m]; a[m] = m; } } } return false; } /** * 判断数组中是否包含某个数字 * Args: * a: 数组 * length: 数组长度 * target_num: 被检测的数字 * Returns: * 存在true,不存在false */ bool contains(int a[], int length, int target_num) { for (int i = 0; i < length; i++) { if (a[i] == target_num) { return true; } } return false; } void test(const char* test_name, int a[], int length, int dups[], int dups_len, bool valid_arg) { int dup; bool res = duplicate(a, length, &dup); std::cout << test_name << std::endl; if (res == valid_arg) { if (res == true) { if (true == contains(dups, dups_len, dup)) { std::cout << "PASS" << std::endl; } else { std::cout << "FAILED" << std::endl; } } else { std::cout << "PASS" << std::endl; } } else { std::cout << "Failed" << std::endl; } } void test1() { int a[] = {2, 4, 3, 1, 4}; int dups[] = {2, 4}; test("test1", a, sizeof(a)/sizeof(int), dups, sizeof(a)/sizeof(int), true); } int main() { test1(); return 0; }
[ "plmspark@163.com" ]
plmspark@163.com
c544c1cef3db50dd500bca41b9bb4c613aa2894d
55d0224c99ce313246c6d7aada74458923d57822
/example/core/convert/to.cpp
7bd5bf870f6272cafa881ebdd9877c4f5425c678
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
boostorg/hana
94535aadaa43cb88f09dde9172a578b2b049dc95
d3634a3e9ce49a2207bd7870407c05e74ce29ef5
refs/heads/master
2023-08-24T11:47:37.357757
2023-03-17T14:00:22
2023-03-17T14:00:22
19,887,998
1,480
245
BSL-1.0
2023-08-08T05:39:22
2014-05-17T14:06:06
C++
UTF-8
C++
false
false
1,042
cpp
// Copyright Louis Dionne 2013-2022 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/assert.hpp> #include <boost/hana/config.hpp> #include <boost/hana/core/to.hpp> #include <boost/hana/equal.hpp> #include <boost/hana/tuple.hpp> namespace hana = boost::hana; template <typename X, typename Y, typename Z> struct Triple { X first; Y second; Z third; }; BOOST_HANA_CONSTEXPR_LAMBDA auto triple = [](auto x, auto y, auto z) { return Triple<decltype(x), decltype(y), decltype(z)>{x, y, z}; }; namespace boost { namespace hana { template <typename X, typename Y, typename Z> struct to_impl<tuple_tag, Triple<X, Y, Z>> { static constexpr auto apply(Triple<X, Y, Z> xs) { return make_tuple(xs.first, xs.second, xs.third); } }; }} int main() { BOOST_HANA_CONSTEXPR_CHECK( hana::to<hana::tuple_tag>(triple(1, '2', 3.3)) == hana::make_tuple(1, '2', 3.3) ); }
[ "ldionne.2@gmail.com" ]
ldionne.2@gmail.com
732aaaca46452698e470520be00ce532d82fd1e3
0ee5f4e6e7e4da8bbc9c153da1ee2ab03f9453ab
/ex1/complejo.cpp
531b5b7588fe732e0858f25f71a122d7da6134e5
[]
no_license
JpValenciaZuluaga/ALSE2110
be6a3c4354cbd758c1b4d24cc3e04b6c22190919
9b5a35948613e5c3849721abe0963f0639338d9a
refs/heads/main
2023-03-25T19:16:15.648445
2021-03-15T19:19:03
2021-03-15T19:19:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
625
cpp
#include <iostream> #include <cmath> #include <stdlib.h> using namespace std; float norma(float &re, float &im ){ return sqrt(re*re + im*im); } float angulo(float &re, float &im){ return atan2(im,re); } int main( int argc, char** argv ){ // Recordar que la parte real e imaginaria será pasado por parámetros del main. float a, b, nor, ang; a = b = 0.; a = atof( argv[1] ); b = atof( argv[2] ); nor = norma( a, b ); ang = angulo( a, b ); cout << "El número complejo: " << a << " + " << b << "j" ; cout << " tiene de norma= " << nor << " y un ángulo= " << ang << " rad." << endl; return 0; }
[ "alexander.perez@escuelaing.edu.co" ]
alexander.perez@escuelaing.edu.co
98e6933339fb06bcea592957c4598e74cc67849f
d1a4428dd57c7a5dbfa84dd04cb9054df2388a9c
/src/chrome/browser/web_applications/web_app_install_manager_unittest.cc
7ec5b6f170773559ff61d491a40a09e2ea3a3fd5
[ "BSD-3-Clause" ]
permissive
riverite/chromium
bfa4e354dc71fdbe942c648d311a7663533af379
458877c9b9a7e0f8ee55cb787cd12a1ecef3fe0f
refs/heads/master
2022-12-29T23:14:08.184892
2018-11-02T14:45:03
2018-11-02T14:45:03
154,111,141
1
5
null
2022-12-18T00:43:23
2018-10-22T08:36:22
null
UTF-8
C++
false
false
3,446
cc
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/web_applications/web_app_install_manager.h" #include "base/callback.h" #include "base/run_loop.h" #include "base/strings/utf_string_conversions.h" #include "base/test/bind_test_util.h" #include "chrome/browser/web_applications/components/web_app_constants.h" #include "chrome/browser/web_applications/test/test_data_retriever.h" #include "chrome/browser/web_applications/test/web_app_test.h" #include "chrome/browser/web_applications/web_app.h" #include "chrome/browser/web_applications/web_app_registrar.h" #include "chrome/browser/web_applications/web_app_utils.h" #include "chrome/test/base/testing_profile.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/gurl.h" namespace web_app { class WebAppInstallManagerTest : public WebAppTest {}; TEST_F(WebAppInstallManagerTest, InstallFromWebContents) { EXPECT_EQ(true, AllowWebAppInstallation(profile())); auto registrar = std::make_unique<WebAppRegistrar>(); auto manager = std::make_unique<WebAppInstallManager>(profile(), registrar.get()); auto web_app_info = std::make_unique<WebApplicationInfo>(); const GURL url = GURL("https://example.com/path"); const std::string name = "Name"; const std::string description = "Description"; const AppId app_id = GenerateAppIdFromURL(url); web_app_info->app_url = url; web_app_info->title = base::UTF8ToUTF16(name); web_app_info->description = base::UTF8ToUTF16(description); manager->SetDataRetrieverForTesting( std::make_unique<TestDataRetriever>(std::move(web_app_info))); base::RunLoop run_loop; bool callback_called = false; manager->InstallWebAppForTesting( web_contents(), base::BindLambdaForTesting( [&](const AppId& installed_app_id, InstallResultCode code) { EXPECT_EQ(InstallResultCode::kSuccess, code); EXPECT_EQ(app_id, installed_app_id); callback_called = true; base::ThreadTaskRunnerHandle::Get()->PostTask( FROM_HERE, run_loop.QuitClosure()); })); run_loop.Run(); EXPECT_TRUE(callback_called); WebApp* web_app = registrar->GetAppById(app_id); EXPECT_NE(nullptr, web_app); EXPECT_EQ(app_id, web_app->app_id()); EXPECT_EQ(name, web_app->name()); EXPECT_EQ(description, web_app->description()); EXPECT_EQ(url.spec(), web_app->launch_url()); } TEST_F(WebAppInstallManagerTest, GetWebApplicationInfoFailed) { auto registrar = std::make_unique<WebAppRegistrar>(); auto manager = std::make_unique<WebAppInstallManager>(profile(), registrar.get()); manager->SetDataRetrieverForTesting(std::make_unique<TestDataRetriever>( std::unique_ptr<WebApplicationInfo>())); base::RunLoop run_loop; bool callback_called = false; manager->InstallWebAppForTesting( web_contents(), base::BindLambdaForTesting( [&](const AppId& installed_app_id, InstallResultCode code) { EXPECT_EQ(InstallResultCode::kGetWebApplicationInfoFailed, code); EXPECT_EQ(AppId(), installed_app_id); callback_called = true; base::ThreadTaskRunnerHandle::Get()->PostTask( FROM_HERE, run_loop.QuitClosure()); })); run_loop.Run(); EXPECT_TRUE(callback_called); } } // namespace web_app
[ "sket0039@gmail.com" ]
sket0039@gmail.com
c4b0b4c9a32af76671e46206afc346b6583e75d6
868e8628acaa0bf276134f9cc3ced379679eab10
/firstCrude2D/we123/h10_refined/0.046/p_rgh
b98fb4e3987f3832735e10c7c2e7b62604b8e98e
[]
no_license
stigmn/droplet
921af6851f88c0acf8b1cd84f5e2903f1d0cb87a
1649ceb0a9ce5abb243fb77569211558c2f0dc96
refs/heads/master
2020-04-04T20:08:37.912624
2015-11-25T11:20:32
2015-11-25T11:20:32
45,102,907
0
0
null
2015-10-28T09:46:30
2015-10-28T09:46:29
null
UTF-8
C++
false
false
136,054
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0.046"; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField nonuniform List<scalar> 14400 ( 99.0147 99.4787 100.443 101.768 103.443 105.362 107.176 108.381 108.464 107.121 104.367 100.477 95.8518 90.8852 85.9242 81.2479 77.0543 73.4609 70.5083 68.1809 66.411 65.1083 64.1747 63.5199 63.0689 62.7645 62.5642 62.4383 62.3657 62.3315 99.0121 99.4774 100.442 101.767 103.441 105.362 107.18 108.39 108.477 107.136 104.384 100.49 95.8601 90.8868 85.9176 81.2322 77.0293 73.4263 70.4679 68.1352 66.3635 65.062 64.1318 63.4815 63.0354 62.7352 62.5384 62.4149 62.3439 62.3105 99.0068 99.4733 100.438 101.762 103.436 105.361 107.19 108.415 108.52 107.189 104.441 100.541 95.8998 90.9103 85.9206 81.2116 76.9837 73.3566 70.3751 68.023 66.2377 64.9281 63.9947 63.3443 62.8996 62.6015 62.4067 62.2849 62.2149 62.1819 98.9989 99.4664 100.431 101.752 103.426 105.358 107.205 108.459 108.592 107.281 104.538 100.63 95.9724 90.9565 85.9327 81.1842 76.9143 73.2454 70.2247 67.8394 66.0289 64.7036 63.7623 63.1092 62.665 62.3688 62.1762 62.0564 61.9875 61.9553 98.9883 99.4568 100.421 101.739 103.412 105.355 107.227 108.52 108.696 107.412 104.676 100.76 96.0785 91.0256 85.9537 81.1493 76.8194 73.0902 70.0131 67.5787 65.731 64.3819 63.4285 62.7715 62.3278 62.0343 61.8451 61.7282 61.6615 61.6304 98.9751 99.4444 100.408 101.722 103.393 105.349 107.254 108.599 108.829 107.582 104.858 100.93 96.2187 91.1184 85.9841 81.1069 76.6986 72.8901 69.7379 67.2373 65.3381 63.9561 62.9864 62.3243 61.8818 61.5926 61.4086 61.2963 61.233 61.2036 98.9592 99.4292 100.393 101.701 103.37 105.342 107.286 108.696 108.994 107.793 105.082 101.142 96.394 91.2357 86.0248 81.0576 76.5517 72.6443 69.397 66.8102 64.8429 63.4172 62.4267 61.7589 61.3188 61.036 60.86 60.7548 60.6965 60.6698 98.9408 99.4112 100.375 101.675 103.342 105.333 107.323 108.809 109.19 108.045 105.349 101.395 96.6055 91.379 86.0768 81.0019 76.3787 72.3517 68.9875 66.2918 64.2354 62.7526 61.7366 61.0633 60.6277 60.3546 60.1904 60.0962 60.0457 60.023 98.9198 99.3904 100.354 101.646 103.309 105.321 107.364 108.94 109.417 108.338 105.662 101.691 96.8546 91.5495 86.1414 80.9408 76.1797 72.0113 68.5066 65.6748 63.5023 61.9449 60.8984 60.2215 59.7936 59.5349 59.3889 59.3113 59.2724 59.2558 98.8962 99.3669 100.33 101.612 103.271 105.307 107.409 109.087 109.676 108.674 106.019 102.031 97.1429 91.7493 86.2204 80.8754 75.9552 71.6225 67.9514 64.9513 62.6261 60.9695 59.8876 59.212 58.7968 58.56 58.4425 58.3898 58.3662 58.3564 98.8701 99.3407 100.304 101.574 103.227 105.288 107.457 109.251 109.966 109.052 106.423 102.416 97.4723 91.9804 86.3155 80.8072 75.7055 71.1849 67.3207 64.1138 61.5833 59.791 58.6685 58.0054 57.6107 57.4091 57.3374 57.318 57.3129 57.3065 98.8415 99.3116 100.275 101.531 103.178 105.267 107.506 109.43 110.289 109.474 106.874 102.848 97.8452 92.2455 86.429 80.7383 75.4317 70.6992 66.6138 63.156 60.3434 58.3572 57.1868 56.5571 56.1984 56.0609 56.0525 56.0682 56.0971 56.1114 98.8104 99.2799 100.243 101.484 103.123 105.24 107.556 109.623 110.645 109.942 107.373 103.328 98.264 92.5477 86.5639 80.6711 75.1348 70.1667 65.8318 62.0763 58.8683 56.5887 55.356 54.7962 54.5046 54.5205 54.6124 54.6836 54.7201 54.7276 98.7769 99.2454 100.209 101.432 103.061 105.209 107.604 109.832 111.034 110.456 107.921 103.858 98.7319 92.8903 86.7232 80.6089 74.8143 69.588 64.9776 60.8836 57.1123 54.3566 53.0441 52.6281 52.5108 52.8544 52.9493 52.9382 53.0043 52.9829 98.741 99.2082 100.173 101.375 102.993 105.172 107.651 110.054 111.457 111.018 108.521 104.438 99.2523 93.2775 86.9106 80.5557 74.4656 68.9585 64.0508 59.5855 55.022 51.3583 50.0535 49.7064 50.2732 51.3861 51.1947 51.2567 51.131 50.9633 98.7028 99.1683 100.134 101.313 102.917 105.129 107.693 110.288 111.915 111.629 109.174 105.07 99.8293 93.7138 87.1299 80.5164 74.0776 68.2635 63.0241 58.1705 52.6869 46.7906 46.7351 46.6301 42.2225 41.0737 38.4378 38.488 37.541 36.941 98.6623 99.1256 100.093 101.246 102.835 105.079 107.728 110.534 112.407 112.291 109.878 105.756 100.468 94.2048 87.385 80.4977 73.634 67.4656 61.9162 56.6452 51.0651 18.3714 4.10436 0.352975 0.323953 0.290313 0.31884 0.333133 0.346921 0.350758 98.6196 99.0803 100.049 101.172 102.745 105.022 107.754 110.79 112.934 113.006 110.636 106.496 101.173 94.7567 87.68 80.5057 73.1894 65.6594 60.7141 55.624 9.0889 0.254547 0.165732 0.162894 0.185261 0.189374 0.208211 0.230151 0.247633 0.256995 98.5747 99.0323 100.003 101.092 102.648 104.957 107.767 111.055 113.497 113.776 111.449 107.292 101.951 95.3771 88.018 80.5491 72.6733 63.5275 57.9067 10.532 0.156346 0.179628 0.157909 0.150868 0.168348 0.179527 0.195101 0.211387 0.223701 0.230486 98.5277 98.9817 99.9544 101.005 102.544 104.885 107.762 111.327 114.097 114.601 112.315 108.144 102.811 96.0756 88.4 80.6143 72.7374 64.6425 27.6602 0.0674824 0.0867543 0.134443 0.141237 0.14375 0.159839 0.188377 0.182503 0.195643 0.205354 0.210726 98.4787 98.9285 99.9025 100.91 102.432 104.805 107.736 111.605 114.734 115.485 113.236 109.049 103.761 96.8635 88.8207 80.6754 69.4882 73.6208 0.22895 0.0646977 0.0792952 0.108612 0.126017 0.138505 0.160766 0.182143 0.174802 0.183544 0.190992 0.195245 98.4278 98.8726 99.8471 100.806 102.314 104.717 107.679 111.885 115.407 116.428 114.21 110.005 104.813 97.7565 89.2672 80.8394 64.0584 0.277673 -0.00864908 0.0512441 0.0790852 0.10074 0.11686 0.159735 0.159447 0.162474 0.168594 0.175554 0.181438 0.184901 98.3751 98.8143 99.7874 100.691 102.191 104.622 107.583 112.166 116.116 117.432 115.235 111.005 105.98 98.7763 89.7161 81.468 73.8318 -0.353012 0.0052081 0.031493 0.0732281 0.097875 0.113051 0.126592 0.141825 0.154469 0.163371 0.170152 0.175693 0.183187 98.3207 98.7536 99.7224 100.565 102.063 104.522 107.434 112.442 116.859 118.497 116.306 112.039 107.277 99.9535 90.0507 80.9221 3.22364 -0.221054 0.0949192 0.0325971 0.0758869 0.0983136 0.113071 0.125668 0.139536 0.15152 0.160237 0.166797 0.179233 0.18069 98.2647 98.6905 99.6505 100.423 101.935 104.418 107.214 112.71 117.634 119.622 117.414 113.088 108.721 101.334 90.428 69.5677 -0.595071 -0.0209672 0.126685 0.0626601 0.0827565 0.100614 0.114692 0.127376 0.139676 0.150078 0.157992 0.16414 0.167988 0.171528 98.2072 98.6253 99.5699 100.264 101.809 104.315 106.898 112.965 118.436 120.802 118.545 114.125 110.333 102.97 91.7444 4.24289 -0.185801 0.0367243 0.105884 0.0807521 0.0898555 0.103652 0.11666 0.12867 0.139604 0.148712 0.156611 0.162173 0.164812 0.166753 98.1484 98.5582 99.478 100.083 101.691 104.218 106.451 113.198 119.259 122.032 119.667 115.106 112.131 104.902 93.1904 7.37253 -0.0359902 0.0501667 0.0927981 0.0880372 0.0949557 0.106384 0.11815 0.129178 0.13896 0.146982 0.153117 0.157689 0.160813 0.162543 98.0885 98.4893 99.3716 99.8769 101.587 104.136 105.827 113.403 120.094 123.295 120.79 115.968 114.144 107.151 94.7165 0.857009 0.0157687 0.0577802 0.0867654 0.0908203 0.098033 0.10824 0.118944 0.128966 0.137706 0.144838 0.150326 0.154322 0.156977 0.158374 98.0292 98.4192 99.2466 99.6388 101.507 104.084 104.973 113.569 120.927 124.568 121.874 116.62 116.403 109.56 96.9393 0.174991 0.057649 0.0651038 0.0844264 0.0917232 0.0995388 0.109097 0.118939 0.128053 0.135909 0.142297 0.14721 0.150749 0.153037 0.154219 97.9972 98.3479 99.0981 99.3626 101.463 104.091 103.838 113.681 121.739 125.796 122.863 116.903 118.957 112.262 95.4211 0.123017 0.0645479 0.0717755 0.0838562 0.0917545 0.0999075 0.10906 0.118212 0.126543 0.133637 0.139359 0.143731 0.146857 0.148872 0.149925 62.3253 62.3443 62.3961 62.4931 62.6531 62.9012 63.2732 63.8189 64.6045 65.7134 67.2416 69.2854 71.9253 75.2088 79.1224 83.5899 88.4536 93.4725 98.3293 102.649 106.024 108.097 108.701 107.96 106.285 104.225 102.271 100.701 99.5952 98.946 62.3045 62.323 62.3736 62.4686 62.6255 62.8697 63.2372 63.778 64.5595 65.666 67.1944 69.2419 71.8876 75.179 79.102 83.579 88.4514 93.4778 98.3404 102.664 106.041 108.112 108.713 107.967 106.287 104.225 102.269 100.699 99.5938 98.9448 62.1759 62.1942 62.244 62.3376 62.4927 62.7346 63.1002 63.6401 64.4231 65.5351 67.0744 69.1385 71.807 75.1209 79.0689 83.5705 88.4653 93.5104 98.3866 102.719 106.095 108.162 108.748 107.986 106.291 104.22 102.262 100.693 99.5894 98.941 61.9495 61.9672 62.0161 62.108 62.2608 62.5005 62.8645 63.4051 64.1931 65.3168 66.8766 68.9703 71.6751 75.03 79.0205 83.5634 88.4955 93.5714 98.4695 102.814 106.191 108.247 108.809 108.016 106.298 104.212 102.25 100.683 99.5819 98.9345 61.6248 61.6419 61.6891 61.7783 61.9276 62.1638 62.5257 63.0676 63.8631 65.0045 66.5951 68.7325 71.4905 74.9042 78.9554 83.5571 88.5422 93.6613 98.59 102.951 106.329 108.367 108.894 108.06 106.306 104.201 102.234 100.669 99.5713 98.9255 61.1983 61.2144 61.259 61.344 61.488 61.719 62.0775 62.6206 63.4261 64.5918 66.2251 68.4224 71.2516 74.7428 78.8735 83.5519 88.606 93.7809 98.7484 103.13 106.509 108.524 109.004 108.115 106.316 104.185 102.212 100.65 99.5577 98.9138 60.6651 60.6798 60.7205 60.7991 60.935 61.1579 61.5111 62.0549 62.8726 64.0702 65.7605 68.0364 70.957 74.5453 78.775 83.5486 88.6878 93.9311 98.9457 103.351 106.732 108.717 109.139 108.182 106.327 104.166 102.185 100.628 99.5411 98.8995 60.0191 60.0317 60.0667 60.1357 60.2592 60.4701 60.815 61.358 62.1896 63.4283 65.1933 67.5707 70.6047 74.3109 78.6602 83.5482 88.7887 94.1132 99.1829 103.616 106.997 108.947 109.298 108.26 106.34 104.142 102.152 100.601 99.5214 98.8826 59.2531 59.2628 59.2894 59.3441 59.4485 59.6411 59.9735 60.5127 61.359 62.6502 64.5138 67.0211 70.1931 74.0391 78.5294 83.5517 88.9104 94.3287 99.461 103.926 107.307 109.214 109.483 108.35 106.353 104.114 102.114 100.57 99.4987 98.863 58.3546 58.3627 58.3789 58.414 58.4879 58.6526 58.9659 59.496 60.3547 61.7141 63.7096 66.3786 69.7208 73.7287 78.383 83.5604 89.0547 94.5795 99.7816 104.28 107.66 109.519 109.692 108.45 106.366 104.081 102.071 100.534 99.4731 98.8408 57.3034 57.3156 57.322 57.3342 57.3602 57.4809 57.7639 58.2759 59.1387 60.5897 62.7667 65.6488 69.1866 73.3785 78.2215 83.5761 89.2236 94.8679 100.146 104.681 108.059 109.862 109.926 108.56 106.378 104.042 102.022 100.495 99.4445 98.8159 56.1111 56.1171 56.0968 56.0773 56.0487 56.0992 56.3242 56.8065 57.6523 59.2341 61.6696 64.8251 68.5899 72.9862 78.0456 83.6005 89.4199 95.1964 100.557 105.129 108.504 110.245 110.184 108.68 106.388 103.997 101.967 100.451 99.413 98.7884 54.7354 54.7386 54.7378 54.6818 54.5763 54.4843 54.5733 55.0179 55.7999 57.584 60.4036 63.9125 67.9291 72.549 77.8559 83.6363 89.6464 95.5681 101.015 105.625 108.997 110.667 110.467 108.808 106.397 103.945 101.906 100.403 99.3786 98.7582 52.9909 53.0264 53.0387 52.9688 52.9738 52.6653 52.3745 52.804 53.4196 55.5375 58.9586 62.9239 67.201 72.0632 77.6544 83.6864 89.9066 95.9864 101.523 106.172 109.538 111.13 110.773 108.943 106.401 103.887 101.838 100.351 99.3414 98.7254 50.9416 51.0901 51.3333 51.3282 51.4001 51.1626 49.3358 49.9095 50.2736 52.9335 57.3326 61.8829 66.3981 71.5239 77.4449 83.7544 90.2049 96.4556 102.084 106.767 110.13 111.635 111.103 109.085 106.401 103.82 101.763 100.294 99.3014 98.6898 37.0952 38.0613 39.7051 40.39 42.3675 45.3315 40.4435 46.4985 46.0016 49.6006 55.5199 60.8204 65.4927 70.9209 77.2361 83.8448 90.5454 96.9806 102.7 107.412 110.773 112.183 111.456 109.232 106.394 103.745 101.682 100.234 99.2586 98.6515 0.350683 0.346323 0.338287 0.321748 0.283477 0.205754 0.275645 0.993752 6.71586 42.9154 53.8586 59.869 64.3636 70.2213 77.046 83.9629 90.9331 97.5667 103.375 108.109 111.468 112.774 111.832 109.384 106.38 103.659 101.593 100.169 99.2132 98.6105 0.258479 0.252673 0.238898 0.218609 0.197053 0.182495 0.172502 0.156866 0.207714 0.236303 42.5258 59.7813 62.2808 69.5216 76.9029 84.1141 91.3734 98.2205 104.111 108.859 112.217 113.41 112.229 109.538 106.357 103.564 101.496 100.1 99.1651 98.5668 0.231671 0.227544 0.217753 0.203051 0.184396 0.173246 0.158084 0.148484 0.183429 0.169136 0.234307 52.6008 57.264 68.8834 76.8601 84.3033 91.8719 98.9498 104.912 109.66 113.02 114.092 112.646 109.692 106.321 103.456 101.391 100.028 99.1144 98.5202 0.211664 0.208354 0.200544 0.188639 0.199372 0.166066 0.1518 0.140038 0.149153 0.118011 0.078912 0.503175 56.5954 67.0496 76.6953 84.5306 92.4339 99.7638 105.784 110.512 113.88 114.821 113.082 109.846 106.27 103.334 101.276 99.9512 99.0613 98.4708 0.195996 0.193341 0.187266 0.178503 0.192324 0.171342 0.14815 0.132192 0.125748 0.0973237 0.0726914 0.099848 5.02258 68.8997 77.1391 84.8234 93.0648 100.673 106.729 111.412 114.796 115.598 113.535 109.997 106.201 103.197 101.152 99.871 99.0057 98.4185 0.185589 0.183298 0.17851 0.172091 0.167007 0.166409 0.163579 0.125072 0.114736 0.0942982 0.067177 0.0220209 0.0665513 66.768 77.3917 85.1674 93.77 101.692 107.754 112.359 115.768 116.423 114.004 110.142 106.109 103.042 101.017 99.7875 98.9478 98.3633 0.182116 0.177033 0.172822 0.167027 0.15968 0.148242 0.137177 0.121211 0.110341 0.0909664 0.0613465 0.00445479 -0.0137072 2.39207 75.2991 85.4501 94.5602 102.836 108.865 113.349 116.797 117.298 114.485 110.279 105.989 102.866 100.869 99.701 98.8876 98.3051 0.18134 0.180996 0.169348 0.163863 0.156428 0.146026 0.132868 0.121189 0.109623 0.0922014 0.0613585 0.045194 0.107042 -0.77134 73.2803 85.7565 95.4594 104.127 110.071 114.374 117.88 118.223 114.974 110.404 105.832 102.665 100.708 99.6122 98.8252 98.2438 0.171529 0.169669 0.167102 0.161605 0.154654 0.145628 0.134428 0.122801 0.110854 0.095715 0.0757162 0.0778637 0.212333 -0.376255 0.403405 85.5306 96.5115 105.587 111.384 115.426 119.012 119.196 115.469 110.516 105.628 102.434 100.532 99.5219 98.7607 98.1794 0.167214 0.166025 0.164575 0.160846 0.152941 0.145091 0.135329 0.124438 0.11281 0.0998767 0.0870602 0.0903543 0.119529 -0.147837 0.534267 82.9241 97.6694 107.245 112.816 116.495 120.186 120.217 115.965 110.61 105.362 102.166 100.337 99.4315 98.6942 98.1117 0.1629 0.161925 0.159671 0.15603 0.150879 0.144011 0.135377 0.125411 0.114603 0.10329 0.0932372 0.091258 0.0874072 -0.0206372 0.138771 72.4635 99.1715 109.126 114.382 117.578 121.389 121.284 116.454 110.685 105.016 101.852 100.122 99.3428 98.6259 98.0407 0.158675 0.15796 0.156095 0.152969 0.148431 0.142353 0.134695 0.125684 0.115744 0.105491 0.0962598 0.0903512 0.0775361 0.0218679 0.135487 36.1916 102.031 111.263 116.097 118.599 122.604 122.393 116.93 110.737 104.564 101.482 99.8828 99.2583 98.5559 97.9661 0.154486 0.153914 0.152345 0.149618 0.145598 0.140187 0.133351 0.125213 0.116085 0.106551 0.0975001 0.089433 0.0753078 0.0430383 0.0890022 26.9405 105.107 113.612 117.969 119.487 123.798 123.537 117.384 110.768 103.976 101.045 99.6135 99.1813 98.4844 97.8878 0.150174 0.149674 0.148298 0.145906 0.142364 0.137564 0.131453 0.124089 0.115685 0.106691 0.097709 0.0887564 0.075517 0.0496441 0.0840227 15.5955 108.233 116.146 120.017 120.142 124.933 124.707 117.807 110.779 103.216 100.531 99.3083 99.1159 98.4115 97.8041 -0.00137374 62.3577 87.6843 99.0795 101.467 104.183 102.597 113.716 122.412 126.654 123.456 116.492 121.4 114.761 74.9716 0.130001 0.0788281 0.0767312 0.0838642 0.0913044 0.0994926 0.108377 0.117026 0.124751 0.131246 0.136428 0.140338 0.143101 0.14487 0.145798 0.00231583 0.0322636 0.421898 6.72975 74.5899 104.291 101.782 113.706 122.781 126.879 123.37 115.838 122.936 116.231 63.0787 0.123177 0.0855497 0.0790341 0.08392 0.0908728 0.0989798 0.107718 0.116074 0.123452 0.129611 0.134474 0.138091 0.140598 0.142164 0.142961 0.00203675 0.0321457 0.431848 2.42066 12.0815 71.1613 100.866 113.673 123.139 126.698 122.75 115.612 124.692 117.799 39.4662 0.117899 0.0898879 0.0809182 0.0839026 0.0902695 0.098274 0.106847 0.114917 0.12198 0.127819 0.132366 0.135687 0.137929 0.139276 0.13993 0.00217675 0.0316737 0.461692 -0.15135 2.64744 56.7375 124.384 116.382 123.457 125.92 122.087 116.568 126.689 119.306 16.5962 0.125005 0.0916297 0.0823469 0.0836922 0.0894493 0.0973311 0.105729 0.113546 0.120323 0.125854 0.130093 0.133132 0.135137 0.136311 0.136866 0.00227374 0.0307212 0.325914 -0.166499 0.0359857 27.208 100.772 113.116 123.563 124.55 120.567 117.759 128.947 121.077 26.3394 0.140237 0.0921392 0.0832337 0.0831586 0.088346 0.096083 0.10432 0.111921 0.118429 0.123656 0.127599 0.130383 0.132203 0.133268 0.133774 0.00236068 0.029144 0.14119 -0.177576 0.0328345 -0.0443812 60.6337 112.464 123.35 122.591 117.753 119.417 131.415 123.554 18.0786 0.112956 0.0920132 0.0834744 0.082161 0.0868574 0.094466 0.102582 0.110002 0.116256 0.121189 0.124856 0.127426 0.129108 0.130101 0.130581 0.00244121 0.0274917 0.130005 -0.0896724 0.0414693 -0.0520137 4.49216 106.222 123.208 120.066 113.945 123.65 133.964 126.459 8.50115 0.0809724 0.0915459 0.0829382 0.0805144 0.0848338 0.0923894 0.100458 0.107745 0.113766 0.118426 0.121847 0.124234 0.125797 0.126725 0.127175 0.00249987 0.0261946 0.037579 -0.140837 0.0277831 -0.0652763 -0.0583261 56.3308 123.076 117.112 109.806 128.631 136.719 128.779 0.725 0.0718492 0.093179 0.0813932 0.0779281 0.0820586 0.0897269 0.0978811 0.105102 0.110925 0.115342 0.118541 0.120756 0.122198 0.123051 0.123463 0.00253044 0.0247815 0.0300005 -0.0758312 0.0246783 -0.0728217 -0.0603269 0.117779 109.613 77.2688 98.6738 131.016 140.694 126.954 0.392252 0.0963391 0.0916917 0.0784031 0.0739427 0.0781973 0.0862909 0.0947442 0.102001 0.107679 0.111884 0.114874 0.116917 0.118233 0.119004 0.119371 0.00253369 0.0231602 0.02309 -0.137319 0.0195407 -0.0777565 -0.0575777 0.00288564 -0.0743992 -0.0890233 7.23304 128.255 145.277 86.3395 0.318122 0.112273 0.0901177 0.0731105 0.0678219 0.0727361 0.0817994 0.0908914 0.0983454 0.103951 0.107975 0.11077 0.112643 0.113834 0.114522 0.114843 0.00250567 0.0213404 0.016854 -0.110975 0.0125262 -0.0749469 -0.0555505 -0.00618876 -0.0619 -0.130849 -0.046256 138.235 153.775 27.4558 0.311428 0.119369 0.0842793 0.0639405 0.0583113 0.0648688 0.0758258 0.0861058 0.0940082 0.0996476 0.103536 0.106155 0.107871 0.108942 0.109552 0.10983 0.00244343 0.0193389 0.0110873 -0.119584 0.00293348 -0.0789766 -0.0545653 -0.0113007 -0.0664547 -0.173958 -0.130973 56.313 163.474 0.000939267 0.227503 0.107501 0.0709949 0.0483659 0.0431929 0.0532393 0.0677229 0.0801054 0.088848 0.0946766 0.0984934 0.100968 0.102545 0.10351 0.10405 0.104289 0.00234549 0.0171986 0.00597478 -0.104171 -0.00509022 -0.07599 -0.0557634 -0.0159555 -0.0670097 -0.181222 -0.127115 0.168757 77.1281 -0.179931 0.0972656 0.0694633 0.046395 0.0224595 0.0185653 0.0355338 0.0565126 0.0725408 0.0827265 0.0889641 0.0927962 0.0951705 0.096635 0.0975101 0.0979901 0.0981965 0.00221174 0.0149641 0.00153252 -0.0899509 -0.0124088 -0.0703978 -0.0541252 -0.0210504 -0.0681222 -0.167519 -0.097234 0.0436683 -0.181913 -0.229645 0.0205696 0.0143137 0.00824097 -0.0187117 -0.020785 0.00856565 0.0409525 0.0630488 0.0755537 0.0824811 0.0864292 0.0887535 0.0901401 0.09095 0.0913863 0.0915699 0.0020433 0.0126954 -0.00222684 -0.0773605 -0.018312 -0.0632799 -0.0519976 -0.0260019 -0.0666019 -0.139905 -0.0834621 0.00755345 -0.135116 -0.281415 -0.134294 -0.0268377 -0.0405382 -0.0549711 -0.0235491 -0.0237387 0.0207118 0.0516993 0.0674475 0.0753217 0.0794658 0.0817848 0.0831298 0.0839043 0.0843191 0.0844941 0.00184436 0.0104499 -0.00523699 -0.066292 -0.0227546 -0.056053 -0.049225 -0.0302656 -0.0623219 -0.109642 -0.0713987 -0.0198922 -0.0997053 -0.170492 -0.0959273 -0.0669257 -0.0924977 -0.084853 -0.0921521 -0.0251525 0.000907515 0.039457 0.0590197 0.067798 0.0721077 0.0744305 0.075759 0.0765255 0.0769421 0.0771253 0.00162243 0.00828613 -0.00751779 -0.0566185 -0.0258359 -0.0497232 -0.046139 -0.0330347 -0.0562925 -0.0837236 -0.0591429 -0.0314951 -0.0750199 -0.0800106 -0.0970671 -0.0729733 -0.111243 -0.118445 -0.149153 -0.110469 0.0230826 0.0309232 0.051453 0.0603938 0.0646512 0.0669298 0.0682469 0.0690247 0.0694643 0.0696751 0.00138422 0.00625644 -0.00908753 -0.0482394 -0.0276671 -0.0443785 -0.0429176 -0.0341926 -0.0498687 -0.0641359 -0.0475716 -0.0303273 -0.0503484 -0.0455253 -0.0536764 -0.0553227 -0.113416 -0.112258 -0.133251 -0.0901154 0.00333265 0.0362181 0.0449087 0.0533601 0.0572988 0.0594669 0.0607747 0.0615849 0.0620718 0.0623337 0.0011373 0.00440455 -0.0100167 -0.0410479 -0.0283838 -0.0397831 -0.0396215 -0.0339308 -0.0435784 -0.0496961 -0.0369587 -0.0230977 -0.0260809 -0.0266226 -0.0113095 -0.0213756 -0.0666712 -0.0486821 -0.0955297 -0.0557203 0.0267493 0.0424463 0.0399805 0.0464483 0.0498822 0.0519852 0.0533502 0.0542457 0.0548198 0.0551644 0.000890158 0.00276339 -0.0104542 -0.034919 -0.0281324 -0.0357371 -0.0362606 -0.0325384 -0.0376714 -0.0388105 -0.0277536 -0.0143553 -0.00596973 0.0102554 0.0525829 0.012139 -0.0155314 -0.0360556 -0.0499969 0.0535665 0.00612492 0.03374 0.0319387 0.0383066 0.0420005 0.044345 0.0459072 0.04696 0.0476614 0.0481129 0.000652366 0.00135802 -0.0104779 -0.0297149 -0.0270729 -0.0320924 -0.0328538 -0.0303058 -0.0322174 -0.0303573 -0.0201862 -0.00683984 0.00736771 0.0319166 0.0597913 0.0397644 0.0245851 0.131663 0.120647 0.116648 0.00365523 0.0159578 0.0247904 0.0307034 0.0344614 0.0369691 0.0386823 0.0398587 0.0406601 0.0411941 0.000433793 0.000204088 -0.0101662 -0.0252889 -0.0253588 -0.0287121 -0.029419 -0.0274971 -0.0272447 -0.0236698 -0.0142249 -0.00151747 0.0136763 0.0338527 0.0470145 0.0418573 0.188471 0.145179 0.00552164 0.000323742 0.00643035 0.0144145 0.0206763 0.0251629 0.0283407 0.0305974 0.0321996 0.0333293 0.0341146 0.0346476 0.000242867 -0.000690623 -0.00960352 -0.021489 -0.0231479 -0.0254765 -0.0259752 -0.0243426 -0.0227431 -0.0183253 -0.00970766 0.00165329 0.0148885 0.0289364 0.0370329 0.033748 0.0200384 0.0129508 0.00973993 0.00891309 0.0114746 0.0151665 0.0186611 0.0215487 0.0238031 0.0255109 0.0267762 0.0276937 0.0283438 0.0287907 8.69741e-05 -0.00132606 -0.0088469 -0.0181698 -0.0205917 -0.0222955 -0.0225461 -0.0210269 -0.0187114 -0.0140691 -0.00646517 0.00311397 0.0134835 0.0227905 0.0274778 0.0254457 0.0191993 0.0146855 0.0127004 0.0124129 0.0135418 0.0153261 0.017207 0.0189103 0.0203359 0.0214704 0.0223397 0.0229847 0.0234491 0.0237719 -2.8571e-05 -0.00171002 -0.00793573 -0.0151972 -0.0178118 -0.0191155 -0.0191476 -0.0176905 -0.0151238 -0.0106973 -0.00424762 0.00341935 0.0111066 0.0172636 0.0202034 0.0194982 0.0168042 0.0145671 0.0134088 0.0132207 0.0137301 0.014608 0.0156011 0.016554 0.0173864 0.018069 0.0186034 0.0190067 0.0193011 0.0195077 -0.000101227 -0.00185457 -0.00687909 -0.0124567 -0.0148995 -0.015912 -0.0157929 -0.0144284 -0.0119494 -0.00804513 -0.00280859 0.00306182 0.00858309 0.0127318 0.014795 0.0148926 0.0139606 0.013013 0.0124824 0.0123976 0.012649 0.013095 0.0136165 0.0141304 0.0145879 0.0149686 0.0152707 0.0155017 0.0156723 0.0157934 -0.00013076 -0.00177847 -0.0056842 -0.00985069 -0.0119073 -0.0126782 -0.012486 -0.0112896 -0.00913421 -0.00594103 -0.00191409 0.00238615 0.00624739 0.00908429 0.010636 0.0110973 0.0109621 0.0106948 0.010537 0.01055 0.0107064 0.0109503 0.0112275 0.0114982 0.0117386 0.0119391 0.0120988 0.0122214 0.0123127 0.0123786 -0.000120736 -0.00150541 -0.00434985 -0.00729664 -0.00885482 -0.00940914 -0.00921784 -0.00828095 -0.00661577 -0.00424489 -0.00138035 0.00159859 0.0041749 0.00608437 0.00723356 0.00776538 0.00793456 0.00796718 0.00799519 0.00806753 0.00818547 0.0083296 0.00847896 0.00861868 0.00874048 0.00884158 0.0089222 0.00898396 0.00902981 0.00906314 -7.87141e-05 -0.0010641 -0.00286808 -0.00472596 -0.00573209 -0.00608047 -0.00595879 -0.00537098 -0.00431577 -0.00282819 -0.00105969 0.000744595 0.0023105 0.00348524 0.00424392 0.00466858 0.00488527 0.00500292 0.00508853 0.00517091 0.00525557 0.0053411 0.00541897 0.00548805 0.00554711 0.00559606 0.00563491 0.00566428 0.00568579 0.00570124 -1.68546e-05 -0.000490702 -0.00127975 -0.00207169 -0.0025043 -0.00265258 -0.00265388 -0.00249156 -0.002138 -0.00158084 -0.000874325 -0.000128713 0.00054792 0.00106887 0.00142607 0.0016476 0.00177943 0.00186204 0.0019214 0.00196997 0.00201211 0.00204879 0.00208003 0.00210609 0.00212749 0.00214458 0.00215773 0.00216763 0.00217505 0.00218055 0.146023 0.145591 0.14439 0.142291 0.139159 0.134867 0.129342 0.1226 0.114776 0.106185 0.097309 0.0882314 0.0761978 0.045124 0.0856155 6.4372 111.113 118.553 121.94 120.487 125.635 125.717 118.14 110.778 102.374 100.014 99.0047 97.8404 71.6716 32.3351 0.143153 0.142795 0.141756 0.13988 0.137014 0.133028 0.12784 0.121459 0.113979 0.105621 0.096814 0.0878823 0.0770038 0.050923 0.0820719 2.27871 112.27 120.02 123.111 120.477 125.634 126.238 118.319 110.777 101.801 99.6777 22.5783 0.348401 0.0271922 0.00405395 0.140086 0.139806 0.138941 0.1373 0.134707 0.131022 0.126156 0.120111 0.11296 0.104849 0.0961553 0.0875083 0.0782083 0.0627256 0.105034 0.379113 112.897 121.653 124.393 120.502 125.126 126.622 118.495 110.789 99.2134 18.9414 2.38923 0.521051 0.0273701 0.00382249 0.136996 0.136762 0.136019 0.134573 0.132233 0.128838 0.124283 0.118552 0.111701 0.103842 0.0953268 0.087059 0.0794604 0.072232 0.119532 0.241336 114.237 123.5 125.673 119.775 123.902 126.716 118.665 116.263 109.681 13.6591 -0.0194451 0.157755 0.0272252 0.00395147 0.133892 0.13367 0.132988 0.131673 0.129541 0.126418 0.122168 0.116741 0.110171 0.102565 0.0942848 0.0864603 0.0804705 0.0785829 0.11293 -0.24787 108.077 125.608 126.588 116.045 121.669 126.323 119.361 109.121 79.2426 0.729671 -0.140514 0.121512 0.0262295 0.0041513 0.13069 0.130469 0.129815 0.128586 0.126616 0.123731 0.119772 0.114642 0.108344 0.100989 0.0929794 0.0856125 0.0810077 0.0820101 0.102584 -0.232617 95.0242 127.927 127.069 113.627 118.72 125.385 119.682 107.574 15.445 -0.0140312 -0.144246 0.098543 0.024814 0.00434019 0.127273 0.127054 0.126429 0.125271 0.123436 0.120756 0.117063 0.112222 0.106186 0.0990703 0.0913318 0.0843821 0.0808872 0.0838069 0.0951582 0.00180245 82.6323 130.149 128.958 113.893 115.265 124.263 120.603 63.1663 -0.131611 -0.0150231 -0.146852 0.0167783 0.0231225 0.00452288 0.123547 0.123335 0.122747 0.121667 0.11996 0.117467 0.114016 0.109444 0.103655 0.096748 0.0892253 0.0825775 0.0798912 0.0844008 0.0946059 0.0745895 47.8547 132.411 133.091 115.584 111.58 123.237 117.992 3.09217 -0.110327 -0.0121138 -0.143121 -0.00174279 0.0218503 0.00468591 0.119439 0.119238 0.118691 0.117694 0.116118 0.113806 0.11058 0.106254 0.100685 0.0939257 0.0864848 0.0799129 0.0776822 0.0839574 0.0984025 0.124861 13.1747 133.119 139.365 115.994 34.5608 115.425 45.0818 -0.0182996 -0.106027 -0.0352263 -0.149577 -0.00609876 0.0206697 0.00481532 0.114895 0.114703 0.114198 0.113283 0.111834 0.109697 0.106681 0.102573 0.0971756 0.090456 0.082853 0.0759528 0.0736777 0.0818965 0.103721 0.135215 4.86716 131.567 146.622 115.117 0.0492732 -0.0332365 -0.0581151 -0.0211836 -0.0997642 -0.0368863 -0.159299 -0.00928028 0.0193818 0.00489749 0.109866 0.109682 0.109214 0.108374 0.107042 0.105063 0.102234 0.0983021 0.0929936 0.0861271 0.077958 0.069997 0.0668049 0.0767588 0.10615 0.16966 0.171948 128.461 157.176 9.70234 -0.134288 -0.0633926 -0.0506628 -0.0207663 -0.0935286 -0.0328331 -0.158874 -0.0112962 0.0179263 0.00492128 0.104311 0.104133 0.103698 0.102922 0.101691 0.0998437 0.0971589 0.0933343 0.0879732 0.0806488 0.071243 0.0608802 0.0550757 0.0660978 0.100643 0.170922 0.234002 37.0431 163.742 2.57762 -0.200195 -0.10768 -0.0457773 -0.0238075 -0.086768 -0.0360276 -0.134351 -0.0123709 0.016286 0.00487622 0.0982064 0.0980357 0.0976289 0.0969062 0.0957529 0.094001 0.0914011 0.0875747 0.0819337 0.0736318 0.0618507 0.0465259 0.0347655 0.0459493 0.0801504 0.0999452 -0.117061 1.17637 30.174 -0.139975 -0.205862 -0.114184 -0.0446093 -0.0255534 -0.0805303 -0.0386879 -0.15171 -0.0115313 0.0144731 0.00475603 0.0915734 0.0914102 0.0910268 0.0903435 0.0892419 0.0875407 0.0849493 0.0809744 0.0747238 0.0646131 0.0485861 0.023662 -6.3192e-05 0.0111911 0.0426934 0.0262617 -0.114457 -0.190295 -0.01124 -0.090441 -0.188984 -0.112508 -0.0455634 -0.0278595 -0.0734307 -0.0447785 0.00957166 -0.0122182 0.0125415 0.00455678 0.0844992 0.0843465 0.0839829 0.0833268 0.0822527 0.0805598 0.0779016 0.0736244 0.066382 0.0534305 0.0308706 0.00522555 -0.0146728 -0.0386564 -0.0028944 -0.0274422 0.0219085 -0.179595 -0.0295103 -0.058968 -0.159757 -0.104879 -0.0465711 -0.0303438 -0.0660159 -0.0497437 -0.085975 -0.0120563 0.010527 0.00427965 0.0771433 0.0770089 0.0766694 0.0760395 0.0749856 0.0732869 0.0705373 0.0659027 0.0574695 0.0407268 0.0474275 -0.0272933 -0.0879883 -0.0659801 -0.0558002 -0.081837 -0.295414 -0.145089 -0.0369436 -0.046938 -0.123341 -0.0916275 -0.046561 -0.0323974 -0.0591784 -0.0485479 -0.0751016 -0.0121272 0.00848455 0.00392868 0.0697223 0.0696215 0.0693224 0.0687389 0.067735 0.0660813 0.0633406 0.0585872 0.0495666 0.0306623 0.025621 -0.0737157 -0.148685 -0.115035 -0.0928621 -0.0616113 -0.173319 -0.106683 -0.0355572 -0.0401601 -0.0906912 -0.0766519 -0.0453415 -0.0337304 -0.0529999 -0.0462824 -0.0633128 -0.0124454 0.00647086 0.00351355 0.0624329 0.0623897 0.0621614 0.0616684 0.0607868 0.0593091 0.0568345 0.0525255 0.0443911 0.0274025 -0.0149349 -0.107291 -0.155621 -0.115845 -0.0838047 -0.0464269 -0.0375418 -0.0717414 -0.0272439 -0.0334639 -0.0664507 -0.0631128 -0.0431377 -0.0342485 -0.0474763 -0.0437866 -0.0537677 -0.012722 0.00455235 0.0030466 0.0553431 0.0553862 0.0552643 0.054913 0.0542373 0.053088 0.051193 0.0479764 0.042138 0.0407864 0.00166376 -0.0660443 -0.11696 -0.0827539 -0.0451631 -0.00764796 0.0628846 -0.0296982 -0.0154042 -0.0258354 -0.0490317 -0.0516588 -0.0401795 -0.0339389 -0.0425614 -0.041094 -0.0459406 -0.012859 0.00278433 0.00254468 0.0483874 0.04853 0.0485257 0.0483251 0.0478642 0.0470598 0.0457917 0.0438484 0.0407886 0.0444554 0.017672 -0.0271843 -0.0571308 -0.0355477 0.0363298 0.043392 0.10609 0.00671441 -0.00369057 -0.0182607 -0.0364666 -0.0421419 -0.0366708 -0.0328354 -0.0381837 -0.0380733 -0.0393607 -0.0128145 0.00121553 0.0020263 0.0415402 0.0417537 0.041827 0.0417134 0.0413532 0.0406684 0.0395438 0.0377614 0.0347751 0.0305658 0.020701 0.0607795 0.120051 0.109173 0.0678847 0.0578693 0.066837 0.0256216 0.00470265 -0.0116575 -0.0271203 -0.0342249 -0.0328204 -0.0310179 -0.0342394 -0.0347372 -0.0337403 -0.0125689 -0.000118208 0.00151256 0.0350008 0.0352277 0.0353203 0.0352289 0.0348878 0.0342086 0.0330597 0.0312132 0.0282158 0.023129 0.014256 0.00194365 0.00335568 0.0726403 0.191045 0.0967928 0.0497967 0.0285035 0.00918172 -0.00655779 -0.0200556 -0.0276289 -0.0288261 -0.0286074 -0.0305902 -0.0311995 -0.0288783 -0.0121127 -0.00119133 0.00102461 0.0290893 0.0292822 0.0293601 0.0292762 0.0289694 0.0283628 0.0273554 0.0258033 0.0234879 0.0201183 0.0155254 0.0103694 0.00848722 0.0131652 0.017672 0.0340466 0.0356583 0.0249413 0.0104692 -0.00309008 -0.0146987 -0.0221239 -0.0248482 -0.025747 -0.0271041 -0.0275322 -0.0246122 -0.0114443 -0.00199178 0.000583504 0.023989 0.0241297 0.0241852 0.024119 0.023885 0.0234288 0.0226893 0.0216009 0.0200955 0.0181329 0.0158201 0.0136905 0.0129445 0.0149207 0.0190062 0.0256367 0.026038 0.0199008 0.00979058 -0.00101346 -0.0107002 -0.0175487 -0.0210033 -0.0225886 -0.0236821 -0.0238433 -0.02081 -0.0105666 -0.00251666 0.000208328 0.0196479 0.0197401 0.0197781 0.0197375 0.0195881 0.0192955 0.0188262 0.0181555 0.0172754 0.0162136 0.0150787 0.0141425 0.0138212 0.0147646 0.0168607 0.0192708 0.0190938 0.015171 0.00821899 3.20178e-05 -0.0077564 -0.0137546 -0.0173644 -0.0192718 -0.0202624 -0.0201983 -0.0173592 -0.00948962 -0.00277476 -8.48205e-05 0.0158763 0.0159322 0.0159576 0.0159381 0.015856 0.0156913 0.0154251 0.0150476 0.0145647 0.0140068 0.0134419 0.0129921 0.0128356 0.0131615 0.0139161 0.0145616 0.0139411 0.0112046 0.0064056 0.000408224 -0.00562355 -0.0106116 -0.0139685 -0.0159064 -0.0168189 -0.0166257 -0.0141627 -0.00822428 -0.00277768 -0.000284235 0.0124251 0.0124579 0.0124752 0.0124689 0.0124294 0.0123461 0.0122079 0.0120088 0.0117523 0.0114563 0.0111556 0.0109019 0.0107608 0.0107731 0.0108723 0.0107783 0.00997298 0.00797034 0.00466074 0.00038325 -0.00407396 -0.00797914 -0.0108203 -0.0125608 -0.0133548 -0.0131226 -0.0111343 -0.00678607 -0.00254379 -0.000383868 0.00908737 0.00910575 0.0091171 0.00911677 0.00909973 0.0090608 0.00899415 0.00889496 0.00876223 0.00860129 0.00842585 0.00825506 0.00811059 0.00798891 0.00783516 0.00750102 0.00673977 0.00529674 0.00306925 0.000167532 -0.00291968 -0.00573665 -0.00789225 -0.00926359 -0.00987749 -0.00966412 -0.00819613 -0.00518783 -0.00209547 -0.00038502 0.00571253 0.00572159 0.00572783 0.00572867 0.00572169 0.00570455 0.00567437 0.00562818 0.00556317 0.00547792 0.00537411 0.00525842 0.00513428 0.00499391 0.0048023 0.00448305 0.00391812 0.00298308 0.00161547 -0.00012896 -0.00201786 -0.00376627 -0.00513062 -0.00600278 -0.00637482 -0.00620773 -0.00527523 -0.00342735 -0.0014597 -0.000297286 0.0021847 0.00218826 0.0021911 0.00219246 0.00219142 0.00218682 0.00217727 0.00216128 0.00213715 0.00210325 0.00205858 0.00200283 0.00193513 0.00185024 0.00173308 0.00155388 0.00126919 0.000835818 0.000237455 -0.000500445 -0.00127096 -0.00195435 -0.00244995 -0.00272606 -0.00280398 -0.00268811 -0.00230021 -0.00152111 -0.00066964 -0.000141832 99.1623 99.9054 101.063 102.56 104.386 106.311 107.891 108.593 107.981 105.912 102.545 98.2357 93.392 88.3876 83.5379 79.0824 75.1787 71.903 69.2697 67.2311 65.7069 64.6009 63.8172 63.2727 62.9012 62.6533 62.4934 62.3963 62.3444 62.3254 99.1608 99.9041 101.062 102.558 104.386 106.313 107.897 108.604 107.996 105.928 102.56 98.2466 93.3971 88.3853 83.5269 79.0621 75.149 71.8653 69.2263 67.184 65.6597 64.5561 63.7765 63.2367 62.8698 62.6258 62.4689 62.3738 62.3231 62.3046 99.1564 99.8999 101.058 102.552 104.382 106.316 107.914 108.639 108.046 105.982 102.614 98.2925 93.4294 88.399 83.5185 79.0292 75.0911 71.7852 69.1231 67.0643 65.5291 64.4201 63.639 63.1001 62.7351 62.4932 62.3381 62.2443 62.1943 62.176 99.149 99.8929 101.05 102.542 104.374 106.321 107.943 108.697 108.13 106.078 102.709 98.3749 93.4899 88.429 83.5115 78.9811 75.0006 71.6536 68.9552 66.8669 65.3114 64.1908 63.4047 62.865 62.5013 62.2616 62.1086 62.0165 61.9675 61.9495 99.1385 99.8829 101.04 102.527 104.364 106.328 107.983 108.78 108.25 106.216 102.845 98.4946 93.5792 88.4754 83.5053 78.9164 74.8754 71.4694 68.7178 66.5859 64.9998 63.8617 63.0682 62.5271 62.1653 61.9288 61.7791 61.6896 61.6422 61.6248 99.1251 99.87 101.026 102.507 104.349 106.336 108.034 108.888 108.405 106.396 103.024 98.6521 93.6978 88.5387 83.5003 78.8352 74.7147 71.2311 68.4081 66.2165 64.5881 63.426 62.6225 62.08 61.7212 61.4897 61.345 61.2595 61.2147 61.1984 99.1087 99.8542 101.01 102.483 104.331 106.346 108.096 109.019 108.597 106.618 103.244 98.8483 93.8469 88.6198 83.4973 78.7376 74.5181 70.9371 68.0225 65.7526 64.0679 62.8742 62.0586 61.5151 61.1611 60.937 60.8001 60.7209 60.6799 60.6651 99.0892 99.8355 100.99 102.454 104.31 106.355 108.168 109.175 108.826 106.883 103.509 99.0841 94.0275 88.72 83.4972 78.6239 74.285 70.5856 67.557 65.1862 63.4274 62.1934 61.364 60.8208 60.4743 60.2615 60.1364 60.0666 60.0315 60.0191 99.0667 99.8138 100.968 102.42 104.283 106.366 108.25 109.356 109.092 107.192 103.817 99.3607 94.2413 88.8407 83.501 78.4946 74.0147 70.1748 67.0072 64.5072 62.6509 61.3656 60.5219 59.9819 59.6467 59.4507 59.3438 59.2881 59.2619 59.2529 99.0412 99.7892 100.943 102.381 104.253 106.375 108.341 109.56 109.395 107.545 104.17 99.6795 94.4901 88.9837 83.5102 78.35 73.7062 69.7035 66.3669 63.7032 61.7167 60.3651 59.5096 58.9777 58.6596 58.4893 58.4113 58.3752 58.3605 58.3542 99.0125 99.7615 100.915 102.336 104.217 106.384 108.441 109.788 109.737 107.943 104.57 100.042 94.7759 89.151 83.5264 78.1908 73.3585 69.1706 65.6356 62.7596 60.594 59.1541 58.2956 57.7803 57.4896 57.3596 57.3266 57.3135 57.3111 57.3026 98.9807 99.7309 100.886 102.286 104.175 106.391 108.549 110.04 110.119 108.388 105.017 100.45 95.1014 89.3451 83.5514 78.0178 72.9695 68.5751 64.8102 61.6602 59.2396 57.6744 56.8352 56.3472 56.11 56.0442 56.0619 56.0804 56.1083 56.1098 98.9457 99.6971 100.854 102.229 104.128 106.395 108.663 110.316 110.54 108.881 105.512 100.906 95.4695 89.5688 83.5879 77.8319 72.5365 67.9161 63.895 60.3891 57.5894 55.8317 55.0607 54.6052 54.4977 54.5648 54.6529 54.7078 54.7233 54.7325 98.9076 99.6603 100.821 102.166 104.074 106.396 108.782 110.616 111.003 109.423 106.057 101.411 95.8835 89.8255 83.6387 77.635 72.0563 67.1907 62.9026 58.9342 55.5397 53.465 52.8717 52.4178 52.6821 52.9505 52.9227 52.9915 52.9933 52.984 98.8663 99.6203 100.786 102.097 104.014 106.393 108.905 110.938 111.507 110.015 106.65 101.969 96.3475 90.119 83.7073 77.4316 71.524 66.3926 61.8558 57.2904 52.9266 50.337 50.0358 49.3724 51.1935 51.3614 51.2237 51.2434 51.0434 50.9319 98.8217 99.577 100.752 102.02 103.945 106.384 109.031 111.283 112.055 110.659 107.294 102.582 96.8661 90.453 83.7982 77.2305 70.9297 65.4966 60.7824 55.4514 49.5893 46.0823 46.8441 40.4692 45.5567 42.4262 40.1848 39.5417 37.9908 37.0789 98.7738 99.5303 100.717 101.936 103.868 106.369 109.157 111.649 112.647 111.356 107.99 103.253 97.4449 90.8322 83.9158 77.0503 70.2406 64.3936 59.8029 53.7416 43.155 7.0402 1.10428 0.289767 0.20946 0.282384 0.321764 0.340473 0.348812 0.351289 98.7226 99.4801 100.684 101.842 103.782 106.347 109.281 112.037 113.285 112.108 108.737 103.985 98.0903 91.2611 84.065 76.9217 69.5467 62.3679 59.6969 42.4589 0.225762 0.201457 0.154749 0.175921 0.183508 0.198122 0.219288 0.239753 0.253369 0.258632 98.668 99.4262 100.654 101.74 103.686 106.316 109.403 112.445 113.97 112.915 109.536 104.783 98.8099 91.7443 84.2491 76.904 68.9248 57.3488 52.7883 0.22609 0.164199 0.17849 0.147355 0.159363 0.174116 0.185511 0.203582 0.218141 0.227834 0.231731 98.6099 99.3684 100.627 101.627 103.577 106.277 109.518 112.872 114.702 113.779 110.385 105.651 99.6128 92.2875 84.4637 76.7888 67.1897 56.3907 0.571712 0.0756863 0.11192 0.144338 0.138885 0.151847 0.166163 0.196441 0.189427 0.200991 0.208623 0.211719 98.5483 99.3065 100.607 101.503 103.456 106.228 109.625 113.316 115.484 114.702 111.283 106.592 100.51 92.8947 84.7293 77.3519 68.8215 5.56681 0.0942081 0.0698521 0.0921644 0.120905 0.130495 0.14862 0.171133 0.181262 0.178929 0.187617 0.193566 0.196045 98.4832 99.2401 100.596 101.366 103.321 106.169 109.722 113.777 116.315 115.682 112.225 107.613 101.515 93.5713 85.0099 78.0091 65.8682 0.0759902 0.0115724 0.0658709 0.0897887 0.110236 0.122759 0.156513 0.164516 0.165315 0.172089 0.178742 0.183502 0.185616 98.4145 99.1691 100.597 101.214 103.168 106.103 109.807 114.251 117.198 116.721 113.208 108.719 102.647 94.3312 85.1659 76.5544 1.96748 -0.0251588 -0.00598503 0.0579741 0.0870106 0.10641 0.119902 0.140504 0.148298 0.15939 0.166951 0.172938 0.180533 0.183079 98.342 99.0929 100.614 101.045 102.995 106.03 109.88 114.736 118.131 117.815 114.225 109.92 103.925 95.2028 85.2288 78.0706 -0.735221 0.107514 0.032909 0.0578493 0.0884819 0.10628 0.119304 0.13267 0.145954 0.156212 0.163767 0.169237 0.18016 0.180959 98.2658 99.0113 100.652 100.856 102.797 105.956 109.944 115.23 119.115 118.962 115.269 111.223 105.374 96.2404 84.6354 1.29505 -0.345992 0.225048 0.0674436 0.0714906 0.0922105 0.108013 0.121061 0.133696 0.145209 0.154312 0.161449 0.166505 0.169938 0.171744 98.1857 98.9237 100.718 100.643 102.571 105.886 110.003 115.729 120.149 120.154 116.331 112.642 107.021 97.4093 81.9715 0.402795 -0.126836 0.125847 0.0854654 0.0832884 0.0967038 0.110314 0.122763 0.134313 0.144436 0.152436 0.160027 0.163941 0.166021 0.167155 98.1016 98.8298 100.819 100.402 102.307 105.834 110.067 116.226 121.23 121.377 117.405 114.19 108.892 98.9332 72.1018 0.0636696 -0.0113345 0.0906886 0.0889053 0.0901678 0.100482 0.112332 0.123784 0.134263 0.143215 0.150291 0.155591 0.15938 0.161873 0.162879 98.0135 98.729 100.964 100.127 101.996 105.809 110.151 116.714 122.354 122.613 118.416 115.881 111.017 101.883 36.2966 0.0667541 0.0232646 0.079664 0.0890235 0.0937406 0.102976 0.113631 0.124084 0.133522 0.141484 0.147781 0.152504 0.15581 0.15783 0.15865 97.9213 98.6211 101.165 99.8104 101.625 105.821 110.284 117.182 123.515 123.826 119.307 117.722 113.355 104.985 28.9435 0.0535831 0.0451391 0.0772998 0.0885705 0.0953261 0.104222 0.114064 0.123629 0.132156 0.139291 0.144933 0.149145 0.152042 0.153757 0.154456 97.8231 98.5051 101.434 99.4422 101.176 105.853 110.507 117.613 124.699 124.976 119.997 119.721 115.885 108.092 14.2486 0.12457 0.0607447 0.0781424 0.0881126 0.0956981 0.104442 0.113699 0.122513 0.130257 0.136672 0.14171 0.145443 0.147996 0.149511 0.150141 62.3314 62.3655 62.4381 62.564 62.7643 63.0692 63.5209 64.1773 65.1132 66.4194 68.1939 70.5271 73.4869 77.089 81.2936 85.983 90.9585 95.9392 100.576 104.475 107.235 108.578 108.475 107.205 105.27 103.215 101.432 100.092 99.2191 98.8229 62.3105 62.3437 62.4147 62.5381 62.7349 63.0355 63.4824 64.1342 65.0667 66.3717 68.1481 70.4866 73.4522 77.0639 81.2779 85.9765 90.9602 95.9476 100.589 104.492 107.251 108.592 108.484 107.21 105.271 103.213 101.43 100.091 99.2179 98.822 62.1818 62.2146 62.2845 62.4063 62.601 62.8994 63.3448 63.9966 64.9325 66.2456 68.0357 70.3936 73.3822 77.0182 81.2572 85.9796 90.984 95.9876 100.64 104.549 107.304 108.635 108.512 107.22 105.27 103.207 101.424 100.085 99.2142 98.8187 61.9552 61.9872 62.0558 62.1755 62.3679 62.6642 63.1091 63.7635 64.7073 66.0364 67.8517 70.2429 73.2706 76.9484 81.2296 85.9918 91.0306 96.0607 100.731 104.646 107.396 108.709 108.557 107.238 105.267 103.196 101.412 100.077 99.2079 98.8132 61.6303 61.6612 61.7276 61.8441 62.0329 62.3263 62.7704 63.4287 64.3847 65.7377 67.5906 70.0309 73.1149 76.853 81.1943 86.0128 91.1003 96.1676 100.861 104.786 107.527 108.813 108.621 107.262 105.264 103.18 101.396 100.064 99.199 98.8054 61.2035 61.2326 61.2956 61.4073 61.5906 61.8794 62.322 62.9853 63.9577 65.3441 67.2486 69.7552 72.9142 76.7314 81.1514 86.0434 91.1937 96.3088 101.032 104.967 107.699 108.949 108.704 107.293 105.259 103.16 101.375 100.048 99.1876 98.7955 60.6698 60.6963 60.7541 60.8585 61.0335 61.3152 61.755 62.4239 63.4173 64.8479 66.8211 69.4139 72.6676 76.5835 81.1015 86.0843 91.3121 96.4853 101.244 105.192 107.91 109.115 108.804 107.33 105.251 103.135 101.35 100.029 99.1736 98.7833 60.0231 60.0459 60.096 60.1891 60.3514 60.6225 61.0572 61.7314 62.7509 64.2393 66.3022 69.0039 72.3739 76.4092 81.045 86.1365 91.4564 96.6982 101.498 105.46 108.163 109.313 108.923 107.372 105.242 103.104 101.32 100.006 99.1572 98.769 59.2563 59.2735 59.3123 59.3882 59.5311 59.7865 60.2124 60.8901 61.9409 63.5052 65.685 68.5225 72.0323 76.2087 80.9829 86.2015 91.6285 96.949 101.796 105.773 108.457 109.543 109.06 107.42 105.23 103.068 101.284 99.9795 99.1383 98.7524 58.3577 58.3694 58.3934 58.4434 58.5558 58.7871 59.1989 59.875 60.9626 62.6281 64.9613 67.9667 71.6418 75.982 80.9162 86.2809 91.83 97.2394 102.137 106.132 108.793 109.804 109.214 107.472 105.215 103.027 101.244 99.9494 99.117 98.7338 57.309 57.3197 57.327 57.342 57.405 57.5977 57.9866 58.65 59.7808 61.585 64.1247 67.3358 71.2021 75.7297 80.8464 86.3766 92.0635 97.5712 102.524 106.536 109.171 110.098 109.385 107.529 105.196 102.98 101.199 99.9159 99.0933 98.713 56.1159 56.1103 56.0854 56.0636 56.0578 56.1809 56.5301 57.1597 58.343 60.346 63.1693 66.6292 70.7133 75.4524 80.7755 86.4911 92.3315 97.9468 102.958 106.988 109.594 110.424 109.572 107.589 105.173 102.926 101.149 99.8789 99.0673 98.6902 54.7361 54.7436 54.715 54.6344 54.5197 54.4812 54.7572 55.3156 56.5705 58.8738 62.0943 65.8478 70.1763 75.151 80.7056 86.6272 92.6371 98.369 103.44 107.488 110.062 110.783 109.775 107.651 105.145 102.866 101.093 99.8385 99.039 98.6653 53.0033 53.0464 52.9873 52.9868 52.8573 52.478 52.571 52.9811 54.3366 57.1242 60.9102 64.9942 69.5905 74.8249 80.64 86.7882 92.9841 98.8407 103.971 108.036 110.575 111.174 109.994 107.714 105.112 102.8 101.032 99.7946 99.0086 98.6384 50.9913 51.1989 51.3635 51.2746 51.3822 50.2313 49.6254 49.9481 51.3492 55.0451 59.6274 64.0665 68.95 74.4696 80.5825 86.9781 93.3767 99.3655 104.553 108.637 111.136 111.6 110.227 107.778 105.072 102.727 100.967 99.7475 98.9761 98.6095 36.9835 37.6459 38.718 38.5673 40.8779 41.9226 46.4299 46.5376 46.8605 52.7266 58.24 63.036 68.2375 74.0744 80.5374 87.2013 93.82 99.9474 105.188 109.289 111.746 112.059 110.473 107.842 105.024 102.646 100.895 99.697 98.9415 98.5788 0.349266 0.344491 0.331811 0.319728 0.287909 0.314903 0.311776 3.86226 18.2539 51.0998 56.7609 61.9105 67.4111 73.625 80.5104 87.462 94.3193 100.591 105.875 109.993 112.406 112.552 110.732 107.903 104.969 102.558 100.818 99.6434 98.905 98.5462 0.256493 0.24676 0.229343 0.207561 0.18793 0.182983 0.161283 0.172385 0.258427 8.94728 55.8192 60.6275 65.5593 73.1811 80.5062 87.7653 94.8815 101.303 106.618 110.751 113.118 113.08 111.001 107.961 104.906 102.463 100.736 99.5865 98.8667 98.5118 0.230299 0.22333 0.210985 0.194307 0.179963 0.167322 0.150223 0.161638 0.184649 0.160889 10.4287 57.6972 63.4438 72.6793 80.5305 88.1161 95.5145 102.089 107.415 111.562 113.883 113.642 111.279 108.015 104.833 102.36 100.648 99.5267 98.8265 98.4756 0.210557 0.20499 0.195109 0.183042 0.177399 0.160124 0.143743 0.144304 0.14022 0.0920571 0.0597262 26.5641 64.184 72.8077 80.5668 88.5175 96.2278 102.957 108.266 112.427 114.703 114.239 111.565 108.063 104.751 102.251 100.555 99.4638 98.7848 98.4378 0.195102 0.190697 0.183136 0.178336 0.182578 0.162215 0.138778 0.129304 0.114249 0.0831884 0.0680607 0.230903 73.1375 69.7264 80.5786 88.9674 97.0328 103.916 109.168 113.346 115.579 114.87 111.854 108.104 104.66 102.134 100.456 99.3981 98.7416 98.3984 0.184788 0.18117 0.175411 0.168939 0.170105 0.163901 0.135609 0.120289 0.105729 0.082135 0.0518516 0.00601136 0.191757 64.1383 80.6997 89.4586 97.9449 104.979 110.118 114.319 116.512 115.536 112.145 108.138 104.561 102.011 100.351 99.3295 98.697 98.3575 0.181315 0.174975 0.170127 0.163569 0.154399 0.142265 0.128108 0.116216 0.102157 0.0760411 0.0371674 0.0223306 -0.340328 72.6623 81.304 89.9705 98.9849 106.157 111.106 115.343 117.503 116.236 112.434 108.164 104.454 101.884 100.24 99.2583 98.6511 98.315 0.181593 0.171137 0.166853 0.160401 0.151632 0.139616 0.12638 0.115802 0.102019 0.0792092 0.0383799 0.113672 -0.257488 3.26365 81.0978 90.3835 100.182 107.468 112.118 116.415 118.551 116.968 112.714 108.183 104.345 101.754 100.124 99.1844 98.6042 98.2713 0.170855 0.168599 0.164701 0.158269 0.150444 0.14022 0.128463 0.117077 0.10386 0.0863848 0.0686138 0.140066 -0.0773043 -0.537162 69.9916 90.822 101.58 108.929 113.13 117.53 119.655 117.731 112.982 108.198 104.238 101.624 100 99.1079 98.5564 98.2262 0.166837 0.165922 0.162941 0.156291 0.149277 0.140396 0.129953 0.118768 0.106518 0.0932515 0.0850456 0.108115 0.00690658 -0.142136 6.42548 92.1317 103.229 110.562 114.108 118.675 120.809 118.52 113.228 108.211 104.143 101.498 99.8692 99.0286 98.5078 98.18 0.162588 0.160926 0.158025 0.153636 0.147673 0.139895 0.130521 0.120099 0.108953 0.0979188 0.0909865 0.0929096 0.0398864 -0.0116719 8.52724 93.4826 105.167 112.388 114.999 119.816 122.004 119.331 113.444 108.228 104.072 101.38 99.7296 98.9463 98.4588 98.1326 0.158452 0.157176 0.154697 0.150881 0.145592 0.138714 0.130336 0.120801 0.110585 0.10062 0.0929894 0.0865873 0.0548236 0.0404692 0.941541 94.8917 107.415 114.441 115.727 120.963 123.224 120.154 113.616 108.257 104.045 101.277 99.5795 98.8604 98.4094 98.0843 0.154311 0.153263 0.151134 0.147775 0.14307 0.136944 0.129432 0.120745 0.111309 0.101882 0.09347 0.0841834 0.0643471 0.0844249 0.0925883 97.0641 109.841 116.758 116.167 122.08 124.442 120.979 113.728 108.306 104.085 101.196 99.4168 98.7702 98.3599 98.0355 0.150022 0.149103 0.147236 0.144285 0.140126 0.134673 0.12792 0.119997 0.111221 0.10214 0.0933101 0.0834956 0.0704964 0.0830819 0.0477734 100.277 112.534 119.382 116.099 123.105 125.604 121.786 113.758 108.385 104.217 101.143 99.2392 98.6742 98.3105 97.9844 32.3796 71.6731 99.8864 99.0634 100.699 105.855 110.812 117.942 125.721 125.772 120.476 121.602 118.296 111.287 6.5568 0.0727999 0.0701056 0.0795399 0.0876786 0.0953281 0.103929 0.112785 0.121028 0.12816 0.134001 0.138536 0.141855 0.144101 0.145432 0.145991 0.0120056 0.0684055 3.08763 24.9775 100.375 105.819 111.031 118.111 126.253 125.862 120.576 122.746 119.765 112.712 2.5341 0.078295 0.0746267 0.0804013 0.0873701 0.094847 0.103357 0.111992 0.119903 0.126691 0.132205 0.136433 0.139475 0.141489 0.142649 0.143124 0.0117725 0.0691881 1.22077 3.51885 24.3188 100.654 111.29 118.268 126.66 125.404 120.555 124.007 121.399 113.201 0.444047 0.0953601 0.0789032 0.0812378 0.086928 0.0941652 0.10258 0.110985 0.118589 0.125059 0.130254 0.134174 0.136934 0.138704 0.139679 0.140061 0.0118731 0.0668899 0.1353 0.130458 13.4325 98.31 110.531 118.442 126.799 124.236 120.637 125.329 123.248 113.797 0.468171 0.105868 0.0824349 0.0818687 0.086279 0.093257 0.101555 0.109743 0.117079 0.123251 0.128133 0.131755 0.134253 0.135816 0.136654 0.136975 0.0119865 0.0805221 0.0449044 -0.0135925 1.09512 73.6483 110.823 119.301 126.456 122.15 117.534 126.427 125.346 107.883 -0.362539 0.101936 0.0849369 0.0821202 0.0853421 0.092054 0.100226 0.108231 0.115326 0.121207 0.125784 0.129126 0.131403 0.132819 0.13358 0.133874 0.0120123 0.0873839 0.145948 -0.00949259 -0.0160742 7.86193 108.773 119.748 125.482 119.232 114.496 126.964 127.718 92.4439 -0.150451 0.0921101 0.0860086 0.0818066 0.0839971 0.0904739 0.098546 0.106409 0.113289 0.118888 0.123173 0.126267 0.128367 0.12968 0.130397 0.130675 0.0119601 0.0609122 0.047152 -0.00205674 -0.0222943 -0.159037 62.7019 120.77 124.29 115.855 114.488 128.717 130.22 80.1276 -0.00501789 0.0900234 0.0862613 0.0807092 0.0820679 0.0883996 0.0964487 0.104232 0.110925 0.116262 0.120281 0.123158 0.125107 0.126331 0.127002 0.127262 0.0118235 0.0499524 -0.17051 0.0057148 -0.0226967 -0.145151 2.31443 119.083 123.201 112.291 116.008 132.574 132.813 43.4218 0.0596291 0.0941016 0.0856255 0.0785258 0.0792936 0.0856637 0.0938431 0.101642 0.108195 0.113301 0.117081 0.119759 0.121562 0.122689 0.123305 0.123541 0.0115791 0.0431834 -0.161358 0.00223192 -0.024314 -0.137094 -0.00371284 46.7993 115.029 41.2301 116.095 138.705 134.369 14.8554 0.138559 0.100242 0.0838714 0.0747796 0.0752623 0.0820091 0.0905932 0.0985557 0.105037 0.109952 0.113515 0.116 0.117654 0.118678 0.119231 0.119438 0.0112195 0.0366546 -0.14845 0.00144748 -0.026203 -0.128724 -0.0102315 -0.0721941 -0.0340852 0.162734 114.677 145.965 133.76 3.77526 0.193041 0.104005 0.0800085 0.0686787 0.069324 0.0770512 0.0864936 0.0948514 0.101368 0.10614 0.109507 0.111806 0.113312 0.114232 0.114722 0.114899 0.0107432 0.0305696 -0.130543 -0.0135609 -0.0278797 -0.118682 -0.0130578 -0.0579756 -0.0646376 -0.0738666 9.33929 156.001 133.165 0.252632 0.191721 0.102359 0.072128 0.0588538 0.0604427 0.0701932 0.0812439 0.0903678 0.0970827 0.101779 0.10498 0.107108 0.108475 0.109296 0.109727 0.109875 0.0101512 0.0250211 -0.108975 -0.038339 -0.0301667 -0.111208 -0.0121 -0.0489311 -0.10439 -0.157332 1.02996 160.282 40.8043 0.0753514 0.141793 0.0895708 0.0575419 0.0429436 0.0467577 0.0604765 0.0744137 0.0849079 0.0920693 0.0967903 0.099868 0.101849 0.103091 0.103825 0.104202 0.104324 0.00945072 0.0200318 -0.0889549 -0.0387288 -0.0321277 -0.101794 -0.0187351 -0.04509 -0.112257 -0.172493 -0.0777365 17.6578 0.884447 -0.198328 0.0361017 0.060729 0.0325641 0.0169521 0.0249684 0.0463581 0.0653939 0.078253 0.0862311 0.0911119 0.094126 0.0959936 0.0971326 0.0977911 0.0981224 0.0982235 0.00865062 0.0155753 -0.0726501 -0.0390712 -0.033545 -0.0911131 -0.0234807 -0.0443913 -0.111005 -0.160271 -0.0796467 -0.0534284 -0.204771 -0.129341 -0.0198676 0.0175904 -0.00675608 -0.024073 -0.0100094 0.0258648 0.0534577 0.0702238 0.0795211 0.0847242 0.0877428 0.0895374 0.0906026 0.0912064 0.0915047 0.0915918 0.00776685 0.0116309 -0.0595829 -0.0391233 -0.0343311 -0.0789179 -0.0276058 -0.044371 -0.10195 -0.136136 -0.0616074 -0.0570359 -0.183846 -0.100465 -0.0626315 -0.0278092 -0.0595761 -0.0281328 -0.0406295 -0.00228613 0.0385498 0.0609467 0.0720495 0.0777091 0.0807872 0.0825485 0.083573 0.0841482 0.0844316 0.0845155 0.00681803 0.00817871 -0.0491213 -0.0386735 -0.0345343 -0.0675077 -0.0312517 -0.0438048 -0.0867051 -0.106218 -0.0506199 -0.0509086 -0.14162 -0.184561 -0.108423 -0.0737607 -0.0958089 -0.0932426 -0.0743383 0.0035569 0.0222396 0.0512573 0.0642446 0.0703084 0.073438 0.0751855 0.0761967 0.0767692 0.077058 0.0771524 0.00582852 0.00519517 -0.0407766 -0.0376611 -0.0342457 -0.0579667 -0.033561 -0.04252 -0.0715304 -0.0800699 -0.0425584 -0.0437339 -0.104719 -0.108653 -0.075687 -0.0975298 -0.101548 -0.135995 -0.134716 -0.0203174 0.0175064 0.0432965 0.0568239 0.0628828 0.0659555 0.0676756 0.0686882 0.069279 0.0695938 0.0697163 0.00482425 0.00266281 -0.0341532 -0.0360949 -0.0335158 -0.0502589 -0.0345386 -0.0404838 -0.0586105 -0.0603352 -0.0354642 -0.0334271 -0.0730404 -0.021148 -0.0572086 -0.0870032 -0.0898045 -0.13607 -0.117496 -0.0529893 0.0470914 0.0369135 0.0500322 0.0556563 0.0585293 0.0602001 0.0612292 0.0618619 0.0622269 0.0624006 0.00383454 0.000556438 -0.0289106 -0.0340325 -0.032384 -0.0439762 -0.0342783 -0.0378029 -0.0480773 -0.0456746 -0.0277131 -0.0212999 -0.0385779 0.036647 -0.0239913 -0.0514795 -0.0306012 -0.105129 -0.0779786 -0.0262169 0.0546066 0.0344771 0.0437992 0.0483978 0.0510528 0.0527401 0.0538463 0.0545668 0.055017 0.0552708 0.00288799 -0.00114518 -0.0246955 -0.0315661 -0.0308656 -0.0387178 -0.0329769 -0.0346205 -0.0394365 -0.0346749 -0.0201452 -0.00932725 -0.00420454 0.0815594 0.018012 0.00114092 -0.0258905 -0.0501945 -0.0378106 0.0480805 0.0195728 0.0320776 0.035598 0.0403818 0.0432969 0.0452038 0.0464864 0.0473479 0.0479141 0.0482675 0.00201312 -0.00246067 -0.0212844 -0.0288115 -0.02897 -0.0341708 -0.0308651 -0.0311012 -0.0322302 -0.0262012 -0.0134704 -8.25526e-05 0.0169351 0.0511051 0.0514608 0.0306499 0.0353592 0.12999 0.128345 0.0109822 0.0122124 0.0205947 0.0281073 0.0327817 0.0358379 0.0379065 0.0393264 0.040299 0.0409557 0.0413847 0.00123496 -0.00340684 -0.0184647 -0.0258853 -0.0267337 -0.0301043 -0.0281767 -0.0274062 -0.0261782 -0.0196141 -0.00810415 0.00558379 0.023137 0.0435562 0.0476524 0.0370113 0.185568 0.0245153 -0.000803916 0.00248775 0.0105614 0.0177937 0.0231144 0.0268889 0.0295659 0.0314678 0.0328147 0.0337587 0.0344083 0.0348408 0.000574823 -0.0040064 -0.0160461 -0.0228846 -0.0242117 -0.0263543 -0.0251197 -0.0236832 -0.0210714 -0.0145027 -0.00428605 0.00802153 0.0220395 0.0344147 0.0378692 0.028323 0.0122333 0.0114004 0.00876162 0.00987541 0.0132899 0.0169773 0.0201873 0.0227509 0.0247191 0.0261929 0.0272733 0.028048 0.0285896 0.0289539 4.85427e-05 -0.0042856 -0.0138804 -0.0198827 -0.0214663 -0.0228201 -0.0218674 -0.0200505 -0.0167834 -0.0106114 -0.00185537 0.00826873 0.0184613 0.0259523 0.0275581 0.0225664 0.0163549 0.0134898 0.0123321 0.0128444 0.0143928 0.0162762 0.0180896 0.0196599 0.0209386 0.021936 0.0226878 0.023237 0.0236263 0.0238905 -0.000333723 -0.00427595 -0.0118528 -0.0169205 -0.0185533 -0.0193929 -0.018548 -0.016592 -0.013192 -0.00770126 -0.000504452 0.00734094 0.0144936 0.0192177 0.0202974 0.0182616 0.0155516 0.0138537 0.0132042 0.0134077 0.0141401 0.0151011 0.0160887 0.0169879 0.0177468 0.0183539 0.0188201 0.0191661 0.0194142 0.019584 -0.00056875 -0.00400449 -0.00989275 -0.0140063 -0.0155232 -0.0160377 -0.0152467 -0.0133518 -0.0101947 -0.0055668 9.93301e-05 0.00592952 0.0108907 0.014046 0.0150532 0.0144861 0.0134484 0.0126877 0.0123881 0.0124893 0.0128555 0.0133519 0.013878 0.0143678 0.0147882 0.0151292 0.0153944 0.0155938 0.0157385 0.0158384 -0.000659675 -0.00349964 -0.00794037 -0.0111259 -0.0124101 -0.012719 -0.0120086 -0.010343 -0.00767047 -0.00400707 0.000240628 0.00441293 0.00782223 0.0100226 0.0109782 0.0110721 0.0108241 0.0105949 0.010522 0.0106129 0.0108208 0.0110871 0.0113653 0.0116229 0.0118439 0.012024 0.0121645 0.0122706 0.0123486 0.0124036 -0.000617625 -0.00278788 -0.00595272 -0.00824903 -0.00922876 -0.00941085 -0.00884304 -0.00754395 -0.00551515 -0.00285424 0.000105322 0.00295329 0.00522646 0.0067513 0.0075629 0.00788 0.00795734 0.00797724 0.00802484 0.00812164 0.0082556 0.00840443 0.00855049 0.00868197 0.00879359 0.00888448 0.00895544 0.0090087 0.00904781 0.00907593 -0.000460964 -0.00189616 -0.00390263 -0.00533567 -0.00597009 -0.00607918 -0.00572497 -0.00490371 -0.00362216 -0.00196632 -0.000147726 0.0015705 0.00295201 0.00391417 0.00449091 0.00479543 0.00495132 0.00504729 0.00512951 0.00521328 0.00529992 0.00538095 0.00545471 0.00551877 0.00557285 0.00561688 0.00565084 0.00567595 0.00569418 0.00570715 -0.000217427 -0.000857118 -0.0017181 -0.00233411 -0.00259831 -0.00267379 -0.00259506 -0.00234161 -0.00188434 -0.00124091 -0.000499107 0.000229623 0.000829315 0.00126719 0.00155121 0.00172188 0.00182481 0.00189339 0.00194648 0.00199164 0.00203111 0.00206515 0.00209374 0.00211738 0.00213663 0.00215168 0.00216304 0.00217161 0.00217805 0.00218274 0.145893 0.145093 0.14346 0.140861 0.137163 0.132261 0.12612 0.118811 0.110545 0.101727 0.0928207 0.0834567 0.0744314 0.0759984 0.043302 76.8583 115.006 121.908 115.219 123.691 126.404 122.459 113.691 108.49 104.427 101.121 99.0678 87.4686 62.3468 40.1653 0.143048 0.142369 0.140931 0.138578 0.135167 0.130585 0.124796 0.11785 0.109887 0.10122 0.0923562 0.0834634 0.0757664 0.0732394 0.0425557 59.4652 116.458 123.493 114.443 123.615 126.605 122.83 113.603 108.567 104.588 73.6378 4.07285 0.0345193 0.0139304 0.000369965 0.140005 0.139456 0.138227 0.13613 0.133007 0.128738 0.123279 0.116671 0.109013 0.100526 0.0917855 0.0834762 0.0771996 0.0830049 0.0523391 38.0155 118.032 125.301 114.443 123.125 126.389 123.19 113.458 108.655 68.5494 8.73509 0.580326 0.0452825 0.0138318 -0.000111481 0.136929 0.136464 0.135395 0.133524 0.130674 0.126708 0.121563 0.115265 0.107893 0.0996224 0.0910864 0.0834588 0.0786795 0.0867174 0.0760576 16.3148 119.511 127.343 115.31 122.18 125.544 123.501 113.921 104.488 57.279 3.23956 -0.0575179 0.0597762 0.0137957 -1.655e-05 0.133827 0.133396 0.132419 0.130719 0.128112 0.124439 0.119602 0.113598 0.106496 0.0984719 0.090212 0.0832995 0.0799547 0.084205 0.101631 20.8689 121.346 129.606 116.254 120.185 124.117 123.643 112.797 108.194 26.0242 -0.131979 -0.0922275 0.0610568 0.0136829 0.000154766 0.130624 0.130203 0.129281 0.127703 0.125297 0.121893 0.117356 0.111639 0.104799 0.0970344 0.0890962 0.0828631 0.080873 0.0845484 0.070884 16.763 124.083 131.945 118.213 117.181 122.186 123.461 112.197 74.6141 -0.00471231 -0.137126 -0.108499 0.11142 0.013554 0.000301589 0.127206 0.126798 0.125924 0.124447 0.122211 0.119045 0.114792 0.109355 0.102763 0.0952504 0.087629 0.0819985 0.0812515 0.0859552 0.0569117 11.2782 126.849 134.249 122.795 113.247 119.569 123.337 105.746 6.80069 0.00801488 -0.136397 -0.109901 0.0575603 0.0134157 0.000441649 0.123481 0.123094 0.122275 0.120901 0.118821 0.115871 0.111879 0.106705 0.10034 0.0930351 0.0856548 0.0804741 0.0809072 0.0869465 0.0547841 1.29514 128.732 136.788 128.205 109.176 116.5 123.324 54.5763 -0.0420729 -0.0107638 -0.125754 -0.110334 0.049849 0.0131897 0.000571803 0.119375 0.119012 0.118255 0.116987 0.115063 0.112318 0.108565 0.103631 0.0974525 0.0902585 0.0829444 0.0779438 0.0794732 0.0880531 0.0840216 0.337179 125.034 140.522 131.488 94.5289 72.2442 110.245 0.221401 -0.0466726 -0.0203604 -0.13316 -0.108881 0.0426166 0.0128398 0.000688552 0.114833 0.114494 0.113798 0.112633 0.110861 0.108311 0.104777 0.100046 0.0939819 0.0867268 0.0791536 0.0738756 0.076235 0.088622 0.107303 0.279835 83.4723 145.283 129.387 7.14679 -0.105884 -0.075022 -0.0142983 -0.0429309 -0.0276598 -0.139206 -0.10584 0.0355245 0.0123511 0.000788698 0.109805 0.109488 0.108846 0.107777 0.106144 0.103769 0.100422 0.095836 0.0897608 0.0821586 0.0737654 0.0673592 0.069898 0.0864706 0.122465 0.272961 26.2624 153.985 138.096 0.0442103 -0.147315 -0.0629285 -0.0194 -0.0398503 -0.0329066 -0.137496 -0.102751 0.0287833 0.0117307 0.000869425 0.10425 0.103952 0.103358 0.102371 0.100855 0.098622 0.0954106 0.0908719 0.084574 0.0761483 0.0659644 0.0567875 0.0581832 0.0785658 0.124434 0.273068 0.465574 164.6 71.0662 -0.0965934 -0.192509 -0.0698038 -0.0225052 -0.0394873 -0.0362532 -0.0802115 -0.0840543 0.0226977 0.0109818 0.000928516 0.0981462 0.0978658 0.0973126 0.0963918 0.0949642 0.0928259 0.0896707 0.0850251 0.0781649 0.0681249 0.0544074 0.0390231 0.0370886 0.0602317 0.0992749 0.210988 -0.119511 87.1267 0.351188 -0.117044 -0.200655 -0.0703092 -0.0259252 -0.0385685 -0.0377213 -0.0625019 -0.081719 0.0168707 0.0101177 0.000964438 0.0915151 0.0912499 0.0907284 0.0898539 0.0884802 0.0863795 0.0831761 0.078209 0.0702809 0.0573816 0.0372337 0.00899557 0.00046965 0.0271089 0.0476147 0.00856265 -0.224637 -0.184591 0.0813711 -0.101142 -0.185851 -0.0717054 -0.0295312 -0.0378032 -0.0376851 -0.0426209 -0.0739128 0.0118866 0.00915094 0.000976312 0.0844449 0.084195 0.0836975 0.0828515 0.0814995 0.0793805 0.0760237 0.0704971 0.0608829 0.0436836 0.0167117 -0.00291954 -0.0295667 -0.0209413 0.00187203 -0.156476 -0.291775 -0.130116 0.023968 -0.090408 -0.154465 -0.0705623 -0.0328854 -0.0377438 -0.0379708 -0.0926671 -0.0651703 0.00758076 0.00810147 0.000963951 0.0770972 0.0768688 0.076397 0.0755757 0.0742347 0.0720789 0.0685332 0.0623461 0.0505812 0.0272966 0.0207226 -0.0701144 -0.0843655 -0.0742787 -0.0495861 -0.0561972 -0.216163 -0.0975678 -0.0129998 -0.0769839 -0.121733 -0.0665012 -0.0354921 -0.0378491 -0.0380489 -0.078199 -0.0558928 0.00393382 0.00699206 0.000927783 0.0696921 0.0695006 0.0690724 0.0682999 0.0670082 0.0648858 0.0613001 0.0548281 0.0419137 0.0167888 -0.00358176 -0.143765 -0.130687 -0.0973671 -0.0690161 -0.0943143 -0.118927 -0.0714329 -0.0260732 -0.0627169 -0.0920167 -0.0603444 -0.0368947 -0.0377434 -0.0378144 -0.0656197 -0.0481179 0.000936439 0.00584942 0.000869063 0.0624302 0.0623022 0.0619536 0.0612856 0.0601401 0.0582319 0.054985 0.0491184 0.0375288 0.011276 -0.0552582 -0.144619 -0.15118 -0.0956176 -0.0530071 -0.0261065 -0.0167985 -0.0457343 -0.0253539 -0.0495561 -0.0697199 -0.053371 -0.0369894 -0.0372208 -0.0371479 -0.0560021 -0.0414623 -0.00144921 0.00470452 0.000789803 0.0553817 0.0553489 0.0551217 0.0546226 0.0537337 0.0522575 0.0498038 0.0455043 0.0392175 0.0255696 -0.0311773 -0.0988744 -0.101333 -0.0869378 -0.013997 0.0149088 0.00599319 -0.0194022 -0.0184159 -0.037769 -0.053425 -0.0464982 -0.0359763 -0.0361694 -0.0359879 -0.0482544 -0.0357418 -0.00328366 0.00358757 0.000693242 0.0484742 0.0485486 0.0484531 0.0481312 0.0475105 0.0464928 0.0449233 0.0424956 0.0409033 0.0381145 -0.00263577 -0.0478169 -0.0461053 0.00527743 0.0392591 0.0895987 0.0279573 0.00156208 -0.0102356 -0.027805 -0.0412912 -0.0400575 -0.0340938 -0.0345225 -0.0343363 -0.0417658 -0.0308177 -0.00462494 0.00252869 0.000583484 0.0416617 0.0418101 0.0417964 0.0415678 0.0410566 0.0401703 0.0387555 0.0364777 0.0323312 0.0327009 0.00765783 0.135158 0.11971 0.053562 0.0663609 0.0521287 0.0437432 0.0137572 -0.00346583 -0.0198409 -0.0319957 -0.0341373 -0.0315645 -0.0322864 -0.0322241 -0.0362017 -0.0265672 -0.00553411 0.00155776 0.000465798 0.035128 0.035293 0.0353004 0.0350936 0.0345965 0.0337031 0.0322434 0.0298989 0.0260172 0.0192851 0.00814553 -0.00170562 0.0178787 0.168705 0.215223 0.0477519 0.0399377 0.0181884 0.00109639 -0.0137372 -0.0247446 -0.0287624 -0.0285801 -0.0295635 -0.0296985 -0.0313235 -0.0228733 -0.00606562 0.000702494 0.000346179 0.0291974 0.0293376 0.0293412 0.0291545 0.0287086 0.0279163 0.0266583 0.024757 0.0219521 0.017964 0.0129406 0.00871033 0.0101187 0.0157462 0.0301031 0.0355433 0.0314438 0.0177044 0.00353534 -0.00923523 -0.0190325 -0.0239291 -0.0253089 -0.0265074 -0.0268096 -0.0269546 -0.0196262 -0.00626741 -1.27093e-05 0.000231172 0.024068 0.0241699 0.0241697 0.0240258 0.023688 0.0230983 0.0221927 0.0209038 0.0191705 0.0170021 0.0146749 0.0130146 0.0136148 0.0169253 0.0234794 0.0264962 0.0237305 0.0150898 0.00435795 -0.00608954 -0.0145473 -0.0196288 -0.0218942 -0.0232541 -0.023634 -0.0229655 -0.0167268 -0.0061805 -0.00056839 0.000127382 0.0196993 0.019767 0.0197691 0.0196781 0.0194616 0.0190846 0.0185168 0.0177411 0.0167635 0.0156438 0.0145617 0.0139034 0.0141407 0.0157053 0.0182527 0.0195915 0.0175988 0.0119627 0.00417794 -0.00399675 -0.0110339 -0.015831 -0.0184537 -0.0198947 -0.0202963 -0.0192566 -0.0140822 -0.00584146 -0.00095224 4.09695e-05 0.0159073 0.0159495 0.0159544 0.0159058 0.015785 0.0155716 0.01525 0.0148181 0.0142924 0.0137196 0.0131936 0.0128635 0.0129354 0.0135046 0.014318 0.0144726 0.0128536 0.00901885 0.00349129 -0.00266975 -0.00829386 -0.0124896 -0.0150764 -0.0164885 -0.0168583 -0.0157534 -0.0116054 -0.00527433 -0.00115737 -2.29579e-05 0.012443 0.012469 0.0124756 0.0124539 0.0123939 0.0122843 0.0121157 0.0118867 0.0116076 0.011304 0.0110197 0.0108135 0.0107488 0.0108226 0.0108767 0.0104971 0.00913722 0.00646401 0.00261929 -0.00186486 -0.00613206 -0.00954021 -0.0118119 -0.0130719 -0.0133797 -0.012392 -0.00921794 -0.00449759 -0.00118567 -6.09922e-05 0.00909711 0.00911261 0.0091189 0.00911074 0.00908331 0.00903123 0.00894856 0.00883236 0.0086847 0.00851439 0.00833771 0.00817949 0.00804862 0.00792255 0.00770355 0.00719002 0.00611384 0.0042766 0.00169915 -0.00137656 -0.00438817 -0.00690739 -0.00867132 -0.00966256 -0.0098855 -0.00911291 -0.00685049 -0.00352455 -0.00104702 -7.21784e-05 0.00571721 0.00572525 0.00572922 0.00572636 0.00571459 0.0056913 0.00565338 0.00559819 0.00552328 0.00542794 0.00531769 0.00519762 0.00506727 0.00490806 0.00466465 0.00423912 0.00350248 0.00235246 0.000781808 -0.00107169 -0.00292514 -0.00450425 -0.0056275 -0.00624956 -0.00636461 -0.00585372 -0.00444422 -0.00238024 -0.000760118 -5.88373e-05 0.00218655 0.00218986 0.00219205 0.00219231 0.00218968 0.00218281 0.00217022 0.00215036 0.0021215 0.00208222 0.00203205 0.00197059 0.00189547 0.0017971 0.00165354 0.00142753 0.0010727 0.000556275 -0.000122376 -0.000887986 -0.00163024 -0.00222826 -0.00261379 -0.00278756 -0.00276922 -0.00254423 -0.00195027 -0.00107347 -0.000355676 -2.78639e-05 99.015 99.4783 100.443 101.768 103.442 105.362 107.178 108.383 108.467 107.125 104.371 100.479 95.8523 90.8835 85.9199 81.2407 77.0443 73.4473 70.4948 68.1664 66.397 65.096 64.165 63.513 63.0649 62.7628 62.5645 62.44 62.3682 62.3345 99.0138 99.4757 100.44 101.765 103.439 105.361 107.184 108.4 108.495 107.158 104.407 100.51 95.8759 90.8957 85.9179 81.2227 77.0093 73.3964 70.4283 68.0876 66.3104 65.0059 64.0749 63.425 62.9799 62.6809 62.4852 62.3626 62.292 62.2588 99.0098 99.4702 100.435 101.758 103.431 105.36 107.197 108.435 108.552 107.23 104.484 100.581 95.932 90.9306 85.9256 81.1989 76.9522 73.3064 70.3074 67.9406 66.1441 64.8276 63.8908 63.2392 62.7948 62.4976 62.3038 62.1828 62.1133 62.0807 99.0032 99.4619 100.426 101.746 103.419 105.357 107.215 108.487 108.64 107.341 104.602 100.69 96.0212 90.9882 85.9421 81.1677 76.8701 73.1733 70.1267 67.7189 65.8914 64.5553 63.6084 62.9536 62.5096 62.2146 62.0235 61.9049 61.8371 61.8053 98.9939 99.451 100.415 101.731 103.403 105.352 107.239 108.558 108.759 107.492 104.762 100.84 96.1443 91.069 85.9676 81.129 76.7623 72.9958 69.8836 67.4183 65.5468 64.1825 63.2215 62.562 62.1188 61.8273 61.6404 61.5256 61.4604 61.43 98.982 99.4371 100.401 101.712 103.382 105.346 107.269 108.645 108.908 107.683 104.964 101.031 96.3019 91.1739 86.0031 81.0831 76.6284 72.773 69.5759 67.0348 65.1038 63.7015 62.722 62.0571 61.6156 61.3292 61.1488 61.0397 60.9786 60.9504 98.9675 99.4205 100.384 101.688 103.357 105.338 107.304 108.75 109.088 107.914 105.21 101.263 96.4951 91.304 86.0493 81.0305 76.4684 72.5039 69.201 66.5629 64.5539 63.1015 62.0989 61.4283 60.9901 60.7117 60.5409 60.4407 60.3858 60.3609 98.9504 99.4012 100.365 101.661 103.326 105.327 107.343 108.873 109.299 108.187 105.5 101.537 96.7253 91.4607 86.1074 80.972 76.2824 72.1875 68.7561 65.9961 63.8855 62.3679 61.3374 60.6619 60.2296 59.963 59.8068 59.72 59.6745 59.6542 98.9306 99.379 100.342 101.629 103.291 105.314 107.386 109.012 109.542 108.501 105.835 101.855 96.9937 91.6456 86.179 80.9085 76.0706 71.823 68.2384 65.3269 63.0834 61.4801 60.4165 59.7394 59.317 59.068 58.9335 58.8671 58.8355 58.822 98.9083 99.3542 100.317 101.593 103.25 105.298 107.433 109.167 109.817 108.857 106.215 102.218 97.3023 91.8608 86.2658 80.8415 75.8334 71.4097 67.6456 64.5473 62.1272 60.4084 59.3069 58.6356 58.2296 58.0076 57.9049 57.8697 57.86 57.8576 98.8835 99.3265 100.29 101.553 103.203 105.278 107.481 109.338 110.124 109.257 106.643 102.626 97.6532 92.1086 86.3698 80.7727 75.5715 70.948 66.9767 63.6502 60.9901 59.1102 57.9652 57.3146 56.9364 56.7606 56.7132 56.72 56.7384 56.7419 98.8561 99.2961 100.259 101.508 103.151 105.254 107.531 109.525 110.463 109.702 107.117 103.082 98.0487 92.3918 86.4936 80.7043 75.2862 70.4387 66.232 62.6313 59.638 57.521 56.3245 55.7195 55.3976 55.3128 55.3736 55.4125 55.4358 55.4119 98.8263 99.263 100.227 101.459 103.093 105.225 107.58 109.726 110.836 110.193 107.641 103.587 98.4916 92.7137 86.6402 80.6392 74.9776 69.8832 65.4136 61.4935 58.0283 55.5395 54.2788 53.745 53.5684 53.688 53.7612 53.8161 53.9309 53.9338 98.794 99.2271 100.192 101.404 103.028 105.191 107.628 109.941 111.242 110.731 108.214 104.141 98.9853 93.078 86.8132 80.5809 74.6439 69.2803 64.5238 60.2481 56.113 52.9772 51.6817 51.2218 51.3556 52.1385 52.1613 52.057 52.0394 51.9928 98.7593 99.1885 100.154 101.345 102.956 105.151 107.672 110.169 111.682 111.317 108.841 104.747 99.5335 93.4892 87.0161 80.5339 74.2776 68.6205 63.5544 58.8947 53.8601 49.3187 48.4843 48.4419 49.0991 50.2 49.9423 50.2942 50.0489 49.7316 98.7222 99.1473 100.114 101.28 102.877 105.104 107.711 110.41 112.156 111.954 109.519 105.406 100.14 93.9521 87.2527 80.504 73.8624 67.8855 62.462 57.4138 51.5394 42.8846 31.5333 19.4209 12.0581 8.84625 6.58495 5.61614 5.02519 4.7478 98.6829 99.1033 100.071 101.21 102.791 105.051 107.742 110.661 112.666 112.642 110.251 106.119 100.811 94.4727 87.5272 80.4982 73.409 66.8498 61.3933 56.0483 41.8855 0.502026 0.277257 0.185421 0.208083 0.204798 0.227062 0.251002 0.270039 0.280137 98.6412 99.0566 100.027 101.133 102.698 104.99 107.762 110.921 113.211 113.384 111.036 106.887 101.552 95.0578 87.8435 80.5221 72.9199 64.0821 59.6664 45.0473 0.23008 0.193465 0.164416 0.156174 0.175122 0.182558 0.200576 0.219841 0.234557 0.242502 98.5974 99.0074 99.9792 101.05 102.597 104.922 107.767 111.19 113.793 114.181 111.875 107.711 102.37 95.716 88.2035 80.581 72.6809 63.6312 50.6031 0.163209 0.127573 0.157546 0.149741 0.146748 0.163542 0.17417 0.188122 0.203269 0.214036 0.22002 98.5515 98.9554 99.9289 100.959 102.489 104.846 107.752 111.465 114.411 115.036 112.769 108.59 103.274 96.4575 88.6063 80.6646 71.9315 61.6829 1.46259 0.0654046 0.0741024 0.117641 0.132956 0.141153 0.157509 0.188451 0.178691 0.188959 0.197542 0.202334 98.5035 98.9009 99.8753 100.859 102.374 104.762 107.712 111.745 115.066 115.949 113.717 109.521 104.274 97.2957 89.0415 80.646 67.2617 21.56 0.0118449 0.065751 0.0822728 0.103745 0.120714 0.137088 0.162029 0.175589 0.171515 0.179167 0.185671 0.189477 98.4535 98.8438 99.8179 100.75 102.253 104.67 107.637 112.026 115.757 116.923 114.716 110.5 105.381 98.2489 89.4944 81.2568 60.3301 -0.849875 -0.0175162 0.0666466 0.0742127 0.0987929 0.114328 0.15087 0.155045 0.157023 0.165717 0.172561 0.178129 0.181266 98.4017 98.7843 99.7557 100.63 102.127 104.573 107.517 112.305 116.483 117.957 115.765 111.519 106.611 99.3427 89.9081 81.876 6.41794 -0.314107 0.0376871 0.0235652 0.0739131 0.097784 0.112821 0.124965 0.139769 0.152669 0.161593 0.168233 0.179305 0.182767 98.3481 98.7223 99.6874 100.496 101.999 104.47 107.335 112.578 117.243 119.052 116.856 112.563 107.979 100.615 90.1954 78.9577 -2.43708 -0.102962 0.102237 0.0478642 0.0790187 0.0992989 0.113775 0.126532 0.139594 0.150731 0.159111 0.165564 0.174965 0.178386 98.2929 98.6582 99.6115 100.346 101.871 104.367 107.07 112.84 118.032 120.205 117.979 113.61 109.505 102.116 90.9423 42.2169 -0.322127 0.0330001 0.116318 0.073614 0.0864962 0.102139 0.115699 0.128128 0.139698 0.149428 0.157394 0.163484 0.166713 0.16877 98.2361 98.592 99.5256 100.177 101.748 104.265 106.693 113.084 118.846 121.412 119.104 114.625 111.207 103.894 92.4727 2.13203 -0.0263005 0.0453352 0.0981934 0.0852377 0.09268 0.105102 0.117474 0.129003 0.139362 0.147899 0.154633 0.160343 0.162734 0.164639 98.1779 98.524 99.4268 99.9837 101.636 104.174 106.164 113.304 119.676 122.66 120.23 115.557 113.111 106.004 93.8473 2.7237 -0.0114266 0.054205 0.0891563 0.0897711 0.0967214 0.107438 0.118648 0.129165 0.138406 0.14596 0.151762 0.156014 0.158906 0.160456 98.1185 98.4544 99.3117 99.7622 101.543 104.105 105.433 113.491 120.512 123.932 121.34 116.328 115.238 108.327 96.7366 0.325401 0.0333286 0.0614322 0.0852772 0.0914224 0.0989516 0.108789 0.119038 0.12859 0.136871 0.143618 0.148812 0.152571 0.155025 0.1563 98.0584 98.3837 99.1757 99.506 101.48 104.078 104.442 113.633 121.337 125.194 122.384 116.822 117.643 110.864 93.8073 0.119826 0.0557149 0.0685763 0.0840092 0.0918165 0.0998441 0.109182 0.118659 0.127366 0.134829 0.140876 0.145516 0.148845 0.150991 0.152104 97.9959 98.3107 99.0126 99.2074 101.459 104.129 103.159 113.711 122.129 126.342 123.271 116.798 120.322 113.698 91.0551 0.116706 0.0728214 0.0746898 0.0838375 0.0915584 0.0997606 0.108751 0.117611 0.125593 0.132341 0.137754 0.141867 0.144794 0.14668 0.147672 62.3284 62.3471 62.3982 62.4941 62.6524 62.8983 63.2677 63.8105 64.5934 65.7001 67.2271 69.2712 71.9123 75.1973 79.1138 83.5842 88.4507 93.472 98.3308 102.652 106.028 108.1 108.704 107.962 106.286 104.225 102.271 100.701 99.5949 98.9457 62.2529 62.2713 62.3215 62.4158 62.5717 62.8147 63.1809 63.721 64.5026 65.611 67.1436 69.1979 71.8542 75.1538 79.0872 83.5745 88.4563 93.4905 98.359 102.686 106.063 108.133 108.728 107.975 106.289 104.223 102.266 100.697 99.592 98.9432 62.0748 62.0929 62.1422 62.2351 62.3892 62.63 62.9948 63.535 64.3202 65.4374 66.9857 69.0629 71.7475 75.0797 79.0468 83.5669 88.4784 93.5373 98.4234 102.761 106.138 108.2 108.775 107.999 106.294 104.217 102.257 100.689 99.5861 98.9381 61.7996 61.8171 61.8652 61.9559 62.1072 62.3453 62.7084 63.2496 64.041 65.1727 66.7466 68.8603 71.5895 74.9716 78.99 83.5601 88.5168 93.6127 98.5251 102.877 106.255 108.303 108.848 108.036 106.302 104.207 102.243 100.676 99.5769 98.9304 61.4245 61.4412 61.4872 61.5745 61.7215 61.9554 62.3158 62.8583 63.6585 64.8111 66.4215 68.5867 71.3779 74.828 78.9165 83.5543 88.5719 93.7173 98.6644 103.035 106.414 108.441 108.946 108.086 106.311 104.194 102.223 100.66 99.565 98.92 60.9454 60.9609 61.0037 61.0858 61.2262 61.4536 61.8097 62.3533 63.1646 64.3453 66.005 68.2391 71.1114 74.6486 78.8263 83.5499 88.6446 93.8521 98.8422 103.235 106.615 108.616 109.068 108.147 106.321 104.176 102.199 100.639 99.5497 98.907 60.3565 60.3702 60.4084 60.4828 60.6132 60.8307 61.1801 61.7238 62.5483 63.7652 65.4903 67.8137 70.7882 74.4327 78.7196 83.548 88.7357 94.0181 99.0593 103.478 106.859 108.827 109.215 108.22 106.333 104.155 102.169 100.615 99.5317 98.8914 59.6508 59.6623 59.6938 59.7563 59.8716 60.0743 60.4136 60.9551 61.7942 63.0574 64.8683 67.3066 70.4065 74.1798 78.5968 83.5494 88.8469 94.2166 99.3167 103.765 107.147 109.076 109.387 108.304 106.346 104.129 102.134 100.586 99.5104 98.8731 58.8204 58.8284 58.8508 58.8951 58.9877 59.1681 59.492 60.0276 60.8806 62.2035 64.1282 66.7138 69.9646 73.8888 78.4582 83.5553 88.9796 94.4496 99.6159 104.097 107.478 109.362 109.584 108.399 106.359 104.098 102.093 100.552 99.4863 98.8522 57.8596 57.861 57.8697 57.8852 57.9448 58.0908 58.3916 58.9138 59.7762 61.1778 63.2564 66.0255 69.4615 73.5587 78.3041 83.5673 89.1359 94.7189 99.9583 104.475 107.854 109.686 109.806 108.504 106.372 104.062 102.047 100.515 99.4592 98.8287 56.7484 56.745 56.7451 56.7217 56.7284 56.8164 57.0794 57.5754 58.4341 59.9441 62.2384 65.2485 68.8961 73.1878 78.1353 83.5871 89.3182 95.027 100.346 104.899 108.276 110.049 110.052 108.619 106.383 104.02 101.995 100.473 99.4291 98.8025 55.4075 55.4378 55.4529 55.4214 55.343 55.3256 55.5025 55.9525 56.7798 58.4511 61.0585 64.3794 68.2677 72.7734 77.9524 83.6168 89.5291 95.3766 100.78 105.371 108.745 110.451 110.322 108.743 106.393 103.972 101.937 100.427 99.3962 98.7736 53.939 53.9626 53.9259 53.801 53.7564 53.6026 53.5402 53.9553 54.6926 56.6201 59.7038 63.4265 67.5738 72.3124 77.7565 83.6594 89.772 95.7711 101.263 105.892 109.262 110.894 110.617 108.874 106.399 103.917 101.873 100.377 99.3603 98.7422 51.9986 52.0491 52.1228 52.1527 52.2561 51.8023 50.9212 51.4507 51.9634 54.3195 58.1667 62.408 66.8096 71.8007 77.5503 83.7179 90.0508 96.2144 101.797 106.463 109.828 111.378 110.935 109.013 106.402 103.854 101.801 100.323 99.3218 98.7079 49.6911 49.9675 50.4786 50.3706 50.3974 50.4384 47.2649 48.6121 48.1594 51.3814 56.4349 61.3518 65.9622 71.2315 77.3396 83.7965 90.3696 96.7108 102.385 107.083 110.445 111.904 111.277 109.158 106.399 103.783 101.723 100.265 99.2803 98.671 4.7998 5.20749 5.94028 6.90544 8.70724 11.7424 12.5852 19.9133 36.7298 47.8266 54.6291 60.3067 64.9719 70.5869 77.1368 83.9 90.733 97.2656 103.03 107.754 111.113 112.473 111.641 109.308 106.389 103.703 101.638 100.202 99.2362 98.6314 0.28162 0.274982 0.260301 0.238703 0.213754 0.188405 0.192974 0.230891 0.302731 14.0167 53.3409 59.6312 63.5574 69.8351 76.9679 84.034 91.1463 97.8847 103.735 108.478 111.835 113.087 112.028 109.46 106.37 103.613 101.545 100.135 99.1894 98.589 0.243847 0.238979 0.227355 0.20994 0.18901 0.176982 0.164236 0.152659 0.200821 0.175904 8.44452 60.0884 60.2098 69.3323 76.8587 84.204 91.6151 98.5752 104.503 109.253 112.611 113.746 112.435 109.615 106.34 103.511 101.444 100.065 99.1401 98.5438 0.22107 0.217419 0.208799 0.195835 0.180509 0.169248 0.154216 0.144106 0.16541 0.146057 0.124255 16.4234 57.0227 67.8047 76.8346 84.4113 92.1446 99.3456 105.339 110.08 113.443 114.451 112.862 109.769 106.297 103.397 101.335 99.9899 99.0882 98.4959 0.203173 0.200197 0.193237 0.182863 0.201341 0.16867 0.149967 0.136036 0.135591 0.100119 0.064586 0.21241 31.942 69.8497 76.7547 84.6675 92.7404 100.206 106.247 110.956 114.331 115.203 113.307 109.922 106.238 103.268 101.215 99.9116 99.0338 98.445 0.190161 0.18776 0.182424 0.174951 0.176936 0.169269 0.155825 0.128591 0.119105 0.0963877 0.0756225 0.0464951 -0.155774 60.5304 77.3787 84.9946 93.4077 101.168 107.231 111.88 115.275 116.005 113.768 110.07 106.159 103.122 101.086 99.8297 98.977 98.3913 0.182156 0.179746 0.175362 0.16936 0.162516 0.157661 0.162595 0.122303 0.11194 0.091903 0.063035 0.0087429 -0.0160717 9.30767 78.1417 85.2998 94.1532 102.247 108.298 112.849 116.276 116.855 114.243 110.211 106.053 102.957 100.945 99.7446 98.9179 98.3346 0.183248 0.180658 0.170846 0.165238 0.15775 0.146604 0.132269 0.120992 0.109649 0.0911838 0.0576082 -0.00269339 0.0346834 -1.88861 71.955 85.6075 94.9947 103.462 109.456 113.857 117.332 117.754 114.729 110.343 105.916 102.769 100.791 99.6568 98.8566 98.2749 0.176891 0.172469 0.16794 0.162697 0.15547 0.145798 0.133725 0.121939 0.110068 0.0937705 0.0682746 0.0547686 0.161451 -0.626727 16.7129 85.8101 95.9621 104.834 110.713 114.897 118.44 118.703 115.221 110.462 105.736 102.554 100.622 99.5671 98.7932 98.212 0.169413 0.167851 0.165966 0.161877 0.153831 0.145413 0.135025 0.123677 0.111868 0.0978219 0.0821292 0.0869542 0.158965 -0.259963 0.259745 84.3852 97.0906 106.388 112.084 115.959 119.594 119.701 115.717 110.566 105.503 102.305 100.437 99.4766 98.7277 98.146 0.165033 0.163891 0.162591 0.157903 0.151946 0.144627 0.135438 0.125003 0.113761 0.101726 0.0906632 0.0912941 0.098443 -0.0645733 0.17656 80.2814 98.3247 108.155 113.581 117.041 120.785 120.745 116.21 110.65 105.2 102.015 100.233 99.3868 98.6603 98.0766 0.160783 0.159953 0.157887 0.154529 0.149702 0.14325 0.135126 0.125644 0.115271 0.104544 0.0950379 0.0908543 0.0809624 0.00432905 0.113656 51.1131 100.393 110.165 115.221 118.1 121.997 121.834 116.694 110.714 104.805 101.675 100.006 99.2998 98.5911 98.0038 0.156581 0.155951 0.154252 0.151336 0.147065 0.14133 0.134099 0.125537 0.116013 0.10615 0.0970454 0.0898636 0.0759087 0.0344231 0.10744 38.5915 103.693 112.412 117.012 119.065 123.206 122.961 117.16 110.755 104.29 101.273 99.7522 99.2187 98.5203 97.9274 0.152361 0.151829 0.150363 0.147807 0.14403 0.138929 0.132465 0.124725 0.115971 0.106723 0.0977024 0.0890678 0.0752569 0.0483559 0.0865828 27.0618 106.473 114.859 118.971 119.849 124.375 124.12 117.6 110.776 103.62 100.798 99.4658 99.1469 98.4482 97.8471 0.14791 0.147443 0.146157 0.143923 0.14061 0.1361 0.130324 0.123315 0.115241 0.106481 0.0975565 0.0884734 0.0759215 0.047187 0.093048 11.5661 110.02 117.501 121.1 120.369 125.423 125.292 118.002 110.779 102.76 100.245 99.1401 99.0885 98.3739 97.7704 40.1856 4.04559 21.4921 74.8027 101.477 104.23 102.204 113.714 122.596 126.803 123.491 116.192 122.143 115.482 71.3874 0.124173 0.0824084 0.0779406 0.0838928 0.0911055 0.0992598 0.108074 0.116578 0.124128 0.130455 0.135479 0.139246 0.141885 0.14356 0.144428 0.00254088 0.0321835 0.431955 -0.0796215 11.8722 104.362 101.328 113.693 122.963 126.851 123.093 115.573 123.784 117.003 56.9581 0.123574 0.0881427 0.0800275 0.0839284 0.0905951 0.0986532 0.107311 0.11552 0.122737 0.128734 0.133438 0.136906 0.139279 0.140733 0.141456 0.00205086 0.0319723 0.447629 0.199033 15.1961 71.067 133.578 113.651 123.303 126.387 122.44 116 125.659 118.579 35.537 0.122255 0.0909526 0.081696 0.0838285 0.0898897 0.0978363 0.106321 0.114261 0.121178 0.126862 0.131255 0.134432 0.13655 0.137803 0.138401 0.00211037 0.0312842 0.890534 -0.158087 0.045424 63.3342 109.294 113.297 123.569 125.305 121.497 117.164 127.785 120.135 19.1755 0.130644 0.0919919 0.0828648 0.0834733 0.0889385 0.0967485 0.105063 0.112768 0.119409 0.124787 0.128876 0.131783 0.133689 0.134802 0.135328 0.00222939 0.030002 0.29799 -0.171806 0.0334564 8.43298 89.8704 112.684 123.475 123.647 119.305 118.425 130.16 122.126 23.7041 0.136106 0.0923108 0.0834375 0.0827267 0.0876576 0.0953253 0.103495 0.111002 0.11738 0.122459 0.12626 0.128933 0.13068 0.131706 0.132198 0.00231622 0.0282619 0.138006 -0.186099 0.0361969 -0.0279731 29.2519 111.971 123.262 121.395 115.936 121.222 132.696 125.091 12.8245 0.0955733 0.091684 0.0833151 0.081433 0.0859236 0.0934917 0.101572 0.108919 0.115052 0.119846 0.123387 0.125863 0.127484 0.128445 0.128911 0.00240306 0.0268377 0.0796697 -0.161476 0.0378932 -0.0604147 0.390454 88.8094 123.136 118.636 111.879 126.276 135.234 127.568 5.25471 0.068875 0.0914249 0.0823093 0.0793608 0.0835569 0.0911409 0.0992322 0.106476 0.112392 0.116927 0.120236 0.122536 0.124039 0.124931 0.125363 0.00247471 0.0255137 0.0337476 -0.14885 0.0262597 -0.0691901 -0.0597791 15.0624 123.019 115.05 107.829 130.212 138.623 130.569 0.478045 0.0833465 0.0922853 0.0801167 0.0761459 0.0802887 0.08812 0.096391 0.103614 0.109358 0.113665 0.116758 0.118887 0.120267 0.121079 0.121469 0.00251845 0.0239965 0.0264203 -0.12817 0.0221579 -0.0756733 -0.0584073 0.0260193 33.922 7.92793 40.0167 130.17 142.699 116.524 0.324491 0.105806 0.0912668 0.0761194 0.0712084 0.0757046 0.0841983 0.0929188 0.10025 0.105881 0.109991 0.112881 0.114839 0.116092 0.116821 0.117165 0.00253579 0.0222748 0.0199422 -0.122685 0.0174708 -0.0795477 -0.0575337 -0.00267499 -0.0680157 -0.145182 0.577739 129.898 149.108 54.2117 0.346679 0.117127 0.0878947 0.0691342 0.0635937 0.0691679 0.0790301 0.0886305 0.0962704 0.101878 0.105827 0.108531 0.110324 0.111453 0.112102 0.112401 0.00252376 0.0203604 0.0138852 -0.118348 0.00713786 -0.0783104 -0.0548679 -0.00886309 -0.0679099 -0.151677 -0.105448 137.751 158.458 9.5142 0.280302 0.117385 0.0787959 0.0571511 0.0516394 0.0596346 0.0720904 0.0832772 0.0915402 0.0972512 0.101094 0.103637 0.10528 0.106297 0.106871 0.107129 0.002479 0.0182841 0.00845421 -0.111831 -0.0011008 -0.0778452 -0.0546591 -0.013604 -0.0662429 -0.176188 -0.135263 3.09487 156.74 -0.146225 0.123866 0.0912925 0.0603073 0.036998 0.0323773 0.0453296 0.0625773 0.0765416 0.0859151 0.0919169 0.0957296 0.0981483 0.0996651 0.100583 0.101091 0.101313 0.00239891 0.0160903 0.00367308 -0.0968724 -0.00889992 -0.0734109 -0.0550454 -0.0178947 -0.0677843 -0.177472 -0.115637 0.111348 -0.122923 -0.191705 0.0727926 0.0424975 0.0289538 0.00403199 0.000964263 0.0233852 0.049346 0.0680516 0.0792726 0.0858181 0.0896959 0.0920388 0.0934597 0.0942987 0.0947546 0.0949481 0.00228308 0.013831 -0.000433196 -0.083464 -0.0155417 -0.0669624 -0.0531769 -0.0235278 -0.0677191 -0.154782 -0.0902818 0.0309634 -0.151325 -0.277139 -0.0728375 -0.00769393 -0.015212 -0.0455287 -0.0426051 -0.00957211 0.031262 0.0575607 0.0715966 0.0789741 0.0830143 0.0853317 0.0866933 0.0874817 0.0879044 0.0880818 0.00213161 0.011567 -0.0038239 -0.0716535 -0.0207047 -0.0595938 -0.0506472 -0.0282825 -0.0647526 -0.124701 -0.0770567 -0.00877076 -0.114268 -0.230494 -0.047285 -0.0483744 -0.0667814 -0.0534893 -0.0567834 0.0100661 0.0106633 0.0455972 0.0632083 0.0715796 0.0758214 0.0781444 0.0794793 0.0802469 0.0806597 0.0808366 0.00194717 0.00935537 -0.00646374 -0.0612945 -0.0244543 -0.0527602 -0.0477182 -0.0318484 -0.0594774 -0.0958791 -0.0653065 -0.0280506 -0.0873841 -0.119973 -0.130765 -0.0744964 -0.113335 -0.10696 -0.13128 -0.100465 -0.0018939 0.0343966 0.0550912 0.0640585 0.0683772 0.0706865 0.0720097 0.0727797 0.0732052 0.0733997 0.00173569 0.00725265 -0.00838928 -0.0522795 -0.026896 -0.0469454 -0.0445383 -0.0338029 -0.0530938 -0.0732154 -0.053419 -0.031903 -0.0630197 -0.0565604 -0.07528 -0.0663538 -0.100851 -0.128855 -0.144449 -0.103706 0.0289268 0.0298309 0.0479807 0.0568246 0.0609618 0.0631924 0.0645029 0.0652932 0.0657528 0.0659857 0.00150488 0.00530711 -0.00962219 -0.0445084 -0.0281533 -0.0420045 -0.0412796 -0.0342187 -0.0466885 -0.056396 -0.0421099 -0.0270297 -0.0380705 -0.027086 -0.0326777 -0.0400228 -0.0960797 -0.0688539 -0.117126 -0.0735073 0.0105727 0.0454602 0.042659 0.0500087 0.0536411 0.0557461 0.0570655 0.0579086 0.058433 0.058732 0.00126125 0.00355712 -0.0102899 -0.0378642 -0.0283669 -0.0377041 -0.0379492 -0.0333551 -0.0405743 -0.0439023 -0.0321385 -0.0188261 -0.0153072 -0.00649393 0.0137378 -0.00394718 -0.0125354 -0.0704979 -0.0726781 -0.0416516 0.031357 0.0323729 0.0360598 0.0424033 0.0459511 0.0481663 0.0496244 0.0505954 0.0512315 0.0516289 0.00101315 0.00203115 -0.0105126 -0.0322148 -0.027693 -0.0338753 -0.0345632 -0.0315091 -0.0348885 -0.0343378 -0.0237671 -0.0103584 0.00159042 0.0242219 0.0772058 0.0387317 0.00982322 -0.00506346 0.0845227 0.129351 0.00526523 0.0222912 0.0279854 0.0343228 0.0381185 0.0405815 0.0422403 0.0433682 0.0441287 0.0446284 0.000769442 0.000750068 -0.0103577 -0.0274178 -0.0262873 -0.0303788 -0.0311404 -0.0289578 -0.0296745 -0.0268299 -0.01702 -0.00390579 0.0113065 0.0343075 0.0487864 0.0414831 0.0900135 0.14942 0.0522709 -0.00633876 0.00344288 0.0141709 0.022344 0.0276488 0.0311979 0.033633 0.0353254 0.0365017 0.0373112 0.0378562 0.000540108 -0.000274878 -0.00991116 -0.0233229 -0.0243055 -0.0270841 -0.027698 -0.0259513 -0.0249378 -0.020853 -0.0117998 0.000309519 0.0147424 0.0317674 0.0423618 0.0383688 0.0334183 0.0115672 0.00706251 0.00532832 0.00944921 0.0148091 0.0195252 0.0231803 0.0259056 0.0279063 0.0293576 0.0303958 0.0311247 0.0316226 0.000334314 -0.00103954 -0.00924632 -0.0197804 -0.021905 -0.0238843 -0.024259 -0.022696 -0.0206728 -0.0160789 -0.00794552 0.00255943 0.0143852 0.0258517 0.031975 0.0292151 0.0199412 0.0139762 0.0115067 0.0110911 0.0127859 0.0153493 0.0179247 0.0201625 0.0219773 0.0233894 0.0244546 0.0252367 0.0257956 0.0261821 0.000160066 -0.00154814 -0.00840997 -0.0166496 -0.0192239 -0.0207087 -0.0208435 -0.0193558 -0.0168661 -0.0122868 -0.00524683 0.00337491 0.0123494 0.0199115 0.0235761 0.0222639 0.0181132 0.0148593 0.0132968 0.0130653 0.0138225 0.0150731 0.0164439 0.0177263 0.018826 0.0197163 0.0204068 0.0209237 0.0212986 0.0215606 2.38197e-05 -0.00181057 -0.00742472 -0.0138058 -0.016369 -0.0175184 -0.0174659 -0.0160477 -0.0134903 -0.00929479 -0.00344792 0.00329768 0.00983546 0.0148793 0.0173115 0.01707 0.0154197 0.0139159 0.0131051 0.0129665 0.0133172 0.0139397 0.01466 0.0153632 0.0159851 0.0164993 0.0169049 0.0172136 0.0174404 0.0176003 -7.04513e-05 -0.00184219 -0.00629891 -0.0111437 -0.0134125 -0.0143002 -0.0141351 -0.0128438 -0.0105024 -0.00693604 -0.00230741 0.00274775 0.00738424 0.0108143 0.0125977 0.0129214 0.0124693 0.0119219 0.0116046 0.0115722 0.0117641 0.0120905 0.0124703 0.0128445 0.0131782 0.0134566 0.0136782 0.0138485 0.013975 0.0140656 -0.000121337 -0.00166442 -0.00503482 -0.00857254 -0.0103897 -0.0110502 -0.0108499 -0.00977162 -0.00784417 -0.00505165 -0.00161281 0.00199724 0.00518131 0.00752191 0.00886749 0.00939182 0.00945117 0.0093681 0.00932208 0.00937067 0.00950486 0.00969134 0.00989502 0.0100901 0.0102621 0.0104049 0.0105186 0.0106058 0.0106707 0.0107178 -0.000130376 -0.0013033 -0.00362825 -0.0060184 -0.00730491 -0.00775499 -0.00759115 -0.00681828 -0.00544541 -0.00350993 -0.00119961 0.00117217 0.00322385 0.00475084 0.00570574 0.00619989 0.00641526 0.00650978 0.00657953 0.00666317 0.00676552 0.00687702 0.00698605 0.00708511 0.0071707 0.00724159 0.00729799 0.00734109 0.00737289 0.00739583 -0.000103098 -0.000791157 -0.00209106 -0.00341377 -0.00413519 -0.00438385 -0.00431805 -0.00393455 -0.00321999 -0.00219125 -0.000954728 0.000312751 0.00142515 0.00226803 0.00282775 0.00315871 0.00334376 0.00345384 0.0035338 0.00360329 0.00366788 0.00372758 0.00378029 0.00382562 0.00386397 0.00389547 0.00392028 0.00393903 0.00395276 0.00396263 -4.93218e-05 -0.000167636 -0.000432104 -0.000692394 -0.00083416 -0.000877105 -0.000949865 -0.00102301 -0.0010504 -0.000981021 -0.000811543 -0.00058247 -0.000344742 -0.00014318 5.95917e-06 0.00010562 0.00016903 0.000209876 0.000238273 0.000259684 0.000276804 0.000290829 0.000302255 0.000311394 0.000318363 0.0003236 0.000327297 0.000329825 0.000331669 0.000333201 0.144639 0.14424 0.143113 0.14112 0.138117 0.133977 0.12862 0.122059 0.114407 0.10593 0.0970849 0.0880586 0.0765189 0.0466961 0.0973999 6.91984 111.729 119.268 122.511 120.513 125.689 125.986 118.23 110.777 102.101 99.8543 91.7169 43.1912 7.60849 0.00132078 0.14163 0.141313 0.140364 0.138607 0.135879 0.132044 0.127019 0.12081 0.113498 0.105262 0.0965045 0.0877008 0.0775791 0.0568201 0.0991093 2.67555 112.501 120.812 123.741 120.458 125.448 126.456 118.408 110.779 101.469 67.8971 -0.174998 0.511522 0.0272029 0.0039613 0.138543 0.13829 0.137494 0.135957 0.133495 0.129956 0.125247 0.119361 0.112362 0.104377 0.0957649 0.087297 0.0788449 0.0678907 0.116649 0.350536 113.698 122.546 125.048 120.462 124.628 126.714 118.58 110.824 106.669 56.1084 0.0163133 0.144851 0.0273706 0.00385234 0.135451 0.135226 0.134519 0.133146 0.130916 0.12766 0.123259 0.11768 0.110971 0.103239 0.094835 0.0867837 0.0800107 0.075716 0.116024 0.157739 114.013 124.52 126.21 118.084 122.902 126.59 118.774 111.58 93.9346 15.0573 -0.132422 0.135523 0.0268044 0.00405406 0.132311 0.132091 0.131424 0.130156 0.12811 0.12511 0.121008 0.11573 0.109297 0.101817 0.0936693 0.0860746 0.0808077 0.0804427 0.108321 -0.476809 103.353 126.758 126.817 114.519 120.272 125.899 119.388 110.612 51.5556 0.215406 -0.143679 0.111472 0.025527 0.0042457 0.129015 0.128795 0.128154 0.126961 0.12506 0.122281 0.118458 0.113475 0.107309 0.100076 0.0922045 0.0850553 0.0810407 0.0830712 0.0979507 -0.067509 89.7941 129.057 127.789 113.363 117.017 124.828 120.033 93.866 2.75783 -0.0176796 -0.144564 0.0723106 0.0239613 0.00443296 0.125454 0.125238 0.12463 0.123511 0.12174 0.119155 0.115585 0.110881 0.104971 0.0979646 0.0903447 0.0835656 0.0805139 0.0842213 0.0942353 0.0398353 65.1381 131.264 130.679 114.946 113.528 123.725 121.421 23.6176 -0.112378 -0.0201322 -0.145285 0.00090552 0.022449 0.00460754 0.121545 0.121338 0.120771 0.119733 0.11809 0.115688 0.112351 0.107905 0.10223 0.0954073 0.0879477 0.0813745 0.0789651 0.0843258 0.0959075 0.10156 26.6109 133.122 136.203 115.459 103.082 122.81 95.9393 0.0542551 -0.108865 -0.0347156 -0.129114 -0.00406917 0.0212657 0.00475545 0.117225 0.117029 0.116503 0.115548 0.114036 0.111812 0.108694 0.104481 0.0990048 0.0922828 0.0847987 0.0781283 0.075952 0.083196 0.101233 0.129686 15.7494 132.47 142.579 118.596 0.451373 40.6961 3.53827 -0.0217739 -0.103235 -0.0359418 -0.147231 -0.00780791 0.0200443 0.00486286 0.112445 0.112257 0.111771 0.110894 0.109506 0.10745 0.104532 0.100518 0.0951782 0.0884145 0.0805907 0.0732792 0.0706906 0.0798311 0.105514 0.151318 2.03294 131.863 151.758 47.3986 -0.0916342 -0.0593607 -0.0533823 -0.0213307 -0.0965403 -0.0357852 -0.15942 -0.0104226 0.018676 0.00491716 0.107158 0.106977 0.106526 0.105719 0.104439 0.102531 0.0997795 0.0959122 0.0905995 0.0835528 0.0748709 0.0659299 0.0617168 0.072313 0.104819 0.176853 0.240534 92.5919 161.426 8.07826 -0.178799 -0.10034 -0.0479002 -0.0196003 -0.0902039 -0.0353699 -0.149968 -0.0119414 0.0171314 0.00490763 0.101329 0.101154 0.100734 0.0999857 0.0987965 0.0970021 0.0943683 0.0905586 0.0850918 0.0773599 0.0669465 0.0545286 0.0463077 0.0575068 0.0927249 0.145916 -0.0222984 10.9824 141.949 -0.238593 -0.202124 -0.111614 -0.0447637 -0.0246607 -0.08329 -0.0388341 -0.165137 -0.0106645 0.0153956 0.00482558 0.094954 0.0947869 0.0943923 0.0936911 0.0925671 0.0908461 0.0882605 0.0843797 0.0784803 0.0693967 0.0557748 0.0363734 0.0195171 0.0306505 0.0629584 0.0526421 -0.10596 -0.159138 0.0604811 -0.0883166 -0.198036 -0.114236 -0.0449778 -0.0266421 -0.0770393 -0.040672 -0.150029 -0.012241 0.0135208 0.00466621 0.088085 0.0879264 0.0875529 0.0868843 0.0857988 0.0841059 0.0814891 0.0773798 0.0706787 0.0592752 0.040233 0.00793319 -0.0232064 -0.012386 0.0208147 0.00300189 -0.106308 -0.191233 -0.0245807 -0.061261 -0.176502 -0.109508 -0.0461462 -0.0291231 -0.0696789 -0.0468318 -0.0349184 -0.0121535 0.0115418 0.00442771 0.0808466 0.0807016 0.0803489 0.079705 0.0786399 0.0769426 0.074236 0.0697738 0.0619282 0.0471523 0.0229068 0.000731899 -0.0522212 -0.0662668 -0.0291863 -0.0595419 -0.225641 -0.170777 -0.034481 -0.0520919 -0.141492 -0.098769 -0.0467185 -0.0314469 -0.0625205 -0.049364 -0.0814226 -0.012039 0.00950679 0.00411289 0.0734299 0.0733099 0.0729877 0.072377 0.0713417 0.0696543 0.0668878 0.0621398 0.053273 0.0349876 0.05176 -0.0544017 -0.11823 -0.0949962 -0.0786964 -0.0732187 -0.250476 -0.122653 -0.0367935 -0.0439612 -0.106218 -0.0840687 -0.0460876 -0.0331598 -0.0560104 -0.047473 -0.0689569 -0.012279 0.00747105 0.00372849 0.0660558 0.0659803 0.0657122 0.0651675 0.0642139 0.0626277 0.0599741 0.055389 0.0465914 0.0279675 -0.0171064 -0.117927 -0.158878 -0.121125 -0.0920459 -0.0548317 -0.110159 -0.0914548 -0.0319293 -0.0369261 -0.0776116 -0.0696392 -0.0443458 -0.0340908 -0.0501623 -0.0450497 -0.0582907 -0.0125966 0.00549724 0.00328567 0.0588676 0.0588643 0.0586855 0.0582584 0.0574716 0.0561422 0.0539239 0.0500771 0.0428866 0.028834 -0.00829426 -0.0902318 -0.141395 -0.100689 -0.0685671 -0.0306443 0.0258136 -0.0479151 -0.0215486 -0.0295997 -0.0570151 -0.0571349 -0.0417391 -0.0341941 -0.0449505 -0.042476 -0.0496814 -0.0128106 0.00364759 0.00279905 0.0518556 0.0519492 0.0518879 0.0516155 0.0510548 0.0500935 0.0485456 0.0460399 0.0417393 0.0453826 0.0107479 -0.0458305 -0.0877955 -0.0607094 -0.0191686 0.0174571 0.100231 -0.0104639 -0.00930167 -0.0219694 -0.0422794 -0.0466874 -0.0384815 -0.0334809 -0.0403144 -0.0396276 -0.0425208 -0.0128606 0.00197383 0.00228652 0.0449447 0.0451289 0.0451709 0.045024 0.0446301 0.0439162 0.0427823 0.0410556 0.0383092 0.0400402 0.0211461 -0.00362787 -0.0116311 0.000467818 0.0514637 0.0536626 0.0730735 0.0188112 0.000976902 -0.0148058 -0.0314726 -0.0380093 -0.034776 -0.0320082 -0.0361684 -0.0364401 -0.0364486 -0.0127172 0.00051867 0.00176777 0.0382145 0.0384418 0.0385309 0.0384334 0.0380859 0.0374034 0.0362566 0.0344053 0.0313114 0.0255096 0.017221 -0.00202233 0.0920248 0.157879 0.183332 0.0620323 0.0580552 0.02833 0.007395 -0.00890694 -0.0233522 -0.030783 -0.0308316 -0.0298778 -0.0323888 -0.0329975 -0.0312289 -0.012367 -0.000687287 0.0012644 0.031954 0.0321679 0.0322553 0.032167 0.0318382 0.0311834 0.0300823 0.0283447 0.0256376 0.0214094 0.014981 0.00702525 0.0043723 0.0134968 0.0320048 0.061592 0.0419835 0.0271057 0.0101438 -0.00463521 -0.017194 -0.0247555 -0.0268285 -0.027224 -0.0288355 -0.0293753 -0.0266825 -0.0118047 -0.001625 0.000797286 0.0264409 0.0266081 0.0266745 0.0265979 0.026324 0.0257868 0.0249059 0.0235809 0.0216815 0.0190755 0.0157961 0.012506 0.0113165 0.0142209 0.0191913 0.0297091 0.0304392 0.0224499 0.0102965 -0.0019023 -0.0125537 -0.0197338 -0.0229054 -0.0241964 -0.0253912 -0.0256871 -0.022663 -0.0110309 -0.00228745 0.000386983 0.0217375 0.0218526 0.0218984 0.0218448 0.0216539 0.0212816 0.0206825 0.019816 0.0186519 0.0171973 0.0155717 0.014156 0.0137004 0.0150723 0.018144 0.0221994 0.0223056 0.0174544 0.00906558 -0.000388012 -0.00911589 -0.0155656 -0.0191571 -0.0209432 -0.0219759 -0.0220144 -0.0190492 -0.0100522 -0.0026777 5.10037e-05 0.0177092 0.0177814 0.0178122 0.0177831 0.0176705 0.0174475 0.0170895 0.0165813 0.0159248 0.0151533 0.0143553 0.0137138 0.0135111 0.0140943 0.0154186 0.0167674 0.0163404 0.0130921 0.00731734 0.000283761 -0.00660573 -0.0121134 -0.015637 -0.0175912 -0.0185451 -0.0184041 -0.0157366 -0.00887967 -0.00280649 -0.00019643 0.0141283 0.014171 0.0141915 0.0141793 0.0141212 0.0140023 0.0138085 0.013532 0.0131784 0.012773 0.0123653 0.0120376 0.0118921 0.0120347 0.0123968 0.0125892 0.0118444 0.00950797 0.00551596 0.000432705 -0.0047903 -0.0092414 -0.0123665 -0.0142299 -0.01509 -0.0148681 -0.0126341 -0.00752561 -0.00268857 -0.000346317 0.0107519 0.0107768 0.0107911 0.0107891 0.0107633 0.0107059 0.0106095 0.0104679 0.0102822 0.0100642 0.00983652 0.00963165 0.00948763 0.00941558 0.00935295 0.0090965 0.00828987 0.00657843 0.00385008 0.00026799 -0.00345893 -0.00681839 -0.00933326 -0.0109074 -0.0116193 -0.0113914 -0.00965999 -0.00600769 -0.00234453 -0.00039608 0.00741269 0.00742594 0.00743463 0.00743544 0.00742467 0.00739857 0.00735336 0.00728521 0.00719121 0.00707269 0.00693598 0.00679372 0.00665485 0.00651246 0.00632102 0.00597286 0.00529554 0.00410889 0.00232822 3.08731e-05 -0.00244473 -0.00472566 -0.00649663 -0.00763222 -0.00813231 -0.00794044 -0.00673914 -0.00432701 -0.00179891 -0.000351047 0.00396991 0.0039758 0.00397996 0.00398101 0.00397727 0.00396697 0.00394836 0.00391915 0.00387675 0.00381925 0.00374636 0.00365955 0.00356009 0.00344087 0.00327728 0.00301829 0.00258645 0.00190133 0.000923497 -0.000306992 -0.00163133 -0.00284938 -0.00378841 -0.0043728 -0.0046033 -0.00446211 -0.00380003 -0.0024924 -0.00108157 -0.000226013 0.00033467 0.0003364 0.000338345 0.000340025 0.00034091 0.000340441 0.000338073 0.000333196 0.000324998 0.00031285 0.000296034 0.000273537 0.000243743 0.000203489 0.000146277 6.11163e-05 -6.50467e-05 -0.000242132 -0.000465239 -0.000708699 -0.00092411 -0.00106172 -0.00109441 -0.00104366 -0.000961146 -0.000882196 -0.000766957 -0.000512405 -0.000229013 -4.87929e-05 99.1619 99.9051 101.063 102.56 104.386 106.312 107.893 108.596 107.984 105.915 102.548 98.2371 93.3915 88.3847 83.5322 79.0739 75.1672 71.89 69.2555 67.2166 65.6936 64.5898 63.8088 63.2672 62.8983 62.6527 62.4944 62.3984 62.3472 62.3284 99.159 99.9024 101.06 102.556 104.384 106.314 107.904 108.619 108.017 105.95 102.582 98.2651 93.4098 88.3901 83.5225 79.0474 75.1238 71.8324 69.1823 67.1333 65.6048 64.4994 63.7196 63.1807 62.8149 62.5721 62.4161 62.3217 62.2714 62.2529 99.153 99.8968 101.055 102.548 104.378 106.319 107.927 108.665 108.083 106.025 102.656 98.3291 93.4561 88.412 83.5149 79.0072 75.0502 71.7258 69.0476 66.9758 65.4316 64.3175 63.5343 62.9951 62.6307 62.3898 62.2357 62.1426 62.093 62.0749 99.1441 99.8882 101.046 102.535 104.369 106.325 107.961 108.736 108.185 106.142 102.772 98.4301 93.5309 88.4501 83.5083 78.9509 74.9424 71.5682 68.8453 66.7371 65.1677 64.0391 63.2496 62.7093 62.3464 62.1082 61.9566 61.8656 61.8173 61.7996 99.1322 99.8769 101.034 102.518 104.357 106.332 108.007 108.831 108.323 106.301 102.929 98.5686 93.6348 88.5048 83.5026 78.8779 74.7995 71.3571 68.5722 66.4126 64.807 63.6577 62.8595 62.3177 61.9572 61.7229 61.5755 61.4877 61.4415 61.4246 99.1173 99.8625 101.018 102.496 104.341 106.341 108.063 108.951 108.497 106.502 103.129 98.7453 93.7685 88.5769 83.4985 78.7885 74.6209 71.0912 68.225 65.9969 64.3422 63.1653 62.356 61.8129 61.4563 61.2281 61.0869 61.0042 60.961 60.9454 99.0994 99.8453 101 102.469 104.321 106.35 108.13 109.094 108.707 106.745 103.371 98.9612 93.9332 88.6675 83.4968 78.6827 74.4061 70.7686 67.8 65.4828 63.7635 62.5509 61.7285 61.185 60.8343 60.6153 60.4837 60.4086 60.3702 60.3565 99.0784 99.825 100.979 102.438 104.297 106.36 108.208 109.262 108.954 107.032 103.657 99.2173 94.1302 88.7777 83.4985 78.5612 74.1545 70.3877 67.2929 64.8615 63.0573 61.7992 60.9626 60.4206 60.0791 59.8739 59.7566 59.6933 59.6617 59.6507 99.0543 99.8019 100.956 102.401 104.269 106.37 108.295 109.455 109.239 107.363 103.988 99.5147 94.3612 88.9093 83.5049 78.4242 73.8653 69.9468 66.6993 64.1217 62.2052 60.8889 60.0387 59.502 59.1744 58.9896 58.8939 58.8485 58.8268 58.8201 99.0272 99.7757 100.929 102.359 104.235 106.38 108.39 109.671 109.561 107.738 104.364 99.8552 94.6282 89.0642 83.5173 78.2722 73.5374 69.4448 66.013 63.2498 61.1812 59.7889 58.9301 58.4056 58.0986 57.9455 57.8808 57.8641 57.8575 57.859 98.997 99.7466 100.901 102.312 104.197 106.388 108.494 109.911 109.923 108.16 104.787 100.24 94.9336 89.2445 83.5376 78.106 73.1693 68.8807 65.2345 62.2304 59.9491 58.4525 57.5991 57.0988 56.8261 56.7261 56.7109 56.7333 56.7386 56.7476 98.9636 99.7144 100.87 102.258 104.153 106.394 108.605 110.175 110.324 108.629 105.258 100.672 95.2799 89.453 83.5681 77.9264 72.7587 68.2537 64.3633 61.047 58.4567 56.8063 55.9874 55.5298 55.3377 55.3346 55.3978 55.4294 55.4267 55.4058 98.9271 99.6791 100.837 102.199 104.102 106.396 108.722 110.463 110.766 109.146 105.778 101.152 95.6705 89.6928 83.6113 77.7346 72.3025 67.562 63.4073 59.6852 56.6244 54.7307 54.0083 53.578 53.618 53.7405 53.7687 53.8903 53.9373 53.9334 98.8874 99.6407 100.804 102.133 104.045 106.395 108.843 110.774 111.25 109.713 106.348 101.684 96.1089 89.9674 83.6705 77.5337 71.797 66.8014 62.3842 58.1346 54.3183 52.0178 51.541 50.966 51.8222 52.2242 52.0828 52.0578 52.009 51.9901 98.8444 99.599 100.769 102.059 103.98 106.389 108.968 111.107 111.776 110.33 106.966 102.269 96.5997 90.2807 83.7497 77.3299 71.2357 65.9604 61.3204 56.383 51.3686 48.2332 48.8036 47.262 50.4962 50.3629 50.2136 50.3544 49.9126 49.6793 98.7982 99.554 100.734 101.979 103.908 106.378 109.094 111.463 112.346 111.001 107.635 102.91 97.1477 90.6367 83.8533 77.1358 70.6007 64.9857 60.2572 54.5372 47.8261 37.0747 20.8994 12.5947 12.0066 8.79338 6.87749 5.91072 5.19602 4.79915 98.7486 99.5056 100.701 101.89 103.826 106.359 109.219 111.84 112.96 111.725 108.357 103.611 97.7588 91.0402 83.9861 76.9787 69.8594 63.6124 59.551 53.1591 14.438 0.292473 0.226689 0.198792 0.189824 0.214171 0.23908 0.26165 0.276256 0.281941 98.6957 99.4536 100.669 101.792 103.735 106.333 109.343 112.238 113.621 112.504 109.13 104.376 98.4403 91.4956 84.1529 76.8876 69.3583 60.317 60.0026 8.49163 0.169603 0.194505 0.15112 0.166169 0.177872 0.190114 0.210568 0.227899 0.23939 0.243922 98.6394 99.3978 100.64 101.685 103.633 106.297 109.461 112.656 114.33 113.34 109.955 105.208 99.2003 92.0081 84.352 76.9013 67.8781 56.968 16.8211 0.119781 0.14085 0.160656 0.143051 0.154892 0.169409 0.179589 0.196403 0.209189 0.217697 0.221136 98.5796 99.3379 100.616 101.567 103.519 106.253 109.573 113.092 115.087 114.233 110.828 106.112 100.049 92.5828 84.5895 76.8845 69.8778 32.8706 0.210163 0.0613297 0.0943383 0.130714 0.134662 0.149603 0.168989 0.198056 0.183581 0.193685 0.200454 0.203228 98.5162 99.2739 100.6 101.436 103.39 106.2 109.675 113.545 115.893 115.185 111.749 107.092 100.998 93.2237 84.876 77.7428 60.5101 -0.15784 0.040697 0.0735237 0.0915439 0.1144 0.126363 0.154275 0.167772 0.170172 0.17525 0.182697 0.187961 0.1902 98.4493 99.2052 100.595 101.292 103.246 106.137 109.766 114.012 116.75 116.194 112.712 108.155 102.064 93.9394 85.0878 79.0881 8.92616 -0.0266576 -0.00564677 0.0606701 0.0877142 0.10771 0.120784 0.155075 0.153195 0.161924 0.169258 0.175556 0.180024 0.182214 98.3787 99.1317 100.603 101.132 103.084 106.067 109.845 114.492 117.658 117.261 113.713 109.307 103.266 94.751 85.2244 74.2937 -1.86196 0.0251506 -0.0145973 0.0550241 0.0873707 0.106019 0.118666 0.132514 0.146704 0.157538 0.165156 0.170911 0.18193 0.182956 98.3044 99.0528 100.63 100.953 102.899 105.993 109.913 114.982 118.617 118.383 114.744 110.558 104.626 95.6958 85.1006 18.5406 -0.593767 0.169321 0.0439287 0.0641936 0.0901438 0.106989 0.120124 0.133214 0.145536 0.155206 0.162578 0.167514 0.178035 0.178026 98.2262 98.9683 100.681 100.753 102.688 105.92 109.974 115.479 119.626 119.553 115.797 111.917 106.17 96.8223 83.4265 0.137155 -0.230183 0.164622 0.0796289 0.0780502 0.0944714 0.109176 0.121974 0.134148 0.144864 0.153405 0.161127 0.16537 0.168076 0.169241 98.1442 98.8776 100.763 100.526 102.444 105.857 110.034 115.978 120.684 120.762 116.873 113.399 107.926 98.0744 78.9578 0.0948652 -0.0544224 0.103224 0.0879643 0.0872491 0.0987395 0.111382 0.123354 0.134375 0.143891 0.151395 0.157821 0.161509 0.163914 0.165008 98.0581 98.7803 100.885 100.269 102.158 105.817 110.105 116.472 121.787 121.996 117.921 115.018 109.925 100.184 50.9868 0.0415693 0.00853238 0.0835311 0.0891218 0.0922703 0.101895 0.11309 0.124033 0.133976 0.14241 0.149071 0.154073 0.15762 0.159852 0.16076 97.9679 98.676 101.057 99.9745 101.819 105.811 110.209 116.952 122.931 123.226 118.882 116.782 112.16 103.591 38.9148 0.05614 0.0352441 0.0778435 0.0888094 0.0947225 0.103742 0.113954 0.123945 0.132911 0.140443 0.146403 0.150865 0.153954 0.155803 0.156552 97.8734 98.5642 101.29 99.6336 101.412 105.837 110.382 117.403 124.105 124.41 119.679 118.701 114.598 106.253 29.0421 0.0453655 0.0536282 0.0775109 0.0883393 0.0956316 0.104446 0.113973 0.123147 0.131268 0.138032 0.143368 0.147338 0.150058 0.151668 0.152329 97.7819 98.4431 101.6 99.2344 100.916 105.862 110.666 117.808 125.291 125.498 120.28 120.78 117.241 110.114 11.6937 0.072283 0.0665961 0.0789438 0.0878758 0.0955667 0.104234 0.113254 0.121741 0.129131 0.135216 0.139968 0.143472 0.145859 0.147281 0.147878 62.3344 62.368 62.4397 62.5642 62.7626 63.065 63.514 64.1675 65.1009 66.4054 68.1793 70.5136 73.4733 77.0791 81.2864 85.9787 90.9568 95.9398 100.578 104.479 107.239 108.582 108.478 107.207 105.271 103.214 101.432 100.092 99.2188 98.8227 62.2588 62.2918 62.3623 62.4848 62.6805 62.9798 63.4257 64.0771 65.0105 66.3185 68.1004 70.4469 73.4221 77.0438 81.2682 85.9768 90.9693 95.9635 100.61 104.515 107.273 108.61 108.496 107.214 105.27 103.21 101.427 100.088 99.2164 98.8206 62.0806 62.1131 62.1824 62.3032 62.4969 62.7943 63.2394 63.8924 64.8317 66.1518 67.953 70.3258 73.3318 76.9865 81.2443 85.9846 91.0045 96.02 100.68 104.593 107.345 108.668 108.532 107.228 105.269 103.202 101.418 100.081 99.2114 98.8162 61.8052 61.8368 61.9043 62.0227 62.2135 62.5085 62.953 63.6092 64.5586 65.8986 67.731 70.1447 73.1984 76.9039 81.2129 86.0012 91.0625 96.1099 100.791 104.711 107.457 108.757 108.587 107.249 105.266 103.189 101.405 100.071 99.2038 98.8096 61.4299 61.46 61.5248 61.6392 61.8256 62.1169 62.5604 63.2211 64.1847 65.5532 67.4299 69.9011 73.0203 76.7955 81.1738 86.0269 91.144 96.2338 100.941 104.871 107.608 108.877 108.66 107.277 105.261 103.171 101.386 100.057 99.1936 98.8007 60.9503 60.9783 61.039 61.1474 61.327 61.6126 62.054 62.7201 63.7024 65.1093 67.0459 69.593 72.7967 76.6607 81.1273 86.0625 91.2497 96.3925 101.133 105.074 107.8 109.028 108.752 107.311 105.255 103.148 101.363 100.039 99.1809 98.7897 60.3609 60.3858 60.4402 60.5395 60.7088 60.9858 61.4233 62.095 63.1008 64.5584 66.5735 69.2176 72.5267 76.4996 81.074 86.1089 91.3809 96.5871 101.366 105.321 108.032 109.21 108.861 107.35 105.247 103.12 101.335 100.018 99.1657 98.7764 59.6545 59.6751 59.7203 59.8057 59.9595 60.2235 60.6544 61.3307 62.3651 63.8889 66.0064 68.7724 72.2092 76.3122 81.0146 86.1673 91.5389 96.8188 101.642 105.611 108.305 109.424 108.989 107.395 105.237 103.087 101.302 99.9932 99.148 98.761 58.8229 58.8375 58.8691 58.9334 59.064 59.3087 59.7284 60.4062 61.4747 63.0858 65.3371 68.2542 71.8432 76.0986 80.95 86.2393 91.7254 97.0891 101.961 105.947 108.619 109.669 109.134 107.446 105.223 103.048 101.265 99.9649 99.1279 98.7434 57.8596 57.8648 57.8751 57.9073 58.0034 58.2184 58.6199 59.2916 60.3999 62.129 64.5575 67.6607 71.4281 75.859 80.8816 86.3266 91.9426 97.4 102.325 106.328 108.976 109.947 109.297 107.5 105.206 103.004 101.222 99.9331 99.1054 98.7237 56.7451 56.748 56.7321 56.7206 56.757 56.9213 57.2921 57.9428 59.098 60.9921 63.662 66.992 70.9638 75.5941 80.811 86.4314 92.193 97.7534 102.735 106.756 109.377 110.257 109.476 107.558 105.185 102.954 101.174 99.8978 99.0806 98.7018 55.4175 55.4536 55.4382 55.391 55.3109 55.3773 55.6871 56.2916 57.5048 59.6417 62.6466 66.2477 70.4508 75.3047 80.7402 86.5563 92.4794 98.1519 103.193 107.232 109.822 110.599 109.672 107.619 105.16 102.897 101.122 99.8591 99.0535 98.678 53.9497 53.9629 53.8513 53.7879 53.6885 53.5405 53.6978 54.2289 55.5199 58.0365 61.5151 65.4299 69.8896 74.9912 80.6721 86.7043 92.8051 98.5984 103.699 107.756 110.313 110.974 109.883 107.683 105.129 102.834 101.064 99.8169 99.0241 98.6521 52.0178 52.0932 52.1299 52.2157 52.1431 51.3187 51.154 51.5999 52.9601 56.1299 60.2813 64.5402 69.2779 74.6514 80.61 86.8793 93.1744 99.0962 104.256 108.33 110.85 111.383 110.109 107.746 105.092 102.764 101 99.7715 98.9926 98.6242 49.7642 50.1321 50.4511 50.056 50.169 49.0386 48.3628 48.3394 49.3328 53.8906 58.9483 63.5684 68.6043 74.278 80.558 87.0853 93.5917 99.649 104.864 108.956 111.435 111.825 110.349 107.81 105.049 102.687 100.932 99.7226 98.959 98.5944 4.76265 5.05088 5.66094 6.58255 8.69196 11.7739 18.8179 30.9155 43.015 51.5978 57.5035 62.4697 67.847 73.8559 80.5212 87.3266 94.0622 100.261 105.525 109.635 112.07 112.301 110.601 107.873 104.998 102.603 100.858 99.6706 98.9235 98.5627 0.279189 0.268486 0.249948 0.226993 0.203314 0.203996 0.181468 0.28668 0.50227 41.848 56.2037 61.358 66.7719 73.3995 80.5055 87.608 94.5921 100.938 106.24 110.365 112.756 112.812 110.865 107.933 104.939 102.512 100.778 99.6153 98.886 98.5292 0.242204 0.233986 0.219241 0.199497 0.18173 0.173555 0.155242 0.16931 0.199026 0.237332 45.075 59.5295 63.9785 72.9145 80.5141 87.9345 95.1886 101.686 107.009 111.15 113.494 113.356 111.139 107.989 104.871 102.413 100.693 99.557 98.8468 98.4939 0.21987 0.213715 0.2029 0.187812 0.17441 0.163055 0.1464 0.152944 0.163083 0.131948 0.167357 50.1185 63.5009 72.7103 80.5493 88.3103 95.8604 102.512 107.834 111.988 114.286 113.936 111.421 108.04 104.794 102.306 100.602 99.4956 98.8059 98.4569 0.202175 0.197198 0.188403 0.182063 0.189077 0.158385 0.141401 0.136119 0.123501 0.0787581 0.066737 1.23225 60.8191 72.0669 80.5957 88.737 96.618 103.425 108.711 112.88 115.134 114.55 111.709 108.085 104.707 102.193 100.506 99.4313 98.7634 98.4183 0.189348 0.185412 0.178892 0.172206 0.176675 0.163982 0.135492 0.124097 0.10907 0.0857781 0.0672245 0.0241753 19.7845 67.6687 80.5249 89.2082 97.4743 104.434 109.638 113.826 116.038 115.199 112 108.122 104.611 102.073 100.404 99.3641 98.7195 98.3781 0.181239 0.177776 0.172506 0.166052 0.157715 0.160714 0.14258 0.117717 0.10342 0.0770223 0.0753747 -0.00252598 -0.793941 60.1944 81.0945 89.7151 98.4473 105.553 110.608 114.825 117 115.882 112.29 108.152 104.508 101.948 100.296 99.2942 98.6742 98.3364 0.18343 0.172949 0.168284 0.161748 0.152655 0.139672 0.125277 0.115699 0.101759 0.0769298 0.0273409 0.0545554 -0.32923 6.52958 81.7318 90.2006 99.5614 106.795 111.61 115.874 118.02 116.598 112.575 108.175 104.4 101.819 100.183 99.2217 98.6278 98.2933 0.175843 0.16929 0.165605 0.159311 0.150976 0.139942 0.127457 0.11631 0.102767 0.0825712 0.0540657 0.116515 -0.148631 -2.42708 79.6723 90.5642 100.853 108.179 112.626 116.968 119.096 117.346 112.85 108.191 104.291 101.689 100.063 99.1465 98.5804 98.2489 0.169138 0.167287 0.164136 0.157374 0.149899 0.140441 0.129323 0.117938 0.105159 0.0900575 0.07878 0.121937 -0.0201355 -0.268713 43.9415 91.3499 102.37 109.722 113.626 118.1 120.226 118.122 113.108 108.204 104.188 101.56 99.9357 99.0686 98.5322 98.2032 0.164669 0.16317 0.160694 0.154978 0.148537 0.140234 0.130328 0.119485 0.107814 0.0958635 0.0887787 0.0988857 0.0276585 0.0106526 2.72029 92.8127 104.157 111.449 114.569 119.243 121.402 118.923 113.341 108.219 104.103 101.438 99.8006 98.9878 98.4833 98.1564 0.16052 0.159072 0.156375 0.152302 0.146689 0.139385 0.130526 0.120544 0.109883 0.0994815 0.0922731 0.0890508 0.0484393 0.0136312 2.28518 94.0925 106.268 113.386 115.39 120.391 122.612 119.741 113.536 108.241 104.052 101.326 99.6559 98.9038 98.4341 98.1086 0.156386 0.155242 0.152954 0.149375 0.144385 0.137896 0.129967 0.120866 0.111057 0.1014 0.093346 0.085069 0.0600409 0.0551108 0.368058 96.7128 108.597 115.561 115.993 121.529 123.835 120.567 113.681 108.278 104.055 101.233 99.4999 98.8159 98.3846 98.0599 0.152199 0.151221 0.149229 0.146078 0.141649 0.135866 0.128744 0.12045 0.111358 0.102115 0.0934423 0.0837108 0.0677673 0.0743542 0.0714607 96.5841 111.153 118.029 116.218 122.611 125.036 121.386 113.755 108.341 104.138 101.165 99.3301 98.723 98.3352 98.012 0.14777 0.146909 0.145166 0.142409 0.13851 0.133371 0.126969 0.119395 0.110912 0.101987 0.0930881 0.0834366 0.0728188 0.0837129 0.0437719 91.7225 113.953 120.793 115.737 123.514 126.114 122.176 113.733 108.44 104.324 101.127 99.1438 98.6229 98.2846 97.9922 0.00926338 7.64249 43.9241 92.0505 100.546 105.842 110.916 118.027 125.994 125.873 120.567 122.159 119.012 112.011 7.4026 0.0745035 0.0723507 0.0799589 0.0875358 0.095113 0.10367 0.112416 0.120493 0.127452 0.13313 0.137513 0.140697 0.142834 0.144087 0.144608 0.0119085 0.068629 3.27652 -0.154433 68.3325 105.781 111.155 118.191 126.479 125.708 120.522 123.361 120.558 113.016 2.73893 0.0861018 0.0768246 0.0808334 0.08717 0.0945317 0.102997 0.111515 0.119269 0.125895 0.131248 0.13532 0.138221 0.140111 0.141176 0.141602 0.0117943 0.0684225 1.41809 0.184005 60.7023 96.9537 111.418 118.346 126.773 124.923 120.746 124.67 122.294 113.502 0.448302 0.102502 0.0807848 0.0815882 0.0866333 0.0937435 0.102102 0.110395 0.117862 0.124181 0.129219 0.132989 0.135614 0.137274 0.138172 0.138519 0.0119409 0.0854998 0.0685127 -0.00665282 13.0594 99.5075 110.604 118.565 126.702 123.311 119.503 125.936 124.264 114.908 0.396438 0.104256 0.0837894 0.0820525 0.0858531 0.0926968 0.100931 0.109023 0.116236 0.122261 0.12699 0.130469 0.132851 0.134333 0.135127 0.135431 0.0120099 0.0719786 0.0357372 -0.00859028 0.155882 42.7364 114.352 119.39 126.032 120.777 115.64 126.733 126.5 99.2821 -0.303004 0.0966081 0.0858453 0.0820454 0.0847297 0.0913173 0.0994335 0.107362 0.114346 0.120085 0.124514 0.127727 0.12991 0.131272 0.13201 0.132295 0.0119945 0.0725653 0.0358615 -0.00939212 -0.0225326 1.84044 95.4596 120.143 124.882 117.561 114.105 127.579 128.959 86.9957 -0.0599015 0.0902286 0.0862279 0.0813704 0.0831186 0.0895072 0.0975541 0.105368 0.11215 0.117615 0.121764 0.124746 0.126769 0.128037 0.128732 0.129003 0.0119043 0.0539324 -0.138128 -0.002745 -0.0221071 -0.147099 23.081 121.596 123.732 114.175 115.414 130.333 131.501 64.5774 0.0245429 0.0912055 0.0860602 0.0797752 0.0808068 0.0871265 0.0952164 0.102993 0.109609 0.114826 0.118723 0.121499 0.123376 0.124552 0.125197 0.125446 0.0117154 0.0465547 -0.166098 0.0035517 -0.0234532 -0.141349 0.132408 98.0567 122.673 106.225 115.819 135.68 133.854 24.7966 0.0930592 0.0973587 0.0849247 0.0768855 0.0774672 0.0839705 0.0923094 0.100168 0.106674 0.111679 0.115349 0.11793 0.119659 0.120735 0.12132 0.121541 0.0114136 0.0398773 -0.155083 0.00155105 -0.0252449 -0.133085 -0.00961591 3.82423 38.1955 0.476464 118.241 141.949 134.238 22.045 0.15628 0.102433 0.0822987 0.0720869 0.0725818 0.0797219 0.088665 0.0967895 0.103273 0.108109 0.111571 0.113962 0.115542 0.116513 0.117035 0.117226 0.0109959 0.0335509 -0.140094 0.00112509 -0.0271727 -0.124103 -0.0115426 -0.0634588 -0.0593811 0.00631911 47.7439 150.975 134.38 3.01671 0.188112 0.104141 0.0767075 0.0643415 0.0653451 0.0739062 0.0840346 0.0927182 0.0993096 0.104034 0.107313 0.109525 0.11096 0.111829 0.112289 0.112451 0.0104611 0.0277285 -0.119921 -0.0383151 -0.0289577 -0.11502 -0.0138227 -0.0529435 -0.0962471 -0.124229 7.69722 159.205 102.128 0.645819 0.174959 0.0977783 0.0658648 0.0518521 0.0543515 0.0657684 0.0780585 0.0877731 0.0946739 0.0993683 0.102501 0.104553 0.105855 0.106631 0.107034 0.107169 0.00981417 0.0224605 -0.0985355 -0.0385417 -0.0311801 -0.106668 -0.0145829 -0.0464168 -0.109112 -0.163706 -0.115082 126.367 10.1235 -0.144132 0.093245 0.0773505 0.0466031 0.0315131 0.0371514 0.0540843 0.0702206 0.0817429 0.0892583 0.0940405 0.0970783 0.0989981 0.100186 0.10088 0.101233 0.101344 0.00906211 0.0177411 -0.0803671 -0.0389128 -0.0329084 -0.0963582 -0.0212958 -0.0445279 -0.112715 -0.167487 -0.0759757 -0.017974 -0.186753 -0.180588 -0.00711081 0.0401197 0.0148511 -0.00149357 0.00942334 0.0370043 0.0598283 0.0744147 0.0829844 0.088006 0.091014 0.0928398 0.0939379 0.0945662 0.094879 0.094972 0.00821835 0.0135426 -0.065766 -0.0391503 -0.0340148 -0.0851706 -0.025615 -0.0444386 -0.107495 -0.150226 -0.0596863 -0.0578573 -0.199257 -0.0520185 -0.0341444 -0.00491426 -0.0319396 -0.0506316 -0.0338555 0.0128313 0.0462864 0.0657112 0.0758648 0.0812857 0.0843296 0.0861033 0.0871441 0.0877303 0.0880188 0.0881028 0.0072992 0.00984733 -0.0540682 -0.0389654 -0.0344974 -0.0730139 -0.0294403 -0.0441619 -0.0948204 -0.121039 -0.0558821 -0.0545802 -0.164228 -0.0698626 -0.0987865 -0.051615 -0.0830323 -0.0631574 -0.0231242 -0.0109576 0.0305647 0.0560564 0.0681489 0.0740383 0.0771492 0.0789032 0.0799183 0.0804892 0.0807729 0.0808601 0.00632723 0.00663151 -0.044719 -0.0382371 -0.034447 -0.0624993 -0.0325676 -0.0432589 -0.0789194 -0.0924846 -0.0466504 -0.047337 -0.121767 -0.149861 -0.0927737 -0.0897092 -0.0905779 -0.110915 -0.126351 -0.000128306 0.0154628 0.0469818 0.0604568 0.0665813 0.0697005 0.0714377 0.0724484 0.0730275 0.0733267 0.0734327 0.00532662 0.0038763 -0.0372747 -0.0369432 -0.0339323 -0.0539141 -0.0342103 -0.0415891 -0.0647595 -0.0694888 -0.0390992 -0.0387582 -0.0894993 -0.0674705 -0.0658892 -0.0964956 -0.100776 -0.144773 -0.130258 -0.06586 0.0334688 0.039811 0.0533284 0.059243 0.0622349 0.0639314 0.0649491 0.0655571 0.0658934 0.0660383 0.00432635 0.0015594 -0.0313862 -0.0351203 -0.0329981 -0.0469724 -0.0345494 -0.0392149 -0.0530832 -0.0524568 -0.0315437 -0.0275516 -0.0551243 0.0037949 -0.0435679 -0.0714463 -0.0697734 -0.108874 -0.0990807 -0.0401383 0.0512211 0.0359686 0.0470608 0.0521015 0.0548239 0.0564804 0.0575354 0.0582043 0.0586068 0.0588169 0.00335446 -0.000341884 -0.0266944 -0.0328426 -0.0316725 -0.0412451 -0.0337419 -0.0362649 -0.0435599 -0.0398136 -0.0237527 -0.0151299 -0.0207277 0.0768435 -0.00214771 -0.0262893 -0.0392071 -0.0785153 -0.0608495 -0.0149107 0.0442305 0.0320407 0.0397429 0.0444061 0.0471798 0.0489699 0.0501602 0.050949 0.0514559 0.0517593 0.00244063 -0.001849 -0.0229056 -0.0302178 -0.029963 -0.0363751 -0.0320065 -0.032893 -0.0356808 -0.0301795 -0.0166847 -0.00429717 0.00857749 0.0560474 0.0694696 0.0191296 0.00521819 -0.00353929 0.105815 0.0644823 0.0149679 0.0237003 0.0316117 0.0364398 0.0394761 0.0414914 0.0428593 0.0437872 0.0444065 0.0448038 0.00161099 -0.00297724 -0.0198157 -0.0273639 -0.0278915 -0.0320916 -0.0295791 -0.0292675 -0.0290791 -0.0227082 -0.0106042 0.00319024 0.0213793 0.0472254 0.046664 0.0353499 0.166807 0.139096 -0.00893048 -0.00128591 0.00853452 0.018726 0.0252743 0.0295957 0.032528 0.0345559 0.0359678 0.0369454 0.0376121 0.0380525 0.000889686 -0.00374757 -0.0172177 -0.0243902 -0.0255048 -0.0282001 -0.0266831 -0.0255413 -0.0235201 -0.0168967 -0.00601054 0.00714041 0.0231051 0.0390801 0.0435966 0.0324921 0.0532797 0.00969685 0.00498552 0.00679427 0.0121323 0.0172969 0.0214824 0.0246465 0.0269853 0.0286916 0.0299215 0.0307938 0.0313988 0.0318037 0.000294599 -0.00418313 -0.014941 -0.0213816 -0.0228639 -0.024563 -0.0235099 -0.0218512 -0.0188361 -0.0124235 -0.00291817 0.00834567 0.0203857 0.0299905 0.0323467 0.0251591 0.0154703 0.0125794 0.0109619 0.0117453 0.014025 0.0166652 0.0190949 0.0211229 0.0227307 0.0239616 0.0248774 0.0255408 0.026008 0.0263235 -0.000160396 -0.00431461 -0.0128549 -0.0183968 -0.0200281 -0.0210965 -0.0202112 -0.0182976 -0.0149101 -0.00905011 -0.00106925 0.00789908 0.0164608 0.0223737 0.0236147 0.020307 0.0162156 0.0138976 0.0130239 0.0133495 0.0144122 0.015759 0.0171038 0.0183016 0.0192974 0.0200852 0.0206851 0.021127 0.0214423 0.0216571 -0.000469198 -0.0041706 -0.0108692 -0.0154591 -0.0170512 -0.0177102 -0.0168929 -0.014945 -0.0116289 -0.00655204 -0.000129826 0.00666583 0.0126308 0.0164667 0.0174911 0.0163212 0.0145911 0.0134185 0.0129589 0.0130934 0.0136058 0.0142957 0.0150185 0.0156865 0.0162561 0.0167149 0.0170703 0.0173362 0.0175279 0.0176594 -0.000631269 -0.00377928 -0.00891926 -0.0125648 -0.0139766 -0.0143768 -0.0136198 -0.0118209 -0.00888229 -0.0047285 0.000213107 0.00517097 0.00929224 0.0119206 0.0129109 0.0127452 0.0121785 0.0117264 0.0115541 0.0116452 0.0119154 0.0122777 0.0126607 0.0130176 0.0133245 0.0135742 0.0137693 0.0139167 0.0140245 0.0140996 -0.000653914 -0.00316776 -0.0069535 -0.00969031 -0.0108289 -0.0110668 -0.010419 -0.00892144 -0.00655491 -0.00339034 0.000199786 0.00367271 0.00647582 0.00831739 0.00921354 0.00945759 0.00941249 0.00933472 0.00933347 0.00942849 0.00959371 0.00979276 0.00999448 0.0101794 0.0103371 0.0104651 0.0105653 0.0106407 0.010696 0.0107358 -0.000551881 -0.00236259 -0.0049372 -0.00680086 -0.00761168 -0.00775168 -0.00728214 -0.00620958 -0.00454366 -0.00238508 -5.83552e-06 0.00225364 0.00406109 0.00529689 0.00600044 0.00633185 0.00647009 0.00654433 0.00661867 0.00671246 0.00682098 0.00693233 0.00703701 0.00712966 0.00720799 0.00727157 0.00732117 0.00735829 0.00738527 0.00740462 -0.000347694 -0.00139329 -0.00282642 -0.00385041 -0.00430269 -0.004391 -0.0041679 -0.00362087 -0.00274234 -0.00158982 -0.000313954 0.000899912 0.00188329 0.00258156 0.00301716 0.00326464 0.00340473 0.00349594 0.00356922 0.00363608 0.00369861 0.00375495 0.00380386 0.00384564 0.00388061 0.00390871 0.00393037 0.00394647 0.00395807 0.00396639 -7.46646e-05 -0.000290958 -0.000575313 -0.000778889 -0.00085614 -0.00091332 -0.000988279 -0.0010467 -0.00102979 -0.000907105 -0.000701223 -0.00046084 -0.000237794 -6.19071e-05 6.13858e-05 0.000140987 0.000191509 0.00022518 0.000249452 0.000268619 0.000284102 0.000296811 0.000307029 0.000315061 0.000321133 0.000325561 0.000328578 0.000330703 0.00033236 0.000333788 0.14452 0.143775 0.142232 0.139752 0.136195 0.131452 0.125488 0.118361 0.110244 0.101498 0.0926028 0.0834616 0.0751812 0.0683573 0.0340978 70.2049 115.718 122.675 114.818 123.714 126.54 122.644 113.653 108.527 104.502 101.118 68.9401 21.3221 4.03019 -0.00355339 0.141537 0.140927 0.139595 0.137372 0.134106 0.129682 0.12406 0.117287 0.109478 0.100897 0.0920846 0.0834707 0.0764531 0.0784257 0.0503162 52.9186 117.229 124.368 114.26 123.404 126.564 123.013 113.539 108.611 104.684 8.72503 0.0910924 0.0429915 0.0138202 0.000146214 0.13847 0.13797 0.136829 0.134851 0.131866 0.12775 0.122449 0.115998 0.108485 0.100102 0.0914547 0.0834768 0.0779603 0.087496 0.0652246 40.9971 118.803 126.292 114.842 122.757 126.048 123.353 113.358 104.964 66.3571 9.54893 0.12081 0.0469196 0.0138281 -0.000110013 0.135386 0.134942 0.133926 0.132148 0.129424 0.125607 0.120616 0.114466 0.107231 0.0990801 0.0906744 0.0834053 0.0793536 0.0842342 0.101787 15.2113 120.295 128.452 115.769 121.306 124.892 123.615 113.034 103.607 66.7759 -0.06033 -0.0772855 0.0757092 0.0137451 7.49091e-05 0.132246 0.131821 0.130874 0.129239 0.126738 0.123203 0.118517 0.112657 0.105687 0.0977924 0.0896903 0.0831231 0.0804688 0.0841905 0.0898384 21.6239 122.562 130.775 116.915 118.825 123.223 123.575 112.46 97.5885 8.29225 -0.133753 -0.100979 0.19025 0.0136253 0.000228936 0.128949 0.128533 0.127634 0.126108 0.12379 0.120508 0.116116 0.11054 0.103826 0.0961901 0.0884149 0.0824959 0.0811378 0.0851026 0.0623927 12.9195 125.6 133.107 120.278 115.284 120.969 123.377 111.752 35.4441 0.0323887 -0.135464 -0.109898 0.0743784 0.0134896 0.000372537 0.125388 0.124989 0.124142 0.122716 0.120558 0.117502 0.113382 0.108079 0.101604 0.0942034 0.0867167 0.0813361 0.0811841 0.0867403 0.0496998 4.81674 127.723 135.413 125.564 111.17 118.059 123.307 87.4929 0.461936 -0.00446546 -0.130278 -0.109861 0.0534414 0.0133164 0.000508117 0.12148 0.121105 0.120317 0.118995 0.116994 0.114147 0.110277 0.105226 0.0989607 0.0917276 0.0844093 0.0793604 0.0803586 0.0874107 0.0685608 0.330352 129.647 138.554 130.192 107.305 114.2 123.339 14.4485 -0.0475255 -0.0158785 -0.124054 -0.0972091 0.0462371 0.0130324 0.000631947 0.117162 0.116812 0.116085 0.114869 0.113023 0.110376 0.106736 0.101909 0.0957993 0.0886013 0.0812094 0.0761441 0.0781382 0.0885284 0.0971033 0.282421 113.464 142.529 131.134 35.2651 6.05785 34.986 -0.000512755 -0.04345 -0.0243494 -0.13673 -0.106826 0.0390434 0.0126124 0.000740851 0.112383 0.112056 0.111388 0.110272 0.108572 0.106112 0.102676 0.0980268 0.0919771 0.0845934 0.0766983 0.0709985 0.0735601 0.0880277 0.115643 0.28035 51.833 149.35 130.123 0.530665 -0.163837 -0.0692466 -0.0175237 -0.0409203 -0.0305082 -0.138533 -0.105796 0.0320992 0.0120573 0.000831531 0.107096 0.106789 0.106172 0.105146 0.103575 0.101275 0.0980041 0.0934569 0.0873032 0.0793638 0.0702314 0.062725 0.0649009 0.083483 0.126236 0.275159 6.09139 158.635 139.892 -0.033949 -0.17238 -0.0712296 -0.0209406 -0.0389974 -0.0317919 -0.130537 -0.0669468 0.0256102 0.0113718 0.000901765 0.101268 0.100979 0.100406 0.0994545 0.0979867 0.0958073 0.0926355 0.0880661 0.0815386 0.0724285 0.0607601 0.0490698 0.0491343 0.0710073 0.11644 0.208528 -0.0134507 163.583 6.16152 -0.111322 -0.194279 -0.0695671 -0.0241704 -0.0389984 -0.0372332 -0.0672321 -0.0857021 0.0199192 0.0105634 0.000949306 0.0948945 0.0946219 0.0940858 0.0931905 0.0917942 0.0896823 0.0865167 0.0817399 0.0744181 0.063132 0.0466204 0.0258699 0.0211074 0.045618 0.0746046 0.184333 -0.159636 -0.110955 0.161424 -0.115408 -0.19659 -0.0711895 -0.0277279 -0.0381636 -0.0377986 -0.0535091 -0.0781967 0.014282 0.00964629 0.000973371 0.0880283 0.0877704 0.0872614 0.0864028 0.0850432 0.0829391 0.0796701 0.0744502 0.0657577 0.0508555 0.026121 -0.00981314 -0.0254104 0.00479305 0.0240889 -0.0605659 -0.282776 -0.149119 0.0521502 -0.0960064 -0.172291 -0.0715094 -0.0312656 -0.0377142 -0.0378396 -0.0507734 -0.0694367 0.00965718 0.00863525 0.000972986 0.0807956 0.0805552 0.0800695 0.0792349 0.0778874 0.075748 0.0722923 0.0664275 0.0557493 0.0359247 0.0366386 -0.0346116 -0.0498734 -0.0497578 -0.0235307 -0.107692 -0.262926 -0.113298 0.000540049 -0.0835049 -0.138441 -0.068859 -0.0343138 -0.0378039 -0.0380428 -0.0857049 -0.0603169 0.00567684 0.00755305 0.000948742 0.0733906 0.073178 0.0727248 0.0719229 0.0705982 0.0684436 0.0648461 0.0584307 0.0458404 0.0201149 0.00492055 -0.10422 -0.112684 -0.0991581 -0.0658741 -0.0579755 -0.170326 -0.0843843 -0.0219854 -0.0699664 -0.105947 -0.063605 -0.036356 -0.0378375 -0.0379771 -0.0714903 -0.0518576 0.00235864 0.0064233 0.000901006 0.0660377 0.0658742 0.0654805 0.0647519 0.0635184 0.0614738 0.0579766 0.0517154 0.0391267 0.0114864 -0.0429594 -0.15176 -0.147279 -0.0885899 -0.0637215 -0.0570943 -0.0589389 -0.0590764 -0.0267729 -0.0561937 -0.0800338 -0.0568835 -0.0370907 -0.0375413 -0.0375395 -0.0605264 -0.0446682 -0.000326964 0.00527581 0.000831792 0.058884 0.0588003 0.058508 0.0579182 0.0568897 0.0551749 0.0522734 0.047059 0.0373429 0.0146764 -0.0453842 -0.121742 -0.133338 -0.110759 -0.03594 -0.00245479 0.0102095 -0.032306 -0.0221914 -0.0434393 -0.0609628 -0.0498963 -0.0366053 -0.0367652 -0.0366288 -0.05195 -0.0384991 -0.00242977 0.00414118 0.000743383 0.0519186 0.0519406 0.0517818 0.0513765 0.0506324 0.0494083 0.0474471 0.0441903 0.0411363 0.0360763 -0.0148171 -0.0709397 -0.0847201 -0.0527774 0.0060285 0.041934 0.0161412 -0.0079603 -0.0142908 -0.0325187 -0.046947 -0.0432197 -0.0351282 -0.0354213 -0.0352211 -0.044882 -0.033192 -0.00401044 0.00304963 0.000639742 0.0450516 0.0451698 0.0451238 0.0448614 0.0443178 0.0434091 0.0420089 0.0398559 0.0367047 0.0356971 0.00346236 -0.000769801 -0.0061758 0.0265749 0.0558895 0.0553725 0.0393686 0.0087279 -0.00661778 -0.0235816 -0.0363569 -0.0370336 -0.0328969 -0.0334733 -0.0333338 -0.038889 -0.028619 -0.00512857 0.00203109 0.000525248 0.0383424 0.0385059 0.0385084 0.0382948 0.0377923 0.0368984 0.0354409 0.0330666 0.0289077 0.0212692 0.0105654 0.00719793 0.149292 0.163151 0.153216 0.0525877 0.0429997 0.0167672 -0.000909139 -0.0165782 -0.0281581 -0.0313851 -0.0301184 -0.0309768 -0.0310094 -0.0336927 -0.0246605 -0.00584278 0.00111473 0.000405908 0.0320739 0.0322297 0.0322361 0.0320368 0.0315573 0.0306975 0.0293086 0.0271393 0.0237548 0.0184984 0.0109998 0.00407298 0.00753374 0.038053 0.0734739 0.0410532 0.0357466 0.018354 0.00254955 -0.0113057 -0.0217243 -0.0262813 -0.0269714 -0.0280681 -0.0282948 -0.0290871 -0.0212025 -0.00620417 0.000326626 0.000287716 0.0265347 0.0266559 0.0266568 0.026489 0.0260924 0.0253944 0.0243059 0.0227114 0.0204717 0.0175013 0.0140717 0.0114717 0.0123226 0.0168748 0.0275427 0.0307776 0.0274016 0.0165339 0.00410659 -0.00751555 -0.016658 -0.0217166 -0.0236125 -0.0248997 -0.0252486 -0.0249218 -0.0181408 -0.00625689 -0.000310835 0.000177595 0.021802 0.0218856 0.021886 0.0217687 0.0214928 0.0210128 0.0202848 0.019272 0.0179575 0.016391 0.0148016 0.0137488 0.0141567 0.0164715 0.020594 0.0227893 0.0204776 0.0135322 0.00435639 -0.00493319 -0.0126859 -0.0176723 -0.0201723 -0.0215845 -0.0219834 -0.0210831 -0.0153798 -0.0060403 -0.000781902 8.1747e-05 0.0177494 0.0178029 0.0178062 0.0177385 0.0175742 0.0172864 0.0168544 0.0162706 0.01555 0.0147493 0.0140002 0.013541 0.0136994 0.0146901 0.0162031 0.0168563 0.0150793 0.0104499 0.00387367 -0.00325562 -0.00958252 -0.0141093 -0.0167547 -0.0181959 -0.0185865 -0.0174852 -0.0128292 -0.00558467 -0.00107673 6.07804e-06 0.014152 0.0141846 0.0141901 0.0141567 0.01407 0.0139152 0.0136804 0.0133638 0.0129801 0.0125655 0.0121854 0.01193 0.0119279 0.0122026 0.0125557 0.0123798 0.0108923 0.00769283 0.00306433 -0.00221663 -0.00715355 -0.0109724 -0.01343 -0.0147811 -0.0151228 -0.0140603 -0.0104062 -0.00491133 -0.00119272 -4.52296e-05 0.0107652 0.0107854 0.0107924 0.0107795 0.0107388 0.0106628 0.0105442 0.0103798 0.0101762 0.00994998 0.0097289 0.00955069 0.00944439 0.00939153 0.00926753 0.00878476 0.00756049 0.00533191 0.00218471 -0.00159501 -0.00521867 -0.00819112 -0.0102285 -0.0113676 -0.0116357 -0.0107473 -0.00803665 -0.00403356 -0.00113587 -6.97698e-05 0.00741962 0.00743105 0.00743629 0.00743175 0.0074138 0.00737857 0.00732221 0.00724145 0.00713491 0.00700636 0.00686503 0.00672397 0.00658566 0.00642787 0.00617553 0.00568643 0.00477377 0.00329045 0.00123494 -0.00120587 -0.00362988 -0.00568439 -0.00714189 -0.00795967 -0.00813166 -0.00748622 -0.0056562 -0.00297336 -0.000920169 -6.82064e-05 0.00397296 0.00397816 0.00398096 0.00397981 0.00397302 0.00395885 0.00393522 0.00389967 0.00385002 0.00378476 0.00370453 0.00361162 0.00350407 0.00336687 0.00316373 0.00282909 0.00227906 0.00144838 0.000332319 -0.000968654 -0.00226467 -0.00335929 -0.00412418 -0.00453046 -0.00458204 -0.00421105 -0.00321193 -0.00174631 -0.000570019 -4.48682e-05 0.000335375 0.000337301 0.00033919 0.000340534 0.000340844 0.000339516 0.000335987 0.000329559 0.000319429 0.000305074 0.000285515 0.000259647 0.000225314 0.000177499 0.000107983 3.91436e-06 -0.000147202 -0.000348967 -0.000587321 -0.000822734 -0.00100488 -0.00109058 -0.00107617 -0.0010032 -0.000914337 -0.000845293 -0.000653214 -0.000364511 -0.000122358 -9.31883e-06 ) ; boundaryField { leftWall { type fixedFluxPressure; gradient uniform 0; value nonuniform List<scalar> 60 ( 99.015 99.0138 99.0098 99.0032 98.9939 98.982 98.9675 98.9504 98.9306 98.9083 98.8835 98.8561 98.8263 98.794 98.7593 98.7222 98.6829 98.6412 98.5974 98.5515 98.5035 98.4535 98.4017 98.3481 98.2929 98.2361 98.1779 98.1185 98.0584 97.9959 99.0147 99.0121 99.0068 98.9989 98.9883 98.9751 98.9592 98.9408 98.9198 98.8962 98.8701 98.8415 98.8104 98.7769 98.741 98.7028 98.6623 98.6196 98.5747 98.5277 98.4787 98.4278 98.3751 98.3207 98.2647 98.2072 98.1484 98.0885 98.0292 97.9972 ) ; } rightWall { type fixedFluxPressure; gradient uniform 0; value nonuniform List<scalar> 60 ( 98.8227 98.8206 98.8162 98.8096 98.8007 98.7897 98.7764 98.761 98.7434 98.7237 98.7018 98.678 98.6521 98.6242 98.5944 98.5627 98.5292 98.4939 98.4569 98.4183 98.3781 98.3364 98.2933 98.2489 98.2032 98.1564 98.1086 98.0599 98.012 97.9922 98.8229 98.822 98.8187 98.8132 98.8054 98.7955 98.7833 98.769 98.7524 98.7338 98.713 98.6902 98.6653 98.6384 98.6095 98.5788 98.5462 98.5118 98.4756 98.4378 98.3984 98.3575 98.315 98.2713 98.2262 98.18 98.1326 98.0843 98.0355 97.9844 ) ; } lowerWall { type fixedFluxPressure; gradient uniform 0; value nonuniform List<scalar> 120 ( 99.1623 99.9054 101.063 102.56 104.386 106.311 107.891 108.593 107.981 105.912 102.545 98.2357 93.392 88.3876 83.5379 79.0824 75.1787 71.903 69.2697 67.2311 65.7069 64.6009 63.8172 63.2727 62.9012 62.6533 62.4934 62.3963 62.3444 62.3254 62.3314 62.3655 62.4381 62.564 62.7643 63.0692 63.5209 64.1773 65.1132 66.4194 68.1939 70.5271 73.4869 77.089 81.2936 85.983 90.9585 95.9392 100.576 104.475 107.235 108.578 108.475 107.205 105.27 103.215 101.432 100.092 99.2191 98.8229 99.015 99.4787 100.443 101.768 103.443 105.362 107.176 108.381 108.464 107.121 104.367 100.477 95.8518 90.8852 85.9242 81.2479 77.0543 73.4609 70.5083 68.1809 66.411 65.1083 64.1747 63.5199 63.0689 62.7645 62.5642 62.4383 62.3657 62.3315 62.3253 62.3443 62.3961 62.4931 62.6531 62.9012 63.2732 63.8189 64.6045 65.7134 67.2416 69.2854 71.9253 75.2088 79.1224 83.5899 88.4536 93.4725 98.3293 102.649 106.024 108.097 108.701 107.96 106.285 104.225 102.271 100.701 99.5952 98.946 ) ; } atmosphere { type totalPressure; rho rho; psi none; gamma 1; p0 uniform 0; value nonuniform List<scalar> 240 ( 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4.08375e-05 -0.000193005 -0.00040884 -0.000611145 -0.00074434 -0.000802008 -0.000802395 -0.000767923 -0.00072316 -0.000683021 -0.00065331 -0.000634017 -0.000622735 -0.000616694 -0.000613656 -0.00061218 -0.000611473 -0.000611189 -0.000611243 -0.000611699 -0.00061267 -0.000614229 -0.000616266 -0.000618267 -0.000619268 -0.000618391 -0.000615858 -0.00061277 -0.000609897 -0.000607562 -0.000605792 -0.00060452 -0.000603706 -0.000603426 -0.000603999 -0.000606158 -0.000611269 -0.000621461 -0.000639424 -0.000667682 -0.00070706 -0.000754237 -0.000798243 -0.000818562 -0.000791161 -0.00069869 -0.000531198 -0.000316097 -0.000118454 -8.37539e-06 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -6.23745e-06 -0.000104894 -0.00029783 -0.000516224 -0.000687748 -0.000781512 -0.000808196 -0.000787732 -0.000745595 -0.000701962 -0.000666805 -0.000642508 -0.000627523 -0.00061914 -0.000614806 -0.000612686 -0.000611671 -0.000611214 -0.000611114 -0.000611378 -0.000612096 -0.000613373 -0.000615218 -0.000617342 -0.000618999 -0.000619073 -0.000617242 -0.000614315 -0.000611277 -0.000608669 -0.000606633 -0.000605128 -0.000604086 -0.000603509 -0.00060358 -0.000604809 -0.00060824 -0.00061562 -0.000629388 -0.000652238 -0.0006861 -0.000730168 -0.000777775 -0.000813178 -0.000812129 -0.000754349 -0.000623851 -0.000426107 -0.000210376 -4.87903e-05 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ) ; } defaultFaces { type empty; } } // ************************************************************************* //
[ "stig.m.nilsen@gmail.com" ]
stig.m.nilsen@gmail.com
b5334fd1296c1af7f29eff36c4b43b3cf2c3a677
b957ed321f7594340e2d455f807da856e411e18f
/main/MessageProcess.h
5ccb947b57ebb45f817fc21cc5789b8881a65db2
[]
no_license
yrewzjs/SADS
a4d7fe8b2637fabae68976ddb43119fd438cc000
77ede95518af1b3ab3564cb8339c14487a2445a9
refs/heads/master
2020-05-17T09:55:33.004304
2019-04-26T15:15:21
2019-04-26T15:15:21
175,948,504
0
0
null
null
null
null
GB18030
C++
false
false
1,448
h
#ifndef _MESSAGEPROCESS_H_ #define _MESSAGEPROCESS_H_ /** * 该类是一个消息处理类。 * @author zjs * @Time 2017 */ /*********** 日志级别 ********* DEBUG :调试级别,调试时输出的一些调试日志,工作状态可以关闭 INFO :程序运行中输出的状态日志 WARNING:程序运行中输出的警告日志,该情况可能进一步导致程序错误,也可能对程序运行没有影响,比如:非必要传感器采集数据失败 ERROR :程序运行中输出的错误日志,该情况代表程序遭遇不可解决问题,比如:必要传感器采集数据失败 *********************************/ /********************* 日志初始化 *************************/ // 日志组件头文件 #include "easylogging++.h" #include <string> using std::string; #define LOG_DEBUG_OUTPUT 1 #define LOG_INFO_OUTPUT 2 #define LOG_ERROR_OUTPUT 3 class MessageProcess { public: private: public: static string ProcessMessage(const CString msg, const unsigned int id); static string ProcessMessage(const CString msg); static string FormatLogMessage(const CString msg, const unsigned int id); static string FormatLogMessage(const CString msg); static void InitLogConfiguration(); static CString GetFilePath(LPCTSTR const strCurFileName); // 根据文件相对路径组织绝对路径 static CString GetExePath(BOOL bIncludeSep); // false 返回.exe执行文件所在目录 }; #endif
[ "zhangjstj@163.com" ]
zhangjstj@163.com
fc3d4bdbd3181051add32ec664847a838d731430
04b2c2219457dbaa7fcc61350b17f40268ea2c73
/MandelM5/src/main.cpp
1e2eae6e5943a46f5d21455c41a25abe6805355a
[ "MIT" ]
permissive
akita11/MandelbrotTangNano
bf975bc03fc83f6c527a35671489564e7bf07431
cc61ac87fe59a0f8440d06afe1ec185e0062f521
refs/heads/master
2021-02-14T09:03:15.001233
2020-03-19T06:07:47
2020-03-19T06:07:47
244,790,973
4
0
null
null
null
null
UTF-8
C++
false
false
3,389
cpp
#include <Arduino.h> #include <M5Stack.h> #include <Wire.h> // convert float to Q12-formatted 16bit binary uint16_t float2q12(float a) { uint16_t i, f, d; float aa; if (a > 0) aa = a; else aa = -a; i = (byte)(aa); f = (uint16_t)((aa - (byte)aa) * 4096); d = (i << 12)| f; if (a < 0) d = ~d + 1; return(d); } void send_word(uint16_t d) { Serial2.write(d >> 8); Serial2.write(d & 0xff); } uint8_t f = 0; uint8_t jx0, jy0; #define X 240 #define Y 160 float width = 3; float xs = -2.0; float ys = -1.0; float dp = 0.0125; void setup() { M5.begin(); Serial.begin(115200); Serial2.begin(921600, SERIAL_8N1, 16, 17); Serial2.setRxBufferSize(65536); Wire.begin(); for (int i = 0; i < 5; i++){ Wire.requestFrom(0x52, 3); while(Wire.available()){ jx0 = Wire.read(); jy0 = Wire.read(); Wire.read(); } } } int x, y; void start_calc() { Serial2.write(X); Serial2.write(Y); dp = width / (float)X; send_word(float2q12(xs)); send_word(float2q12(ys)); send_word(float2q12(dp)); send_word(float2q12(dp)); x = 0; y = 0; f = 1; M5.Lcd.clear(BLACK); Serial.println("Settings:"); Serial.print("x: "); Serial.print(xs); Serial.print(" - "); Serial.println(xs + width); Serial.print("y: "); Serial.print(ys); Serial.print(" - "); Serial.println(ys + width*2.0/3.0); Serial.println(dp); Serial.println(width); } uint8_t fj = 0; void loop() { Wire.requestFrom(0x52, 3); if (Wire.available()){ uint8_t jx, jy; jx = Wire.read(); jy = Wire.read(); Wire.read(); #define JOY_TH 30 if (jx < jx0 - JOY_TH && fj == 0){ xs -= dp * (X/4); start_calc(); fj = 1;} if (jx > jx0 + JOY_TH && fj == 0){ xs += dp * (X/4); start_calc(); fj = 1;} if (jy < jy0 - JOY_TH && fj == 0){ ys -= dp * (Y/4); start_calc(); fj = 1;} if (jy > jy0 + JOY_TH && fj == 0){ ys += dp * (Y/4); start_calc(); fj = 1;} if (fj == 1 && jx < jx0 + JOY_TH && jx > jx0 - JOY_TH && jy < jy0 + JOY_TH && jy > jy0 - JOY_TH) fj = 0; } M5.update(); if (M5.BtnB.wasReleased()) { // reset position xs = -2.0; ys = -1.0; width = 3.0; start_calc(); } #define MAG_STEP 1.5 if (M5.BtnC.wasReleased()) { // zoom-out float xc, yc; xc = xs + (width / 2.0); yc = ys + (width / 3.0); Serial.println(xc); Serial.println(yc); width = width / MAG_STEP; dp = dp / MAG_STEP; xs = xc - (width / 2.0); ys = yc - (width / 3.0); start_calc(); } if (M5.BtnA.wasReleased()) { // zoom-in float xc, yc; xc = xs + (width / 2.0); yc = ys + (width / 3.0); Serial.println(xc); Serial.println(yc); width = width * MAG_STEP; dp = dp * MAG_STEP; xs = xc - (width / 2.0); ys = yc - (width / 3.0); start_calc(); } while(Serial2.available()){ byte d = Serial2.read(); if (f == 1){ if (d == 0x64) M5.Lcd.drawPixel(x, y, BLACK); else{ switch(d % 7){ case 0 : M5.lcd.drawPixel(x, y, BLUE); break; case 1 : M5.lcd.drawPixel(x, y, RED); break; case 2 : M5.lcd.drawPixel(x, y, MAGENTA); break; case 3 : M5.lcd.drawPixel(x, y, GREEN); break; case 4 : M5.lcd.drawPixel(x, y, CYAN); break; case 5 : M5.lcd.drawPixel(x, y, YELLOW); break; case 6 : M5.lcd.drawPixel(x, y, WHITE); break; } } y++; if (y == Y){ y = 0; x++; if (x == X){ x = 0; f = 0; } } } } }
[ "akita@ifdl.jp" ]
akita@ifdl.jp
ea7d5adbc5d63421e433ed5509a7b742f9ccfb28
f2e7c0cfefe130420549ac170a49769266381631
/include/usagi/imgui/small_button_cloud.hxx
d98389f434e80aae4238575cb0238487f4e98907
[ "MIT" ]
permissive
moicci/usagi
a4a1b3ab6050bf345d07fe1b702f606b1fefab83
2d57d21eeb92eadfdf4154a3e470aebfc3e388e5
refs/heads/master
2020-03-22T14:54:48.725530
2017-05-08T14:27:27
2017-05-08T14:27:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,123
hxx
#pragma once #include <string> #include <map> #include <functional> namespace usagi { namespace imgui { using small_button_cloud_functor_type = std::function< auto () -> void >; using small_button_cloud_base_type = std::multimap < std::string , std::tuple < small_button_cloud_functor_type , std::string > > ; class small_button_cloud : public small_button_cloud_base_type { float _width = 0.0f; public: using functor_type = std::function< auto () -> void >; auto emplace( std::string&& key, small_button_cloud_functor_type&& f ) { return small_button_cloud_base_type::emplace( key, std::make_tuple( f, std::string() ) ); } auto emplace( std::string&& key, std::string&& description ) { return small_button_cloud_base_type::emplace( key, std::make_tuple( []{}, description ) ); } auto emplace( std::string&& key, small_button_cloud_functor_type&& f, std::string&& description ) { return small_button_cloud_base_type::emplace( key, std::make_tuple( f, description ) ); } auto insert( const std::string& key, const small_button_cloud_functor_type& f ) { return small_button_cloud_base_type::insert( std::make_pair( key, std::make_tuple( f, std::string() ) ) ); } auto insert( const std::string& key, const std::string& description ) { return small_button_cloud_base_type::insert( std::make_pair( key, std::make_tuple( []{}, description ) ) ); } auto insert( const std::string& key, const small_button_cloud_functor_type& f, const std::string& description ) { return small_button_cloud_base_type::insert( std::make_pair( key, std::make_tuple( f, description ) ) ); } auto width() { return _width; } auto width( const decltype( _width ) in ) { return _width = in; } auto get_width_pointer() { return &_width; } auto operator()() { ImGui::BeginGroup(); const auto s = ImGui::GetStyle(); const auto iis2 = s.ItemInnerSpacing.x * 2; const auto is = s.ItemSpacing.x; auto current_line_width = 0.0f; for ( const auto& p : *this ) { const auto entity_width = ImGui::CalcTextSize( p.first.c_str() ).x; const auto tmp_line_width = current_line_width + is + iis2 + entity_width; if ( current_line_width > 0.0f and tmp_line_width < _width ) { ImGui::SameLine(); current_line_width = tmp_line_width; } else current_line_width = iis2 + entity_width; if ( ImGui::SmallButton( p.first.c_str() ) ) std::get< small_button_cloud_functor_type >( p.second )(); const auto& description = std::get< std::string >( p.second ); if ( not description.empty() and ImGui::IsItemHovered() ) ImGui::SetTooltip( description.c_str() ); } ImGui::EndGroup(); } }; } }
[ "usagi@WonderRabbitProject.net" ]
usagi@WonderRabbitProject.net
7eff692d06002e3c3a4d0df181154b7258ebd48a
192187c2fc994d8de65cb1a3e16990ac3eced9a2
/plat/infra/ipc/msg/msg_shm.h
fe24ec7d4b2d75ee690dd0ce6ab70044b292dc01
[]
no_license
grh4542681/UAP
61f7c6fe9ffb08f863c705ce532ead3fd8b025a6
5bb223fb310c33c6210f0a997d9b6c5a1cb281a4
refs/heads/master
2020-03-26T23:17:05.187533
2020-03-25T12:11:15
2020-03-25T12:11:15
145,526,757
0
0
null
null
null
null
UTF-8
C++
false
false
990
h
#ifndef __MSG_SHM_H__ #define __MSG_SHM_H__ #include "shm/shm_posix.h" #include "sem/sem_posix.h" #include "msg.h" #include "ipc_log.h" namespace ipc::msg { class MsgShm : public Msg { public: typedef struct _MsgShmHead { size_t msg_num; size_t free_size; size_t data_start; size_t data_end; size_t msg_head; size_t msg_tail; } MsgShmHead; public: MsgShm(); MsgShm(std::string path); ~MsgShm(); IpcRet Create(size_t size, mode_t mode); IpcRet Destroy(); IpcRet Open(IpcMode mode); IpcRet Close(); size_t GetMsgNum(); size_t GetFreeSize(); IpcRet GetRet(); size_t Recv(void* data, size_t data_len, timer::Time* overtime); size_t Send(void* data, size_t data_len, timer::Time* overtime); //private: public: shm::ShmPosix shm_; sem::SemPosix sem_; IpcRet ret_; MsgShmHead* p_shm_head_ = {NULL}; size_t _align(size_t raw_size, size_t align_size); }; } #endif
[ "grh4542681@163.com" ]
grh4542681@163.com
6df81ad1ae70697a572c5cf398b49e0d8982bca6
1f63dde39fcc5f8be29f2acb947c41f1b6f1683e
/Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/video_coding/codecs/vp8/simulcast_rate_allocator.cc
a36e465a2a9be0fd98de5939ce6e97a06f24363f
[ "MIT", "LicenseRef-scancode-google-patent-license-webrtc", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "GPL-1.0-or-later", "LicenseRef-scancode-takuya-ooura", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown", "MS-LPL", "LicenseRef-scancode-google-patent-licen...
permissive
koobonil/Boss2D
09ca948823e0df5a5a53b64a10033c4f3665483a
e5eb355b57228a701495f2660f137bd05628c202
refs/heads/master
2022-10-20T09:02:51.341143
2019-07-18T02:13:44
2019-07-18T02:13:44
105,999,368
7
2
MIT
2022-10-04T23:31:12
2017-10-06T11:57:07
C++
UTF-8
C++
false
false
6,993
cc
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #include "modules/video_coding/codecs/vp8/simulcast_rate_allocator.h" #include <algorithm> #include <memory> #include <vector> #include <utility> #include BOSS_WEBRTC_U_rtc_base__checks_h //original-code:"rtc_base/checks.h" namespace webrtc { SimulcastRateAllocator::SimulcastRateAllocator( const VideoCodec& codec, std::unique_ptr<TemporalLayersFactory> tl_factory) : codec_(codec), tl_factory_(std::move(tl_factory)) { if (tl_factory_.get()) tl_factory_->SetListener(this); } void SimulcastRateAllocator::OnTemporalLayersCreated(int simulcast_id, TemporalLayers* layers) { RTC_DCHECK(temporal_layers_.find(simulcast_id) == temporal_layers_.end()); RTC_DCHECK(layers); temporal_layers_[simulcast_id] = layers; } BitrateAllocation SimulcastRateAllocator::GetAllocation( uint32_t total_bitrate_bps, uint32_t framerate) { uint32_t left_to_allocate = total_bitrate_bps; if (codec_.maxBitrate && codec_.maxBitrate * 1000 < left_to_allocate) left_to_allocate = codec_.maxBitrate * 1000; BitrateAllocation allocated_bitrates_bps; if (codec_.numberOfSimulcastStreams == 0) { // No simulcast, just set the target as this has been capped already. allocated_bitrates_bps.SetBitrate( 0, 0, std::max(codec_.minBitrate * 1000, left_to_allocate)); } else { // Always allocate enough bitrate for the minimum bitrate of the first // layer. Suspending below min bitrate is controlled outside the codec // implementation and is not overridden by this. left_to_allocate = std::max(codec_.simulcastStream[0].minBitrate * 1000, left_to_allocate); // Begin by allocating bitrate to simulcast streams, putting all bitrate in // temporal layer 0. We'll then distribute this bitrate, across potential // temporal layers, when stream allocation is done. // Allocate up to the target bitrate for each simulcast layer. size_t layer = 0; for (; layer < codec_.numberOfSimulcastStreams; ++layer) { const SimulcastStream& stream = codec_.simulcastStream[layer]; if (left_to_allocate < stream.minBitrate * 1000) break; uint32_t allocation = std::min(left_to_allocate, stream.targetBitrate * 1000); allocated_bitrates_bps.SetBitrate(layer, 0, allocation); RTC_DCHECK_LE(allocation, left_to_allocate); left_to_allocate -= allocation; } // Next, try allocate remaining bitrate, up to max bitrate, in top stream. // TODO(sprang): Allocate up to max bitrate for all layers once we have a // better idea of possible performance implications. if (left_to_allocate > 0) { size_t active_layer = layer - 1; const SimulcastStream& stream = codec_.simulcastStream[active_layer]; uint32_t bitrate_bps = allocated_bitrates_bps.GetSpatialLayerSum(active_layer); uint32_t allocation = std::min(left_to_allocate, stream.maxBitrate * 1000 - bitrate_bps); bitrate_bps += allocation; RTC_DCHECK_LE(allocation, left_to_allocate); left_to_allocate -= allocation; allocated_bitrates_bps.SetBitrate(active_layer, 0, bitrate_bps); } } const int num_spatial_streams = std::max(1, static_cast<int>(codec_.numberOfSimulcastStreams)); // Finally, distribute the bitrate for the simulcast streams across the // available temporal layers. for (int simulcast_id = 0; simulcast_id < num_spatial_streams; ++simulcast_id) { auto tl_it = temporal_layers_.find(simulcast_id); if (tl_it == temporal_layers_.end()) continue; // TODO(sprang): If > 1 SS, assume default TL alloc? uint32_t target_bitrate_kbps = allocated_bitrates_bps.GetBitrate(simulcast_id, 0) / 1000; const uint32_t expected_allocated_bitrate_kbps = target_bitrate_kbps; RTC_DCHECK_EQ( target_bitrate_kbps, allocated_bitrates_bps.GetSpatialLayerSum(simulcast_id) / 1000); const int num_temporal_streams = std::max<uint8_t>( 1, codec_.numberOfSimulcastStreams == 0 ? codec_.VP8().numberOfTemporalLayers : codec_.simulcastStream[simulcast_id].numberOfTemporalLayers); uint32_t max_bitrate_kbps; // Legacy temporal-layered only screenshare, or simulcast screenshare // with legacy mode for simulcast stream 0. if (codec_.mode == kScreensharing && codec_.targetBitrate > 0 && ((num_spatial_streams == 1 && num_temporal_streams == 2) || // Legacy. (num_spatial_streams > 1 && simulcast_id == 0))) { // Simulcast. // TODO(holmer): This is a "temporary" hack for screensharing, where we // interpret the startBitrate as the encoder target bitrate. This is // to allow for a different max bitrate, so if the codec can't meet // the target we still allow it to overshoot up to the max before dropping // frames. This hack should be improved. int tl0_bitrate = std::min(codec_.targetBitrate, target_bitrate_kbps); max_bitrate_kbps = std::min(codec_.maxBitrate, target_bitrate_kbps); target_bitrate_kbps = tl0_bitrate; } else if (num_spatial_streams == 1) { max_bitrate_kbps = codec_.maxBitrate; } else { max_bitrate_kbps = codec_.simulcastStream[simulcast_id].maxBitrate; } std::vector<uint32_t> tl_allocation = tl_it->second->OnRatesUpdated( target_bitrate_kbps, max_bitrate_kbps, framerate); RTC_DCHECK_GT(tl_allocation.size(), 0); RTC_DCHECK_LE(tl_allocation.size(), num_temporal_streams); uint64_t tl_allocation_sum_kbps = 0; for (size_t tl_index = 0; tl_index < tl_allocation.size(); ++tl_index) { uint32_t layer_rate_kbps = tl_allocation[tl_index]; allocated_bitrates_bps.SetBitrate(simulcast_id, tl_index, layer_rate_kbps * 1000); tl_allocation_sum_kbps += layer_rate_kbps; } RTC_DCHECK_LE(tl_allocation_sum_kbps, expected_allocated_bitrate_kbps); } return allocated_bitrates_bps; } uint32_t SimulcastRateAllocator::GetPreferredBitrateBps(uint32_t framerate) { // Create a temporary instance without temporal layers, as they may be // stateful, and updating the bitrate to max here can cause side effects. SimulcastRateAllocator temp_allocator(codec_, nullptr); BitrateAllocation allocation = temp_allocator.GetAllocation(codec_.maxBitrate * 1000, framerate); return allocation.get_sum_bps(); } const VideoCodec& webrtc::SimulcastRateAllocator::GetCodec() const { return codec_; } } // namespace webrtc
[ "slacealic@nate.com" ]
slacealic@nate.com
99e10b5dda7f7ff8f2584d8741744d2879830411
0200239bcb83676d9c3e74c7c70786c94c5ec6c6
/src/vendor/cget/cget/pkg/pqrs-org__cpp-osx-iokit_hid_device_open_checker/install/include/pqrs/osx/iokit_hid_device_open_checker.hpp
ab3bcd755693e73c96a9c859d8b5290b65d3f03f
[ "Unlicense" ]
permissive
xcardplayer/Karabiner-Elements
8e424de3479c4d967e2f1f7a6668a73521e2ef03
a752122bb67be30b8651314bc78814b3db236fb8
refs/heads/master
2020-11-27T08:56:46.144179
2019-12-12T15:36:30
2019-12-12T15:36:30
229,378,053
0
0
Unlicense
2019-12-21T04:53:09
2019-12-21T04:53:09
null
UTF-8
C++
false
false
2,997
hpp
#pragma once // pqrs::osx::iokit_hid_device_open_checker v1.1 // (C) Copyright Takayama Fumihiko 2019. // Distributed under the Boost Software License, Version 1.0. // (See http://www.boost.org/LICENSE_1_0.txt) #include <pqrs/osx/iokit_hid_manager.hpp> namespace pqrs { namespace osx { class iokit_hid_device_open_checker final : public dispatcher::extra::dispatcher_client { public: // Signals (invoked from the dispatcher thread) nod::signal<void(void)> device_open_permitted; nod::signal<void(void)> device_open_forbidden; // Methods iokit_hid_device_open_checker(const iokit_hid_device_open_checker&) = delete; iokit_hid_device_open_checker(std::weak_ptr<dispatcher::dispatcher> weak_dispatcher, const std::vector<cf::cf_ptr<CFDictionaryRef>>& matching_dictionaries, pqrs::dispatcher::duration device_matched_delay = pqrs::dispatcher::duration(0)) : dispatcher_client(weak_dispatcher), permitted_(false), timer_(*this) { iokit_hid_manager_ = std::make_unique<iokit_hid_manager>(weak_dispatcher, matching_dictionaries, device_matched_delay); iokit_hid_manager_->device_matched.connect([this](auto&& registry_entry_id, auto&& device) { if (device) { wait_ = 5; iokit_return r = IOHIDDeviceOpen(*device, kIOHIDOptionsTypeNone); if (!r.not_permitted()) { if (!permitted_) { permitted_ = true; enqueue_to_dispatcher([this] { device_open_permitted(); }); } } } }); } virtual ~iokit_hid_device_open_checker(void) { detach_from_dispatcher([this] { timer_.stop(); iokit_hid_manager_ = nullptr; }); } void async_start(void) { if (iokit_hid_manager_) { iokit_hid_manager_->async_start(); timer_.start( [this] { // Keep `timer_` while no device is matched. if (!wait_) { return; } // Keep `timer_` for a while after a device is matched. if (*wait_ > 0) { --(*wait_); return; } iokit_hid_manager_ = nullptr; if (!permitted_) { enqueue_to_dispatcher([this] { device_open_forbidden(); }); } timer_.stop(); }, std::chrono::milliseconds(1000)); } } private: std::unique_ptr<iokit_hid_manager> iokit_hid_manager_; bool permitted_; std::optional<size_t> wait_; pqrs::dispatcher::extra::timer timer_; }; } // namespace osx } // namespace pqrs
[ "tekezo@pqrs.org" ]
tekezo@pqrs.org
7e3295140fe78cee7980dafc1bf368fde64c5b4a
ecd445b19371b0faea42be8dbc1396e002bf9a49
/symbol_table.cpp
08ece3e061b19ed3778a8fe252783fa8c817ee13
[]
no_license
royertiago/INE5426
42bac6efc843fd08bd90d05027adf6f75d052b54
132d67f3a5bb3a09e74bb92993950a20309a031e
refs/heads/master
2021-01-01T20:47:51.148019
2014-12-15T15:02:29
2014-12-15T15:02:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,666
cpp
/* symbol_table.cpp * Implementation of symbol_table.h */ #include <unordered_map> #include "exceptions.h" #include "symbol_table.h" namespace SymbolTable { /* Separate symbol tables for each type of symbol. */ namespace tables { std::unordered_map<std::string, std::unique_ptr<Category>> category; std::unordered_map<std::string, std::unique_ptr<NullaryOperator>> nullary; std::unordered_map<std::string, std::unique_ptr<UnaryOperator>> postfix; std::unordered_map<std::string, std::unique_ptr<UnaryOperator>> prefix; std::unordered_map<std::string, std::unique_ptr<BinaryOperator>> binary; NullaryOperator * lastInserted = nullptr; } // namespace tables void insertCategory( std::string name ) { tables::category.emplace( name, Category::next(name) ); } bool existsCategory( std::string name ) { return tables::category.count(name) != 0; } unsigned categoryValue( std::string name ) { return tables::category[name]->value; } void insertOverload( std::string name, std::string format, unsigned priority, std::unique_ptr<OperatorOverload>&& overload ) { if( format == "f" ) { if( tables::category.count(name) != 0 ) throw semantic_error( "There is already a category named " + name ); bool operator_exists = tables::nullary.count(name) != 0; if( !operator_exists ) tables::nullary.emplace(name, std::make_unique<NullaryOperator>(name)); NullaryOperator & op = *tables::nullary[name]; op.insert( std::move(overload) ); tables::lastInserted = &op; if( !operator_exists ) op.priority = priority; else if( op.priority != priority ) throw semantic_error( "Conflicting operator priorities for " + name ); } else if( format == "yf" || format == "xf" || format == "fy" || format == "fx" ) { auto ptr = &tables::postfix; unsigned operator_priority = priority; unsigned operand_priority = priority; if( format == "fx" || format == "xf" ) operand_priority--; if( format == "fx" || format == "fy" ) ptr = &tables::prefix; bool operator_exists = ptr->count(name) != 0; if( !operator_exists ) ptr->emplace(name, std::make_unique<UnaryOperator>(name) ); UnaryOperator & op = *(*ptr)[name]; op.insert( std::move(overload) ); if( !operator_exists ) { op.priority = operator_priority; op.operand_priority = operand_priority; } else if( operator_priority != op.priority ) throw semantic_error( "Conflicting operator priorities for " + name ); else if( operand_priority != op.operand_priority ) throw semantic_error( "Conflicting types for operator " + name ); } else if( format == "xfx" || format == "xfy" || format == "yfx" ) { unsigned left_priority = priority; unsigned right_priority = priority; if( format != "yfx" ) left_priority--; if( format != "xfy" ) right_priority--; bool operator_exists = tables::binary.count(name) != 0; if( !operator_exists ) tables::binary.emplace(name, std::make_unique<BinaryOperator>(name)); BinaryOperator & op = *tables::binary[name]; op.insert( std::move(overload) ); if( !operator_exists ) { op.priority = priority; op.left_priority = left_priority; op.right_priority = right_priority; } else if( op.priority != priority || op.left_priority != left_priority || op.right_priority != right_priority ) throw semantic_error( "Conflicting operator priorities for " + name ); } else throw std::logic_error( "Unknown type" ); } bool existsBinaryOperator( std::string name ) { return retrieveBinaryOperator( name ) != nullptr; } bool existsPrefixOperator( std::string name ) { return retrievePrefixOperator( name ) != nullptr; } bool existsPostfixOperator( std::string name ) { return retrievePostfixOperator( name ) != nullptr; } bool existsNullaryOperator( std::string name ) { return retrieveNullaryOperator( name ) != nullptr; } bool existsOperator( std::string name ) { return existsNullaryOperator(name) || existsPostfixOperator(name) || existsPrefixOperator(name) || existsBinaryOperator(name); } unsigned maximumPrefixPriority( std::string operator_name ) { return tables::prefix[operator_name]->operand_priority; } unsigned maximumPostfixPriority( std::string operator_name ) { return tables::postfix[operator_name]->operand_priority; } unsigned maximumLeftPriority( std::string operator_name ) { return tables::binary[operator_name]->left_priority; } unsigned maximumRightPriority( std::string operator_name ) { return tables::binary[operator_name]->right_priority; } unsigned nullaryOperatorPriority( std::string name ) { return tables::nullary[name]->priority; } unsigned prefixOperatorPriority( std::string name ) { return tables::prefix[name]->priority; } unsigned postfixOperatorPriority( std::string name ) { return tables::postfix[name]->priority; } unsigned binaryOperatorPriority( std::string name ) { return tables::binary[name]->priority; } const NullaryOperator * retrieveNullaryOperator( std::string name ) { auto iter = tables::nullary.find( name ); if( iter == tables::nullary.end() ) return nullptr; return iter->second.get(); } const UnaryOperator * retrievePrefixOperator( std::string name ) { auto iter = tables::prefix.find( name ); if( iter == tables::prefix.end() ) return nullptr; return iter->second.get(); } const UnaryOperator * retrievePostfixOperator( std::string name ) { auto iter = tables::postfix.find( name ); if( iter == tables::postfix.end() ) return nullptr; return iter->second.get(); } const BinaryOperator * retrieveBinaryOperator( std::string name ) { auto iter = tables::binary.find( name ); if( iter == tables::binary.end() ) return nullptr; return iter->second.get(); } const NullaryOperator * lastNullaryInserted() { return tables::lastInserted; } } // namespace SymbolTable // Implementation of VariableList methods. void VariableList::insert( std::string name ) { table.insert( name ); } bool VariableList::contains( std::string name ) const { return table.count( name ) != 0; } VariableList & VariableList::merge( const VariableList & other ) { table.insert( other.table.begin(), other.table.end() ); return *this; }
[ "royertiago@gmail.com" ]
royertiago@gmail.com
4b9daaaad33db717f3f73a456a8ad450b2640c84
3358a7faaf650d632ff2a7b48e0c7c81fb97a8fd
/validation/test_single_request/test_ms_sr.cpp
0567f10150843083fdbaabdfa914cb2ec636cf16
[]
no_license
sig1nt/satnet-policy-server
fc311a57d5fe251b7b78e375680d321a298efcc6
8f1e0ea58bdc9ab6310eb9e8d9b28f4cd43c39b7
refs/heads/master
2021-09-15T22:46:42.441783
2018-06-12T02:27:06
2018-06-12T02:27:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,232
cpp
#include "mission_server.h" #include <fcntl.h> #include <stdio.h> #include <string> #include <map> //add ack for cancel demand enum TR_state {SENT, ACCEPT, REJECT, CANCEL, WITHDRAWL_SENT, WITHDRAWL_ACK}; struct TR { int reqID; int gsID; time_t start; time_t end; TR_state state; }; std::map<int, struct TR> time_requests; void ack_cb(int reqID, bool accepted) { if(time_requests.count(reqID) == 0){ printf("Invalid ID\n"); return; } struct TR& tr = time_requests[reqID]; tr.state = (accepted ? ACCEPT : REJECT); if(accepted){ printf("YAY, using time on gs %d from %ld to %ld\n", tr.gsID, tr.start, tr.end); } else{ printf("NOOOO, can't use time on gs %d from %ld to %ld\n", tr.gsID, tr.start, tr.end); } } void gs_cb(std::vector<struct GroundStationInfo>& gs_list) { //TO DO //Use TLE to propagate forward through time //Match with the lat and long of gs in list //send time requests printf("groundstation callback\n"); } void canc_cb(int reqID) { if(time_requests.count(reqID) == 0){ printf("Invalid ID for cancellation\n"); return; } struct TR& tr = time_requests[reqID]; tr.state = CANCEL; printf("Cancelled time on gs %d from %ld to %ld\n", tr.gsID, tr.start, tr.end); } void wd_cb(int reqID, bool accepted) { if(time_requests.count(reqID) == 0){ printf("Invalid ID\n"); return; } //remove the withdrawn time from time_requests time_requests.erase(reqID); } int request_cb(void *arg){ MissionSocket *ms = (MissionSocket *)arg; ms->send_time_request(); return EVENT_KEEP; } void add_time(MissionSocket& ms, time_t start, time_t end, int gsID) { int id = ms.queue_time_request(start, end, gsID); struct TR tr = {id, gsID, start, end, SENT}; time_requests.insert(std::pair<int, struct TR> (id, tr)); } void withdrawl_time(MissionSocket& ms, int reqID) { ms.queue_withdrawl_request(reqID); time_requests[reqID].state = WITHDRAWL_SENT; } int bind_to_local_addr(std::string local_addr, int port){ printf("Binding locally to %s\n", local_addr.c_str()); int sockfd = socket(AF_INET, SOCK_STREAM, 0); if(sockfd == -1){ printf("Error creating binding socket. Exiting...\n"); exit(1); } //TO DO only supports IPv4 struct sockaddr_in local_sock; local_sock.sin_family = AF_INET; local_sock.sin_addr.s_addr = inet_addr(local_addr.c_str()); local_sock.sin_port = port; //bind to any local port if(bind(sockfd, (sockaddr *)&local_sock, sizeof(local_sock)) == -1){ perror("Failed to bind"); exit(1); } return sockfd; } void connect_to_policy_server(int ms_fd, std::string remote_server, int remote_port){ printf("Connecting to remote mission server at %s:%d\n", remote_server.c_str(), remote_port); //TO DO only supports IPv4 struct sockaddr_in remote_addr; remote_addr.sin_family = AF_INET; if(inet_aton(remote_server.c_str(), (in_addr *)&remote_addr.sin_addr.s_addr) == 0){ printf("Invalid remote server IP address: %s", remote_server.c_str()); exit(1); } if(remote_port > MAX_PORT){ printf("Invalid remote server port: %d", remote_port); exit(1); } remote_addr.sin_port = htons(remote_port); //bind to any port if(connect(ms_fd, (sockaddr *)&remote_addr, sizeof(remote_addr)) == -1){ perror("Connect to remote server failed"); exit(1); } } int main(int argc, char **argv) { int global_id, local_port, ms_fd, remote_port; std::string shared_secret, local_addr, local_name, remote_server; if(argc != 8){ printf("Usage: ms <name> <id> <local-addr> <local-port> <remote-server> <remote-port> <shared-secret>\n"); //id is globally unique exit(1); } else{ local_name = argv[1]; global_id = atoi(argv[2]); local_addr = argv[3]; local_port = atoi(argv[4]); remote_server = argv[5]; remote_port = atoi(argv[6]); shared_secret = argv[7]; //return the fd of the mission socket //TO DO get the local interfaces and choose from one of those //specify if we are connecting locally or externally ms_fd = bind_to_local_addr(local_addr, local_port); connect_to_policy_server(ms_fd, remote_server, remote_port); } Process *proc = new Process(NULL, WD_DISABLED); MissionSocket ms = MissionSocket(ms_fd, proc, &ack_cb, &gs_cb, &canc_cb, &wd_cb); ms.set_comm_vars(global_id, shared_secret, local_addr, local_port, local_name); ms.send_init(); //TO DO allow specification of time to schedule sending requests EVT_sched_add(proc->event_manager()->state(), EVT_ms2tv(3 * 1000),&request_cb, (void *)&ms); add_time(ms, 20, 13, 10); //add_time(ms, 1, 26, 1); //add_time(ms, 45, 55, 1); //ms.queue_withdrawl_request(2); //ms.send_time_request(); proc->event_manager()->EventLoop(); }
[ "claverty@calpoly.edu" ]
claverty@calpoly.edu
0e6a3ab04030cc99304c5441101bb55b5af3baca
c3ab78bb32723c8073f32bb6dfc431a7ab910de2
/Coil/Source/Coil/GUI/GUI.cpp
468de440198cbb944d7e1892410e0490d9fac55c
[ "BSD-3-Clause", "Zlib", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
ikold/Coil
8d6a54e22411d14dae8196036bcd7ba878863009
190c8629853d024e1e7bbac5ae32aafdbbeec885
refs/heads/master
2023-08-07T08:41:46.796729
2021-09-30T12:47:32
2021-09-30T12:47:32
230,604,619
0
0
null
null
null
null
UTF-8
C++
false
false
3,236
cpp
#include "pch.h" #include "GUI.h" namespace Coil { std::vector<Ref<GUIWindow>> GUI::Container; void GUI::OnImGuiRender() { CL_PROFILE_FUNCTION_HIGH() for (const auto& window : Container) window->OnImGuiRender(); } Ref<GUILogWindow> GUI::LogWindow(const GUIWindowProps& properties) { auto window = CreateRef<GUILogWindow>(properties); Container.push_back(window); return window; } Ref<GUIComponentWindow> GUI::ComponentWindow(const GUIWindowProps& properties, const std::vector<Ref<GUIComponent>>& components) { auto window = CreateRef<GUIComponentWindow>(properties); Container.push_back(window); for (const auto& component : components) window->AddComponent(component); return window; } Ref<GUIComponentWindow> GUI::ComponentWindow(const std::vector<Ref<GUIComponent>>& components) { return ComponentWindow({}, components); } void GUI::HideWindow(const Ref<GUIWindow>& window) { window->GetProperties().Visible = false; } void GUI::ShowWindow(const Ref<GUIWindow>& window) { window->GetProperties().Visible = true; } void GUI::ToggleWindowVisibility(const Ref<GUIWindow>& window) { window->GetProperties().Visible = !window->GetProperties().Visible; } bool GUI::HideWindow(const RString<>& name) { const auto window = GetWindow(name); if (!window) return false; HideWindow(window); return true; } bool GUI::ShowWindow(const RString<>& name) { const auto window = GetWindow(name); if (!window) return false; ShowWindow(window); return true; } bool GUI::ToggleWindowVisibility(const RString<>& name) { const auto window = GetWindow(name); if (!window) return false; ToggleWindowVisibility(window); return true; } Ref<GUIOverlay> GUI::Overlay(const GUIWindowProps& properties) { auto window = CreateRef<GUIOverlay>(properties); Container.push_back(window); return window; } Ref<GUIButton> GUI::Button(const GUIComponentProps& properties, const std::function<void()>& callback) { return CreateRef<GUIButton>(properties, callback); } Ref<GUIText> GUI::Text(const GUIComponentProps& properties, const RString<>& stringReference) { return CreateRef<GUIText>(properties, stringReference); } Ref<GUITextInput> GUI::TextInput(const GUIComponentProps& properties, const RString<BString>& inputBuffer) { return CreateRef<GUITextInput>(properties, inputBuffer); } Ref<GUIMultiLineTextInput> GUI::MultiLineTextInput(const GUIComponentProps& properties, const RString<BString>& inputBuffer) { return CreateRef<GUIMultiLineTextInput>(properties, inputBuffer); } Ref<GUIFloatSlider> GUI::FloatSlider(const GUIComponentProps& properties, const Ref<float32>& floatRef, float32 minValue, float32 maxValue) { return CreateRef<GUIFloatSlider>(properties, floatRef, minValue, maxValue); } Ref<GUIColorPicker> GUI::ColorPicker(const GUIComponentProps& properties, const Ref<glm::vec4>& vec4Ref) { return CreateRef<GUIColorPicker>(properties, vec4Ref); } Ref<GUIPlotLine> GUI::PlotLine(const GUIComponentProps& properties, const Ref<std::vector<float32>>& dataBuffer, float32 scaleMin, float32 scaleMax) { return CreateRef<GUIPlotLine>(properties, dataBuffer, scaleMin, scaleMax); } }
[ "jakubkozlowicz10@gmail.com" ]
jakubkozlowicz10@gmail.com
0a86b39cb5e752ed19f53a82412ac86d4450f9c4
e5278489aa0a87863ffab8654b546b068ad8c05a
/FSWRender/FSWPostRadialBlur.h
8bb9fe2441d245dd0300c2555cf1ffbfc6f899cc
[]
no_license
yish0000/FSWRender
c4a8ebe0216a8fa206d8293c71be6f454325e8ba
8a6f6c4ae9fe3040cd97bbfbfd0385fb0db63458
refs/heads/master
2020-03-28T14:08:24.643584
2019-08-01T02:25:31
2019-08-01T02:25:31
148,460,127
0
0
null
null
null
null
GB18030
C++
false
false
1,000
h
/* * ------------------------------------------------------------------------ * Name: FSWPostRadialBlur.h * Desc: 本文件定义了一个径向模糊渲染效果。 * Author: Yish * Date: 2013/5/9 * ---------------------------------------------------------------------- * CopyRight (C) YishSoft. All right Observed. * ------------------------------------------------------------------------ */ #ifndef __FSW_POSTRADIALBLUR_H__ #define __FSW_POSTRADIALBLUR_H__ //// HEADERS OF THIS FILE ///////////////////////////////////////////////// #include "FSWPostEffect.h" /////////////////////////////////////////////////////////////////////////// /** 径向模糊渲染效果 */ class FSWPostRadialBlur : public FSWPostEffect { public: FSWPostRadialBlur(FSWSurface* pSurface); virtual ~FSWPostRadialBlur(); void ApplyEffect(); }; /////////////////////////////////////////////////////////////////////////// #endif //#ifndef __FSW_POSTRADIALBLUR_H__
[ "yish0000@foxmail.com" ]
yish0000@foxmail.com
720f087408444bd2071653f3648cedb15c15ae95
6630d2fbbf2b9634190deea9c3f9a51e401d4023
/include/llfio/v2.0/detail/impl/windows/map_handle.ipp
86ac7cf32eede1c1c601f7cbf0a385684aec5427
[ "BSL-1.0", "Apache-2.0" ]
permissive
19317362/llfio
12139316ee4c30c86b8a83b344849c3067ae303b
f966f8c1d5d3128caca484e21acd478540b9f08a
refs/heads/master
2020-09-20T06:11:12.831077
2019-11-19T00:00:13
2019-11-19T00:00:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
31,783
ipp
/* A handle to a source of mapped memory (C) 2016-2017 Niall Douglas <http://www.nedproductions.biz/> (17 commits) File Created: August 2016 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License in the accompanying file Licence.txt or at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Distributed under the Boost Software License, Version 1.0. (See accompanying file Licence.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #include "../../../map_handle.hpp" #include "../../../utils.hpp" #include "import.hpp" #include "quickcpplib/algorithm/hash.hpp" #include "quickcpplib/signal_guard.hpp" LLFIO_V2_NAMESPACE_BEGIN section_handle::~section_handle() { if(_v) { auto ret = section_handle::close(); if(ret.has_error()) { LLFIO_LOG_FATAL(_v.h, "section_handle::~section_handle() close failed"); abort(); } } } result<void> section_handle::close() noexcept { LLFIO_LOG_FUNCTION_CALL(this); if(_v) { #ifndef NDEBUG // Tell handle::close() that we have correctly executed _v.behaviour |= native_handle_type::disposition::_child_close_executed; #endif OUTCOME_TRYV(handle::close()); OUTCOME_TRYV(_anonymous.close()); _flag = flag::none; } return success(); } result<section_handle> section_handle::section(file_handle &backing, extent_type maximum_size, flag _flag) noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; result<section_handle> ret(section_handle(native_handle_type(), &backing, file_handle(), _flag)); native_handle_type &nativeh = ret.value()._v; ULONG prot = 0, attribs = 0; if(_flag & flag::read) { nativeh.behaviour |= native_handle_type::disposition::readable; } if(_flag & flag::write) { nativeh.behaviour |= native_handle_type::disposition::writable; } if(_flag & flag::execute) { } if(!!(_flag & flag::cow) && !!(_flag & flag::execute)) { prot = PAGE_EXECUTE_WRITECOPY; } else if(_flag & flag::execute) { prot = PAGE_EXECUTE; } else if(_flag & flag::cow) { prot = PAGE_WRITECOPY; } else if(_flag & flag::write) { prot = PAGE_READWRITE; } else { prot = PAGE_READONLY; // PAGE_NOACCESS is refused, so this is the next best } attribs = SEC_COMMIT; if(_flag & flag::executable) { attribs = SEC_IMAGE; } if(_flag & flag::prefault) { // Handled during view mapping below } if(!(_flag & section_handle::flag::nvram)) { // Windows supports large pages, and no larger if((_flag & section_handle::flag::page_sizes_3) == section_handle::flag::page_sizes_3) { return errc::invalid_argument; } else if((_flag & section_handle::flag::page_sizes_2) == section_handle::flag::page_sizes_2) { return errc::invalid_argument; } else if((_flag & section_handle::flag::page_sizes_1) == section_handle::flag::page_sizes_1) { attribs |= SEC_LARGE_PAGES; } } nativeh.behaviour |= native_handle_type::disposition::section; OBJECT_ATTRIBUTES oa{}, *poa = nullptr; UNICODE_STRING _path{}; static wchar_t *buffer = []() -> wchar_t * { static wchar_t buffer_[96] = L"\\Sessions\\0\\BaseNamedObjects\\"; DWORD sessionid = 0; if(ProcessIdToSessionId(GetCurrentProcessId(), &sessionid) != 0) { wsprintf(buffer_, L"\\Sessions\\%u\\BaseNamedObjects\\", sessionid); } return buffer_; }(); static wchar_t *bufferid = wcschr(buffer, 0); if(_flag & flag::singleton) { OUTCOME_TRY(currentpath, backing.current_path()); auto hash = QUICKCPPLIB_NAMESPACE::algorithm::hash::fast_hash::hash(reinterpret_cast<const char *>(currentpath.native().data()), currentpath.native().size() * sizeof(wchar_t)); auto *_buffer = reinterpret_cast<char *>(bufferid); QUICKCPPLIB_NAMESPACE::algorithm::string::to_hex_string(_buffer, 96 * sizeof(wchar_t), reinterpret_cast<const char *>(hash.as_bytes), sizeof(hash.as_bytes)); for(size_t n = 31; n <= 31; n--) { bufferid[n] = _buffer[n]; } bufferid[32] = 0; _path.Buffer = buffer; _path.MaximumLength = (_path.Length = static_cast<USHORT>((32 + bufferid - buffer) * sizeof(wchar_t))) + sizeof(wchar_t); memset(&oa, 0, sizeof(oa)); oa.Length = sizeof(OBJECT_ATTRIBUTES); oa.ObjectName = &_path; oa.Attributes = 0x80 /*OBJ_OPENIF*/; poa = &oa; } LARGE_INTEGER _maximum_size{}, *pmaximum_size = &_maximum_size; if(maximum_size > 0) { _maximum_size.QuadPart = maximum_size; } else { pmaximum_size = nullptr; } LLFIO_LOG_FUNCTION_CALL(&ret); HANDLE h; NTSTATUS ntstat = NtCreateSection(&h, SECTION_ALL_ACCESS, poa, pmaximum_size, prot, attribs, backing.native_handle().h); if(ntstat < 0) { return ntkernel_error(ntstat); } nativeh.h = h; return ret; } result<section_handle> section_handle::section(extent_type bytes, const path_handle &dirh, flag _flag) noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; OUTCOME_TRY(_anonh, file_handle::temp_inode(dirh)); OUTCOME_TRYV(_anonh.truncate(bytes)); result<section_handle> ret(section_handle(native_handle_type(), nullptr, std::move(_anonh), _flag)); native_handle_type &nativeh = ret.value()._v; file_handle &anonh = ret.value()._anonymous; ULONG prot = 0, attribs = 0; if(_flag & flag::read) { nativeh.behaviour |= native_handle_type::disposition::readable; } if(_flag & flag::write) { nativeh.behaviour |= native_handle_type::disposition::writable; } if(_flag & flag::execute) { } if(!!(_flag & flag::cow) && !!(_flag & flag::execute)) { prot = PAGE_EXECUTE_WRITECOPY; } else if(_flag & flag::execute) { prot = PAGE_EXECUTE; } else if(_flag & flag::cow) { prot = PAGE_WRITECOPY; } else if(_flag & flag::write) { prot = PAGE_READWRITE; } else { prot = PAGE_READONLY; // PAGE_NOACCESS is refused, so this is the next best } attribs = SEC_COMMIT; // On Windows, asking for inaccessible memory from the swap file almost certainly // means the user is intending to change permissions later, so reserve read/write // memory of the size requested if(!_flag) { attribs = SEC_RESERVE; prot = PAGE_READWRITE; } if(_flag & flag::executable) { attribs = SEC_IMAGE; } if(_flag & flag::prefault) { // Handled during view mapping below } if(!(_flag & section_handle::flag::nvram)) { // Windows supports large pages, and no larger if((_flag & section_handle::flag::page_sizes_3) == section_handle::flag::page_sizes_3) { return errc::invalid_argument; } else if((_flag & section_handle::flag::page_sizes_2) == section_handle::flag::page_sizes_2) { return errc::invalid_argument; } else if((_flag & section_handle::flag::page_sizes_1) == section_handle::flag::page_sizes_1) { attribs |= SEC_LARGE_PAGES; } } nativeh.behaviour |= native_handle_type::disposition::section; LARGE_INTEGER _maximum_size{}, *pmaximum_size = &_maximum_size; _maximum_size.QuadPart = bytes; LLFIO_LOG_FUNCTION_CALL(&ret); HANDLE h; NTSTATUS ntstat = NtCreateSection(&h, SECTION_ALL_ACCESS, nullptr, pmaximum_size, prot, attribs, anonh.native_handle().h); if(ntstat < 0) { return ntkernel_error(ntstat); } nativeh.h = h; return ret; } result<section_handle::extent_type> section_handle::length() const noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; LLFIO_LOG_FUNCTION_CALL(this); SECTION_BASIC_INFORMATION sbi{}; NTSTATUS ntstat = NtQuerySection(_v.h, SectionBasicInformation, &sbi, sizeof(sbi), nullptr); if(STATUS_SUCCESS != ntstat) { return ntkernel_error(ntstat); } return sbi.MaximumSize.QuadPart; } result<section_handle::extent_type> section_handle::truncate(extent_type newsize) noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; LLFIO_LOG_FUNCTION_CALL(this); if(newsize == 0u) { if(_backing != nullptr) { OUTCOME_TRY(length, _backing->maximum_extent()); newsize = length; } else { return errc::invalid_argument; } } LARGE_INTEGER _maximum_size{}; _maximum_size.QuadPart = newsize; NTSTATUS ntstat = NtExtendSection(_v.h, &_maximum_size); if(STATUS_SUCCESS != ntstat) { return ntkernel_error(ntstat); } return newsize; } /******************************************* map_handle *********************************************/ template <class T> static inline T win32_round_up_to_allocation_size(T i) noexcept { // Should we fetch the allocation granularity from Windows? I very much doubt it'll ever change from 64Kb i = (T)((LLFIO_V2_NAMESPACE::detail::unsigned_integer_cast<uintptr_t>(i) + 65535) & ~(65535)); // NOLINT return i; } static inline result<void> win32_map_flags(native_handle_type &nativeh, DWORD &allocation, DWORD &prot, size_t &commitsize, bool enable_reservation, section_handle::flag _flag) { prot = PAGE_NOACCESS; if(enable_reservation && ((_flag & section_handle::flag::nocommit) || (_flag == section_handle::flag::none))) { allocation = MEM_RESERVE; prot = PAGE_NOACCESS; commitsize = 0; } if(_flag & section_handle::flag::cow) { prot = PAGE_WRITECOPY; nativeh.behaviour |= native_handle_type::disposition::seekable | native_handle_type::disposition::readable | native_handle_type::disposition::writable; } else if(_flag & section_handle::flag::write) { prot = PAGE_READWRITE; nativeh.behaviour |= native_handle_type::disposition::seekable | native_handle_type::disposition::readable | native_handle_type::disposition::writable; } else if(_flag & section_handle::flag::read) { prot = PAGE_READONLY; nativeh.behaviour |= native_handle_type::disposition::seekable | native_handle_type::disposition::readable; } if(!!(_flag & section_handle::flag::cow) && !!(_flag & section_handle::flag::execute)) { prot = PAGE_EXECUTE_WRITECOPY; } else if(_flag & section_handle::flag::execute) { prot = PAGE_EXECUTE; } if(!(_flag & section_handle::flag::nvram)) { // Windows supports large pages, and no larger if((_flag & section_handle::flag::page_sizes_3) == section_handle::flag::page_sizes_3) { return errc::invalid_argument; } else if((_flag & section_handle::flag::page_sizes_2) == section_handle::flag::page_sizes_2) { return errc::invalid_argument; } else if((_flag & section_handle::flag::page_sizes_1) == section_handle::flag::page_sizes_1) { // Windows does not permit address reservation with large pages if(_flag & section_handle::flag::nocommit) { return errc::invalid_argument; } // Windows seems to require MEM_RESERVE with large pages allocation |= MEM_RESERVE | MEM_LARGE_PAGES; } } return success(); } QUICKCPPLIB_BITFIELD_BEGIN(win32_map_sought){committed = 1U << 0U, freed = 1U << 1U, reserved = 1U << 2U} QUICKCPPLIB_BITFIELD_END(win32_map_sought) // Used to apply an operation to all maps within a region template <class F> static inline result<void> win32_maps_apply(byte *addr, size_t bytes, win32_map_sought sought, F &&f) { /* Ok, so we have to be super careful here, because calling VirtualQuery() somewhere in the middle of a region causes a linear scan until the beginning or end of the region is found. For a reservation of say 2^42, that takes a LONG time. What we do instead is to query the current block, perform F on it, then query it again to get the next point of change, query that, perhaps perform F on it, and so on. This causes twice the number of VirtualQuery() calls as ought to be necessary, but such is this API's design. */ MEMORY_BASIC_INFORMATION mbi; while(bytes > 0) { if(!VirtualQuery(addr, &mbi, sizeof(mbi))) { LLFIO_LOG_FATAL(nullptr, "map_handle::win32_maps_apply VirtualQuery() 1 failed"); abort(); } bool doit = false; doit = doit || ((MEM_COMMIT == mbi.State) && (sought & win32_map_sought::committed)); doit = doit || ((MEM_FREE == mbi.State) && (sought & win32_map_sought::freed)); doit = doit || ((MEM_RESERVE == mbi.State) && (sought & win32_map_sought::reserved)); if(doit) { OUTCOME_TRYV(f(reinterpret_cast<byte *>(mbi.BaseAddress), mbi.RegionSize)); } if(!VirtualQuery(addr, &mbi, sizeof(mbi))) { LLFIO_LOG_FATAL(nullptr, "map_handle::win32_maps_apply VirtualQuery() 2 failed"); abort(); } addr += mbi.RegionSize; if(mbi.RegionSize < bytes) { bytes -= mbi.RegionSize; } else { bytes = 0; } } return success(); } // Only for memory allocated with VirtualAlloc. We can special case decommitting or releasing // memory because NtFreeVirtualMemory() tells us how much it freed. static inline result<void> win32_release_allocations(byte *addr, size_t bytes, ULONG op) { windows_nt_kernel::init(); using namespace windows_nt_kernel; while(bytes > 0) { VOID *regionbase = addr; SIZE_T regionsize = (op == MEM_RELEASE) ? 0 : bytes; NTSTATUS ntstat = NtFreeVirtualMemory(GetCurrentProcess(), &regionbase, &regionsize, op); if(ntstat < 0) { return ntkernel_error(ntstat); } addr += regionsize; assert(regionsize <= bytes); bytes -= regionsize; } return success(); } map_handle::~map_handle() { if(_v) { // Unmap the view auto ret = map_handle::close(); if(ret.has_error()) { LLFIO_LOG_FATAL(_v.h, "map_handle::~map_handle() close failed"); abort(); } } } result<void> map_handle::close() noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; LLFIO_LOG_FUNCTION_CALL(this); if(_addr != nullptr) { if(_section != nullptr) { if(is_writable() && (_flag & section_handle::flag::barrier_on_close)) { OUTCOME_TRYV(barrier({}, barrier_kind::wait_all)); } OUTCOME_TRYV(win32_maps_apply(_addr, _reservation, win32_map_sought::committed, [](byte *addr, size_t /* unused */) -> result<void> { NTSTATUS ntstat = NtUnmapViewOfSection(GetCurrentProcess(), addr); if(ntstat < 0) { return ntkernel_error(ntstat); } return success(); })); } else { OUTCOME_TRYV(win32_release_allocations(_addr, _reservation, MEM_RELEASE)); } } // We don't want ~handle() to close our borrowed handle _v = native_handle_type(); _addr = nullptr; _length = 0; return success(); } native_handle_type map_handle::release() noexcept { LLFIO_LOG_FUNCTION_CALL(this); // We don't want ~handle() to close our borrowed handle _v = native_handle_type(); _addr = nullptr; _length = 0; return {}; } map_handle::io_result<map_handle::const_buffers_type> map_handle::barrier(map_handle::io_request<map_handle::const_buffers_type> reqs, barrier_kind kind, deadline d) noexcept { LLFIO_LOG_FUNCTION_CALL(this); byte *addr = _addr + reqs.offset; extent_type bytes = 0; // Check for overflow for(const auto &req : reqs.buffers) { if(bytes + req.size() < bytes) { return errc::value_too_large; } bytes += req.size(); } // bytes = 0 means flush entire mapping if(bytes == 0) { bytes = _reservation - reqs.offset; } // If nvram and not syncing metadata, use lightweight barrier if((kind == barrier_kind::nowait_data_only || kind == barrier_kind::wait_data_only) && is_nvram()) { auto synced = nvram_barrier({addr, bytes}); if(synced.size() >= bytes) { return {reqs.buffers}; } } OUTCOME_TRYV(win32_maps_apply(addr, bytes, win32_map_sought::committed, [](byte *addr, size_t bytes) -> result<void> { if(FlushViewOfFile(addr, static_cast<SIZE_T>(bytes)) == 0) { return win32_error(); } return success(); })); if((_section != nullptr) && (_section->backing() != nullptr) && kind != barrier_kind::nowait_data_only) { reqs.offset += _offset; return _section->backing()->barrier(reqs, kind, d); } return {reqs.buffers}; } result<map_handle> map_handle::map(size_type bytes, bool /*unused*/, section_handle::flag _flag) noexcept { // TODO: Keep a cache of DiscardVirtualMemory()/MEM_RESET pages deallocated result<map_handle> ret(map_handle(nullptr, _flag)); native_handle_type &nativeh = ret.value()._v; DWORD allocation = MEM_RESERVE | MEM_COMMIT, prot; PVOID addr = nullptr; OUTCOME_TRY(pagesize, detail::pagesize_from_flags(ret.value()._flag)); bytes = utils::round_up_to_page_size(bytes, pagesize); { size_t commitsize; OUTCOME_TRY(win32_map_flags(nativeh, allocation, prot, commitsize, true, ret.value()._flag)); } LLFIO_LOG_FUNCTION_CALL(&ret); addr = VirtualAlloc(nullptr, bytes, allocation, prot); if(addr == nullptr) { return win32_error(); } ret.value()._addr = static_cast<byte *>(addr); ret.value()._reservation = bytes; ret.value()._length = bytes; ret.value()._pagesize = pagesize; // Windows has no way of getting the kernel to prefault maps on creation, so ... if(_flag & section_handle::flag::prefault) { using namespace windows_nt_kernel; // Start an asynchronous prefetch buffer_type b{static_cast<byte *>(addr), bytes}; (void) prefetch(span<buffer_type>(&b, 1)); // If this kernel doesn't support that API, manually poke every page in the new map if(PrefetchVirtualMemory_ == nullptr) { volatile auto *a = static_cast<volatile char *>(addr); for(size_t n = 0; n < bytes; n += pagesize) { a[n]; } } } return ret; } result<map_handle> map_handle::map(section_handle &section, size_type bytes, extent_type offset, section_handle::flag _flag) noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; result<map_handle> ret{map_handle(&section, _flag)}; native_handle_type &nativeh = ret.value()._v; ULONG allocation = 0, prot; PVOID addr = nullptr; size_t commitsize = bytes; LARGE_INTEGER _offset{}; _offset.QuadPart = offset; OUTCOME_TRY(pagesize, detail::pagesize_from_flags(ret.value()._flag)); SIZE_T _bytes = utils::round_up_to_page_size(bytes, pagesize); OUTCOME_TRY(win32_map_flags(nativeh, allocation, prot, commitsize, section.backing() != nullptr, ret.value()._flag)); LLFIO_LOG_FUNCTION_CALL(&ret); NTSTATUS ntstat = NtMapViewOfSection(section.native_handle().h, GetCurrentProcess(), &addr, 0, commitsize, &_offset, &_bytes, ViewUnmap, allocation, prot); if(ntstat < 0) { return ntkernel_error(ntstat); } ret.value()._addr = static_cast<byte *>(addr); ret.value()._offset = offset; ret.value()._reservation = _bytes; ret.value()._length = section.length().value() - offset; ret.value()._pagesize = pagesize; // Make my handle borrow the native handle of my backing storage ret.value()._v.h = section.backing_native_handle().h; // Windows has no way of getting the kernel to prefault maps on creation, so ... if(ret.value()._flag & section_handle::flag::prefault) { // Start an asynchronous prefetch buffer_type b{static_cast<byte *>(addr), _bytes}; (void) prefetch(span<buffer_type>(&b, 1)); // If this kernel doesn't support that API, manually poke every page in the new map if(PrefetchVirtualMemory_ == nullptr) { volatile auto *a = static_cast<volatile char *>(addr); for(size_t n = 0; n < _bytes; n += pagesize) { a[n]; } } } return ret; } result<map_handle::size_type> map_handle::truncate(size_type newsize, bool /* unused */) noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; LLFIO_LOG_FUNCTION_CALL(this); newsize = utils::round_up_to_page_size(newsize, _pagesize); if(newsize == _reservation) { return success(); } // Is this VirtualAlloc() allocated memory? if(_section == nullptr) { if(newsize == 0) { OUTCOME_TRYV(win32_release_allocations(_addr, _reservation, MEM_RELEASE)); _addr = nullptr; _reservation = 0; _length = 0; return success(); } if(newsize < _reservation) { // VirtualAlloc doesn't let us shrink regions, only free the whole thing. So if he tries // to free any part of a region, it'll fail. OUTCOME_TRYV(win32_release_allocations(_addr + newsize, _reservation - newsize, MEM_RELEASE)); _reservation = _length = newsize; return _reservation; } // Try to allocate another region directly after this one native_handle_type nativeh; DWORD allocation = MEM_RESERVE | MEM_COMMIT, prot; size_t commitsize; OUTCOME_TRY(win32_map_flags(nativeh, allocation, prot, commitsize, true, _flag)); if(!VirtualAlloc(_addr + _reservation, newsize - _reservation, allocation, prot)) { return win32_error(); } _reservation = _length = newsize; return _reservation; } // So this must be file backed memory. Totally different APIs for that :) OUTCOME_TRY(length, _section->length()); // length of the backing file if(newsize < _reservation) { // If newsize isn't exactly a previous extension, this will fail, same as for the VirtualAlloc case OUTCOME_TRYV(win32_maps_apply(_addr + newsize, _reservation - newsize, win32_map_sought::committed, [](byte *addr, size_t /* unused */) -> result<void> { NTSTATUS ntstat = NtUnmapViewOfSection(GetCurrentProcess(), addr); if(ntstat < 0) { return ntkernel_error(ntstat); } return success(); })); _reservation = newsize; _length = (length - _offset < newsize) ? (length - _offset) : newsize; // length of backing, not reservation return _reservation; } // Try to map an additional part of the section directly after this map ULONG allocation = MEM_RESERVE, prot; PVOID addr = _addr + _reservation; size_t commitsize = newsize - _reservation; LARGE_INTEGER offset{}; offset.QuadPart = _offset + _reservation; SIZE_T _bytes = newsize - _reservation; native_handle_type nativeh; OUTCOME_TRY(win32_map_flags(nativeh, allocation, prot, commitsize, _section->backing() != nullptr, _flag)); NTSTATUS ntstat = NtMapViewOfSection(_section->native_handle().h, GetCurrentProcess(), &addr, 0, commitsize, &offset, &_bytes, ViewUnmap, allocation, prot); if(ntstat < 0) { return ntkernel_error(ntstat); } _reservation += _bytes; _length = (length - _offset < newsize) ? (length - _offset) : newsize; // length of backing, not reservation return _reservation; } result<map_handle::buffer_type> map_handle::commit(buffer_type region, section_handle::flag flag) noexcept { LLFIO_LOG_FUNCTION_CALL(this); if(region.data() == nullptr) { return errc::invalid_argument; } DWORD prot = 0; if(flag == section_handle::flag::none) { OUTCOME_TRYV(win32_maps_apply(region.data(), region.size(), win32_map_sought::committed, [](byte *addr, size_t bytes) -> result<void> { DWORD _ = 0; if(VirtualProtect(addr, bytes, PAGE_NOACCESS, &_) == 0) { return win32_error(); } return success(); })); return region; } if(flag & section_handle::flag::cow) { prot = PAGE_WRITECOPY; } else if(flag & section_handle::flag::write) { prot = PAGE_READWRITE; } else if(flag & section_handle::flag::read) { prot = PAGE_READONLY; } if(flag & section_handle::flag::execute) { prot = PAGE_EXECUTE; } region = utils::round_to_page_size(region, _pagesize); OUTCOME_TRYV(win32_maps_apply(region.data(), region.size(), win32_map_sought::committed | win32_map_sought::freed | win32_map_sought::reserved, [prot](byte *addr, size_t bytes) -> result<void> { if(VirtualAlloc(addr, bytes, MEM_COMMIT, prot) == nullptr) { return win32_error(); } return success(); })); return region; } result<map_handle::buffer_type> map_handle::decommit(buffer_type region) noexcept { LLFIO_LOG_FUNCTION_CALL(this); if(region.data() == nullptr) { return errc::invalid_argument; } region = utils::round_to_page_size(region, _pagesize); OUTCOME_TRYV(win32_maps_apply(region.data(), region.size(), win32_map_sought::committed, [](byte *addr, size_t bytes) -> result<void> { if(VirtualFree(addr, bytes, MEM_DECOMMIT) == 0) { return win32_error(); } return success(); })); return region; } result<void> map_handle::zero_memory(buffer_type region) noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; LLFIO_LOG_FUNCTION_CALL(this); if(region.data() == nullptr) { return errc::invalid_argument; } // Alas, zero() will not work on mapped views on Windows :(, so memset to zero and call discard if available memset(region.data(), 0, region.size()); if(region.size() >= utils::page_size()) { region = utils::round_to_page_size(region, _pagesize); if(region.size() > 0) { OUTCOME_TRYV(win32_maps_apply(region.data(), region.size(), win32_map_sought::committed, [](byte *addr, size_t bytes) -> result<void> { if(DiscardVirtualMemory_ != nullptr) { if(DiscardVirtualMemory_(addr, bytes) == 0) { // It seems DiscardVirtualMemory() behaves like VirtualUnlock() sometimes. if(ERROR_NOT_LOCKED != GetLastError()) { return win32_error(); } } } else { // This will always fail, but has the side effect of discarding the pages anyway. if(VirtualUnlock(addr, bytes) == 0) { if(ERROR_NOT_LOCKED != GetLastError()) { return win32_error(); } } } return success(); })); } } return success(); } result<span<map_handle::buffer_type>> map_handle::prefetch(span<buffer_type> regions) noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; LLFIO_LOG_FUNCTION_CALL(0); if(PrefetchVirtualMemory_ == nullptr) { return span<map_handle::buffer_type>(); } auto wmre = reinterpret_cast<PWIN32_MEMORY_RANGE_ENTRY>(regions.data()); if(PrefetchVirtualMemory_(GetCurrentProcess(), regions.size(), wmre, 0) == 0) { return win32_error(); } return regions; } result<map_handle::buffer_type> map_handle::do_not_store(buffer_type region) noexcept { windows_nt_kernel::init(); using namespace windows_nt_kernel; LLFIO_LOG_FUNCTION_CALL(0); region = utils::round_to_page_size(region, _pagesize); if(region.data() == nullptr) { return errc::invalid_argument; } // Windows does not support throwing away dirty pages on file backed maps if((_section == nullptr) || (_section->backing() == nullptr)) { // Win8's DiscardVirtualMemory is much faster if it's available if(DiscardVirtualMemory_ != nullptr) { OUTCOME_TRYV(win32_maps_apply(region.data(), region.size(), win32_map_sought::committed, [](byte *addr, size_t bytes) -> result<void> { if(DiscardVirtualMemory_(addr, bytes) == 0) { if(ERROR_NOT_LOCKED != GetLastError()) { return win32_error(); } } return success(); })); return region; } // Else VirtualUnlock will do OUTCOME_TRYV(win32_maps_apply(region.data(), region.size(), win32_map_sought::committed, [](byte *addr, size_t bytes) -> result<void> { // This will always fail, but has the side effect of discarding the pages anyway. if(VirtualUnlock(addr, bytes) == 0) { if(ERROR_NOT_LOCKED != GetLastError()) { return win32_error(); } } return success(); })); return region; } // We did nothing region = {region.data(), 0}; return region; } map_handle::io_result<map_handle::buffers_type> map_handle::read(io_request<buffers_type> reqs, deadline /*d*/) noexcept { LLFIO_LOG_FUNCTION_CALL(this); byte *addr = _addr + reqs.offset; size_type togo = reqs.offset < _length ? static_cast<size_type>(_length - reqs.offset) : 0; for(size_t i = 0; i < reqs.buffers.size(); i++) { buffer_type &req = reqs.buffers[i]; req = {addr, req.size()}; if(req.size() > togo) { req = {req.data(), togo}; reqs.buffers = {reqs.buffers.data(), i + 1}; break; } addr += req.size(); togo -= req.size(); } return reqs.buffers; } map_handle::io_result<map_handle::const_buffers_type> map_handle::write(io_request<const_buffers_type> reqs, deadline /*d*/) noexcept { LLFIO_LOG_FUNCTION_CALL(this); byte *addr = _addr + reqs.offset; size_type togo = reqs.offset < _length ? static_cast<size_type>(_length - reqs.offset) : 0; if(QUICKCPPLIB_NAMESPACE::signal_guard::signal_guard(QUICKCPPLIB_NAMESPACE::signal_guard::signalc_set::undefined_memory_access, [&] { for(size_t i = 0; i < reqs.buffers.size(); i++) { const_buffer_type &req = reqs.buffers[i]; if(req.size() > togo) { memcpy(addr, req.data(), togo); req = {addr, togo}; reqs.buffers = {reqs.buffers.data(), i + 1}; return false; } else { memcpy(addr, req.data(), req.size()); req = {addr, req.size()}; addr += req.size(); togo -= req.size(); } } return false; }, [&](const QUICKCPPLIB_NAMESPACE::signal_guard::raised_signal_info *info) { auto *causingaddr = (byte *) info->addr; if(causingaddr < _addr || causingaddr >= (_addr + _length)) { // Not caused by this map thrd_raise_signal(info->signo, info->raw_info, info->raw_context); } return true; })) { return errc::no_space_on_device; } return reqs.buffers; } LLFIO_V2_NAMESPACE_END
[ "spamtrap@nedprod.com" ]
spamtrap@nedprod.com
e24441d991534e49a91ca1910a7e274c9406b16c
cae63dae21561c4f39481278390f565ec5c419ec
/c++11/bibliotecas c++ c++11/aula81 cctype.cpp
9988968ee61e604f74e7c88ba60cd30c7bf272a6
[]
no_license
HRsniper/CPP
d48f16159c5439febbf3bce8eb1445320704b251
86e5928292a05df6c332558c0b8240a66ae3aeee
refs/heads/main
2023-08-22T17:57:16.941360
2021-10-16T19:02:29
2021-10-16T19:02:29
308,703,801
1
0
null
null
null
null
UTF-8
C++
false
false
883
cpp
#include <iostream> #include <cctype> using namespace std; int main(){ //container de string char str[]=">> 1hr-sniper <<"; int i=0; while (str[i]){ if (isdigit(str[i])){ cout << "cara.: " << str[i] << " alfabetico " << endl; } else{ cout << "cara.: " << str[i] << " nao alfabetico " << endl; } i++; //putchar(toupper(H)); } system("pause"); return 0; } /* isalnum > verifica se e alfanumericos quase igual isalpha isalpha > verifica se e alfabetico quase igual isalnum isspace > verifica se e espaco iscntrl > verifica se e controle /n isdigit > verifica se e digito numerico islower > verifica se e minusculo isprint > verifica se e char imprimivel /n ispunct > verifica se e pontuaçao . , ? isupper > verifica se e maiusculo isxdigit > verifica se e hexdecimal tolower > converte todo para minusculo toupper > converte todo para maiusculo */
[ "63937242+HRsniper@users.noreply.github.com" ]
63937242+HRsniper@users.noreply.github.com
76ee6a36b4ec7a43e72e89c1021cec3284884705
7ce91a98ae434dbb48099699b0b6bcaa705ba693
/TestModule/HK1/Users/20133107/BAI1.cpp
c5198bffb26c15765ace64f1ce58d18d386428aa
[]
no_license
ngthvan1612/OJCore
ea2e33c1310c71f9375f7c5cd0a7944b53a1d6bd
3ec0752a56c6335967e5bb4c0617f876caabecd8
refs/heads/master
2023-04-25T19:41:17.050412
2021-05-12T05:29:40
2021-05-12T05:29:40
357,612,534
0
0
null
null
null
null
UTF-8
C++
false
false
1,211
cpp
#include <stdio.h> void nhap(int&x, int &y, int&z, int &t, int &u, int &v); void xuly(int x, int y, int z, int t, int u, int v); int main () { int x,y,z,t,u,v; nhap(x,y,z,t,u,v); xuly(x,y,z,t,u,v); return 0; } void nhap(int&x, int &y, int&z, int &t, int &u, int &v) { scanf("%d%d%d%d%d%d",&x,&y,&z,&t,&u,&v); } void xuly(int x, int y, int z, int t, int u, int v) { int A = 0; int B = 0; int C = 0; if((x == 1 && y == 1)|| (x == 2 && y == 2) || (x==3 && y==3)) { A = A+1; B = B+1; } if((x== 1 && y == 3) || (x == 2 && y == 1)||(x == 3 && y == 2)) { A = A+3; B= B+0; } if((x == 1 && y== 2) || ( x == 2 && y == 3)) { A= A+0; B = B+3; } if((z == 1 && t == 1)|| (z == 2 && t == 2) || (z==3 && t==3)) { A = A+1; C = C+1; } if((z== 1 && t == 3) || (z == 2 && t == 1)||(z == 3 && t == 2)) { A = A+3; C= C+0; } if((z == 1 && t== 2) || ( z == 2 && t == 3)) { B= B+0; C = C+3; } if((u == 1 && v == 1)|| (u == 2 && v == 2) || (u==3 && v==3)) { B = B+1; C = C+1; } if((u== 1 && v == 3) || (u == 2 && v == 1)||(u == 3 && v == 2)) { B = B+3; C= C+0; } if((u == 1 && v== 2) || ( u == 2 && v == 3)) { B= B+0; C = C+3; } printf("%d %d %d",A,B,C); }
[ "Nguyen Van@DESKTOP-8HI58DE" ]
Nguyen Van@DESKTOP-8HI58DE
167cf45ba83f670994053fe3b950fac1563e37e6
de8b2b4ae3fa277174386cbb8e0b62037ec104e1
/PostExperimentForm.h
589169d7d3448cc79fa92055f3abc07c03fae5d6
[]
no_license
MicrosystemsLab/HAWK
5a6b00f9bc444d8d21c22bc87edfba8fea548955
82d40f35215c3291bb30e30126a2414d76b447ae
refs/heads/master
2021-06-05T07:52:16.578591
2015-08-07T21:25:29
2015-08-07T21:25:29
27,103,597
0
0
null
null
null
null
UTF-8
C++
false
false
3,662
h
/* PostExperimentForm.h * -------------------- * Component and event code for the windows form that collects * post experiment notes from the user. * * Created by John Whitworth on 8/26/14. * Copyright 2015 Eileen Mazzochette, et al <emazz86@stanford.edu> */ #pragma once #include <msclr/marshal.h> #include <msclr/marshal_cppstd.h> #include "Experiment.h" namespace BehaviorRig20 { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace msclr::interop; /// <summary> /// Summary for PostExperimentForm /// </summary> public ref class PostExperimentForm : public System::Windows::Forms::Form { public: PostExperimentForm(Experiment* exp) { InitializeComponent(); this->experiment = exp; } protected: /// <summary> /// Clean up any resources being used. /// </summary> ~PostExperimentForm() { if (components) { delete components; } } private: Experiment* experiment; private: System::Windows::Forms::TextBox^ postExpNotesTextBox; private: System::Windows::Forms::Button^ okButton; private: /// <summary> /// Required designer variable. /// </summary> System::ComponentModel::Container ^components; #pragma region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> void InitializeComponent(void) { this->postExpNotesTextBox = (gcnew System::Windows::Forms::TextBox()); this->okButton = (gcnew System::Windows::Forms::Button()); this->SuspendLayout(); // // postExpNotesTextBox // this->postExpNotesTextBox->Location = System::Drawing::Point(12, 12); this->postExpNotesTextBox->Multiline = true; this->postExpNotesTextBox->Name = L"postExpNotesTextBox"; this->postExpNotesTextBox->Size = System::Drawing::Size(260, 119); this->postExpNotesTextBox->TabIndex = 10; // // okButton // this->okButton->Location = System::Drawing::Point(197, 137); this->okButton->Name = L"okButton"; this->okButton->Size = System::Drawing::Size(75, 23); this->okButton->TabIndex = 11; this->okButton->Text = L"OK"; this->okButton->UseVisualStyleBackColor = true; this->okButton->Click += gcnew System::EventHandler(this, &PostExperimentForm::okButton_Click); // // PostExperimentForm // this->AutoScaleDimensions = System::Drawing::SizeF(6, 13); this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font; this->ClientSize = System::Drawing::Size(284, 166); this->ControlBox = false; this->Controls->Add(this->okButton); this->Controls->Add(this->postExpNotesTextBox); this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog; this->MaximizeBox = false; this->MinimizeBox = false; this->Name = L"PostExperimentForm"; this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen; this->Text = L"Post Experiment Notes"; this->ResumeLayout(false); this->PerformLayout(); } #pragma endregion private: /* Function: okButton_Click * ------------------------ * Click event handler for okButton. Submits the user's notes to the experiment * and closes the form. */ System::Void okButton_Click(System::Object^ sender, System::EventArgs^ e) { marshal_context^ context = gcnew marshal_context(); experiment->postExpNotes = context->marshal_as<string>(postExpNotesTextBox->Text); this->DialogResult = Windows::Forms::DialogResult::OK; this->Close(); } }; }
[ "emazzochette@gmail.com" ]
emazzochette@gmail.com
a46cf7040b186ef78cd3e744e01f2c9ae2b32b15
c657529436b28a646c7bae3d53e26aa52c9b2a2b
/CSGOSimple/valve_sdk/misc/UtlBuffer.cpp
bbf11bcba29cfe50cb43ba1bbc24ac97c7f13ca1
[ "MIT" ]
permissive
dfsffdsafs/csgo_selfleak
27498b426a692f8b01ffd873e000b0c56100f0c5
15ddc0f7488e8d1eb2d6464e715ea2b43a3c05a1
refs/heads/master
2022-03-24T02:13:19.748893
2019-11-06T13:42:03
2019-11-06T13:42:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
48,921
cpp
#pragma warning (disable : 4514) #include "UtlBuffer.hpp" #include <stdio.h> #include <stdarg.h> #include <ctype.h> #include <stdlib.h> #include <limits.h> #include "characterset.hpp" const char* V_strnchr(const char* pStr, char c, int n) { char const* pLetter = pStr; char const* pLast = pStr + n; // Check the entire string while((pLetter < pLast) && (*pLetter != 0)) { if(*pLetter == c) { return pLetter; } ++pLetter; } return NULL; } //----------------------------------------------------------------------------- // Finds a string in another string with a case insensitive test w/ length validation //----------------------------------------------------------------------------- char const* V_strnistr(char const* pStr, char const* pSearch, int n) { if(!pStr || !pSearch) { return 0; } char const* pLetter = pStr; // Check the entire string while(*pLetter != 0) { if(n <= 0) { return 0; } // Skip over non-matches if(tolower(*pLetter) == tolower(*pSearch)) { int n1 = n - 1; // Check for match char const* pMatch = pLetter + 1; char const* pTest = pSearch + 1; while(*pTest != 0) { if(n1 <= 0) { return 0; } // We've run off the end; don't bother. if(*pMatch == 0) { return 0; } if(tolower(*pMatch) != tolower(*pTest)) { break; } ++pMatch; ++pTest; --n1; } // Found a match! if(*pTest == 0) { return pLetter; } } ++pLetter; --n; } return 0; } //----------------------------------------------------------------------------- // Character conversions for C strings //----------------------------------------------------------------------------- class CUtlCStringConversion : public CUtlCharConversion { public: CUtlCStringConversion(char nEscapeChar, const char* pDelimiter, int nCount, ConversionArray_t* pArray); // Finds a conversion for the passed-in string, returns length virtual char FindConversion(const char* pString, int* pLength); private: char m_pConversion[255]; }; //----------------------------------------------------------------------------- // Character conversions for no-escape sequence strings //----------------------------------------------------------------------------- class CUtlNoEscConversion : public CUtlCharConversion { public: CUtlNoEscConversion(char nEscapeChar, const char* pDelimiter, int nCount, ConversionArray_t* pArray) : CUtlCharConversion(nEscapeChar, pDelimiter, nCount, pArray) { } // Finds a conversion for the passed-in string, returns length virtual char FindConversion(const char* pString, int* pLength) { *pLength = 0; return 0; } }; //----------------------------------------------------------------------------- // List of character conversions //----------------------------------------------------------------------------- BEGIN_CUSTOM_CHAR_CONVERSION(CUtlCStringConversion, s_StringCharConversion, "\"", '\\') { '\n', "n" }, { '\t', "t" }, { '\v', "v" }, { '\b', "b" }, { '\r', "r" }, { '\f', "f" }, { '\a', "a" }, { '\\', "\\" }, { '\?', "\?" }, { '\'', "\'" }, { '\"', "\"" }, END_CUSTOM_CHAR_CONVERSION(CUtlCStringConversion, s_StringCharConversion, "\"", '\\'); CUtlCharConversion* GetCStringCharConversion() { return &s_StringCharConversion; } BEGIN_CUSTOM_CHAR_CONVERSION(CUtlNoEscConversion, s_NoEscConversion, "\"", 0x7F) { 0x7F, "" }, END_CUSTOM_CHAR_CONVERSION(CUtlNoEscConversion, s_NoEscConversion, "\"", 0x7F); CUtlCharConversion* GetNoEscCharConversion() { return &s_NoEscConversion; } //----------------------------------------------------------------------------- // Constructor //----------------------------------------------------------------------------- CUtlCStringConversion::CUtlCStringConversion(char nEscapeChar, const char* pDelimiter, int nCount, ConversionArray_t* pArray) : CUtlCharConversion(nEscapeChar, pDelimiter, nCount, pArray) { memset(m_pConversion, 0x0, sizeof(m_pConversion)); for(int i = 0; i < nCount; ++i) { m_pConversion[pArray[i].m_pReplacementString[0]] = pArray[i].m_nActualChar; } } // Finds a conversion for the passed-in string, returns length char CUtlCStringConversion::FindConversion(const char* pString, int* pLength) { char c = m_pConversion[pString[0]]; *pLength = (c != '\0') ? 1 : 0; return c; } //----------------------------------------------------------------------------- // Constructor //----------------------------------------------------------------------------- CUtlCharConversion::CUtlCharConversion(char nEscapeChar, const char* pDelimiter, int nCount, ConversionArray_t* pArray) { m_nEscapeChar = nEscapeChar; m_pDelimiter = pDelimiter; m_nCount = nCount; m_nDelimiterLength = strlen(pDelimiter); m_nMaxConversionLength = 0; memset(m_pReplacements, 0, sizeof(m_pReplacements)); for(int i = 0; i < nCount; ++i) { m_pList[i] = pArray[i].m_nActualChar; ConversionInfo_t& info = m_pReplacements[m_pList[i]]; assert(info.m_pReplacementString == 0); info.m_pReplacementString = pArray[i].m_pReplacementString; info.m_nLength = strlen(info.m_pReplacementString); if(info.m_nLength > m_nMaxConversionLength) { m_nMaxConversionLength = info.m_nLength; } } } //----------------------------------------------------------------------------- // Escape character + delimiter //----------------------------------------------------------------------------- char CUtlCharConversion::GetEscapeChar() const { return m_nEscapeChar; } const char* CUtlCharConversion::GetDelimiter() const { return m_pDelimiter; } int CUtlCharConversion::GetDelimiterLength() const { return m_nDelimiterLength; } //----------------------------------------------------------------------------- // Constructor //----------------------------------------------------------------------------- const char* CUtlCharConversion::GetConversionString(char c) const { return m_pReplacements[c].m_pReplacementString; } int CUtlCharConversion::GetConversionLength(char c) const { return m_pReplacements[c].m_nLength; } int CUtlCharConversion::MaxConversionLength() const { return m_nMaxConversionLength; } //----------------------------------------------------------------------------- // Finds a conversion for the passed-in string, returns length //----------------------------------------------------------------------------- char CUtlCharConversion::FindConversion(const char* pString, int* pLength) { for(int i = 0; i < m_nCount; ++i) { if(!strcmp(pString, m_pReplacements[m_pList[i]].m_pReplacementString)) { *pLength = m_pReplacements[m_pList[i]].m_nLength; return m_pList[i]; } } *pLength = 0; return '\0'; } //----------------------------------------------------------------------------- // constructors //----------------------------------------------------------------------------- CUtlBuffer::CUtlBuffer(int growSize, int initSize, int nFlags) : m_Memory(growSize, initSize), m_Error(0) { m_Get = 0; m_Put = 0; m_nTab = 0; m_nOffset = 0; m_Flags = (unsigned char)nFlags; if((initSize != 0) && !IsReadOnly()) { m_nMaxPut = -1; AddNullTermination(); } else { m_nMaxPut = 0; } SetOverflowFuncs(&CUtlBuffer::GetOverflow, &CUtlBuffer::PutOverflow); } CUtlBuffer::CUtlBuffer(const void* pBuffer, int nSize, int nFlags) : m_Memory((unsigned char*)pBuffer, nSize), m_Error(0) { assert(nSize != 0); m_Get = 0; m_Put = 0; m_nTab = 0; m_nOffset = 0; m_Flags = (unsigned char)nFlags; if(IsReadOnly()) { m_nMaxPut = nSize; } else { m_nMaxPut = -1; AddNullTermination(); } SetOverflowFuncs(&CUtlBuffer::GetOverflow, &CUtlBuffer::PutOverflow); } //----------------------------------------------------------------------------- // Modifies the buffer to be binary or text; Blows away the buffer and the CONTAINS_CRLF value. //----------------------------------------------------------------------------- void CUtlBuffer::SetBufferType(bool bIsText, bool bContainsCRLF) { #ifdef _DEBUG // If the buffer is empty, there is no opportunity for this stuff to fail if(TellMaxPut() != 0) { if(IsText()) { if(bIsText) { assert(ContainsCRLF() == bContainsCRLF); } else { assert(ContainsCRLF()); } } else { if(bIsText) { assert(bContainsCRLF); } } } #endif if(bIsText) { m_Flags |= TEXT_BUFFER; } else { m_Flags &= ~TEXT_BUFFER; } if(bContainsCRLF) { m_Flags |= CONTAINS_CRLF; } else { m_Flags &= ~CONTAINS_CRLF; } } //----------------------------------------------------------------------------- // Attaches the buffer to external memory.... //----------------------------------------------------------------------------- void CUtlBuffer::SetExternalBuffer(void* pMemory, int nSize, int nInitialPut, int nFlags) { m_Memory.SetExternalBuffer((unsigned char*)pMemory, nSize); // Reset all indices; we just changed memory m_Get = 0; m_Put = nInitialPut; m_nTab = 0; m_Error = 0; m_nOffset = 0; m_Flags = (unsigned char)nFlags; m_nMaxPut = -1; AddNullTermination(); } //----------------------------------------------------------------------------- // Assumes an external buffer but manages its deletion //----------------------------------------------------------------------------- void CUtlBuffer::AssumeMemory(void* pMemory, int nSize, int nInitialPut, int nFlags) { m_Memory.AssumeMemory((unsigned char*)pMemory, nSize); // Reset all indices; we just changed memory m_Get = 0; m_Put = nInitialPut; m_nTab = 0; m_Error = 0; m_nOffset = 0; m_Flags = (unsigned char)nFlags; m_nMaxPut = -1; AddNullTermination(); } //----------------------------------------------------------------------------- // Makes sure we've got at least this much memory //----------------------------------------------------------------------------- void CUtlBuffer::EnsureCapacity(int num) { // Add one extra for the null termination num += 1; if(m_Memory.IsExternallyAllocated()) { if(IsGrowable() && (m_Memory.NumAllocated() < num)) { m_Memory.ConvertToGrowableMemory(0); } else { num -= 1; } } m_Memory.EnsureCapacity(num); } //----------------------------------------------------------------------------- // Base Get method from which all others derive //----------------------------------------------------------------------------- void CUtlBuffer::Get(void* pMem, int size) { if(CheckGet(size)) { memcpy(pMem, &m_Memory[m_Get - m_nOffset], size); m_Get += size; } } //----------------------------------------------------------------------------- // This will Get at least 1 uint8_t and up to nSize bytes. // It will return the number of bytes actually read. //----------------------------------------------------------------------------- int CUtlBuffer::GetUpTo(void* pMem, int nSize) { if(CheckArbitraryPeekGet(0, nSize)) { memcpy(pMem, &m_Memory[m_Get - m_nOffset], nSize); m_Get += nSize; return nSize; } return 0; } //----------------------------------------------------------------------------- // Eats whitespace //----------------------------------------------------------------------------- void CUtlBuffer::EatWhiteSpace() { if(IsText() && IsValid()) { while(CheckGet(sizeof(char))) { if(!isspace(*(const unsigned char*)PeekGet())) { break; } m_Get += sizeof(char); } } } //----------------------------------------------------------------------------- // Eats C++ style comments //----------------------------------------------------------------------------- bool CUtlBuffer::EatCPPComment() { if(IsText() && IsValid()) { // If we don't have a a c++ style comment next, we're done const char* pPeek = (const char*)PeekGet(2 * sizeof(char), 0); if(!pPeek || (pPeek[0] != '/') || (pPeek[1] != '/')) { return false; } // Deal with c++ style comments m_Get += 2; // read complete line for(char c = GetChar(); IsValid(); c = GetChar()) { if(c == '\n') { break; } } return true; } return false; } //----------------------------------------------------------------------------- // Peeks how much whitespace to eat //----------------------------------------------------------------------------- int CUtlBuffer::PeekWhiteSpace(int nOffset) { if(!IsText() || !IsValid()) { return 0; } while(CheckPeekGet(nOffset, sizeof(char))) { if(!isspace(*(unsigned char*)PeekGet(nOffset))) { break; } nOffset += sizeof(char); } return nOffset; } //----------------------------------------------------------------------------- // Peek size of sting to come, check memory bound //----------------------------------------------------------------------------- int CUtlBuffer::PeekStringLength() { if(!IsValid()) { return 0; } // Eat preceeding whitespace int nOffset = 0; if(IsText()) { nOffset = PeekWhiteSpace(nOffset); } int nStartingOffset = nOffset; do { int nPeekAmount = 128; // NOTE: Add 1 for the terminating zero! if(!CheckArbitraryPeekGet(nOffset, nPeekAmount)) { if(nOffset == nStartingOffset) { return 0; } return nOffset - nStartingOffset + 1; } const char* pTest = (const char*)PeekGet(nOffset); if(!IsText()) { for(int i = 0; i < nPeekAmount; ++i) { // The +1 here is so we eat the terminating 0 if(pTest[i] == 0) { return (i + nOffset - nStartingOffset + 1); } } } else { for(int i = 0; i < nPeekAmount; ++i) { // The +1 here is so we eat the terminating 0 if(isspace((unsigned char)pTest[i]) || (pTest[i] == 0)) { return (i + nOffset - nStartingOffset + 1); } } } nOffset += nPeekAmount; } while(true); } //----------------------------------------------------------------------------- // Peek size of line to come, check memory bound //----------------------------------------------------------------------------- int CUtlBuffer::PeekLineLength() { if(!IsValid()) { return 0; } int nOffset = 0; int nStartingOffset = nOffset; do { int nPeekAmount = 128; // NOTE: Add 1 for the terminating zero! if(!CheckArbitraryPeekGet(nOffset, nPeekAmount)) { if(nOffset == nStartingOffset) { return 0; } return nOffset - nStartingOffset + 1; } const char* pTest = (const char*)PeekGet(nOffset); for(int i = 0; i < nPeekAmount; ++i) { // The +2 here is so we eat the terminating '\n' and 0 if(pTest[i] == '\n' || pTest[i] == '\r') { return (i + nOffset - nStartingOffset + 2); } // The +1 here is so we eat the terminating 0 if(pTest[i] == 0) { return (i + nOffset - nStartingOffset + 1); } } nOffset += nPeekAmount; } while(true); } //----------------------------------------------------------------------------- // Does the next bytes of the buffer match a pattern? //----------------------------------------------------------------------------- bool CUtlBuffer::PeekStringMatch(int nOffset, const char* pString, int nLen) { if(!CheckPeekGet(nOffset, nLen)) { return false; } return !strncmp((const char*)PeekGet(nOffset), pString, nLen); } //----------------------------------------------------------------------------- // This version of PeekStringLength converts \" to \\ and " to \, etc. // It also reads a " at the beginning and end of the string //----------------------------------------------------------------------------- int CUtlBuffer::PeekDelimitedStringLength(CUtlCharConversion* pConv, bool bActualSize) { if(!IsText() || !pConv) { return PeekStringLength(); } // Eat preceeding whitespace int nOffset = 0; if(IsText()) { nOffset = PeekWhiteSpace(nOffset); } if(!PeekStringMatch(nOffset, pConv->GetDelimiter(), pConv->GetDelimiterLength())) { return 0; } // Try to read ending ", but don't accept \" int nActualStart = nOffset; nOffset += pConv->GetDelimiterLength(); int nLen = 1; // Starts at 1 for the '\0' termination do { if(PeekStringMatch(nOffset, pConv->GetDelimiter(), pConv->GetDelimiterLength())) { break; } if(!CheckPeekGet(nOffset, 1)) { break; } char c = *(const char*)PeekGet(nOffset); ++nLen; ++nOffset; if(c == pConv->GetEscapeChar()) { int nLength = pConv->MaxConversionLength(); if(!CheckArbitraryPeekGet(nOffset, nLength)) { break; } pConv->FindConversion((const char*)PeekGet(nOffset), &nLength); nOffset += nLength; } } while(true); return bActualSize ? nLen : nOffset - nActualStart + pConv->GetDelimiterLength() + 1; } //----------------------------------------------------------------------------- // Reads a null-terminated string //----------------------------------------------------------------------------- void CUtlBuffer::GetString(char* pString, int nMaxChars) { if(!IsValid()) { *pString = 0; return; } if(nMaxChars == 0) { nMaxChars = INT_MAX; } // Remember, this *includes* the null character // It will be 0, however, if the buffer is empty. int nLen = PeekStringLength(); if(IsText()) { EatWhiteSpace(); } if(nLen == 0) { *pString = 0; m_Error |= GET_OVERFLOW; return; } // Strip off the terminating NULL if(nLen <= nMaxChars) { Get(pString, nLen - 1); pString[nLen - 1] = 0; } else { Get(pString, nMaxChars - 1); pString[nMaxChars - 1] = 0; SeekGet(SEEK_CURRENT, nLen - 1 - nMaxChars); } // Read the terminating NULL in binary formats if(!IsText()) { assert(GetChar() == 0); } } //----------------------------------------------------------------------------- // Reads up to and including the first \n //----------------------------------------------------------------------------- void CUtlBuffer::GetLine(char* pLine, int nMaxChars) { assert(IsText() && !ContainsCRLF()); if(!IsValid()) { *pLine = 0; return; } if(nMaxChars == 0) { nMaxChars = INT_MAX; } // Remember, this *includes* the null character // It will be 0, however, if the buffer is empty. int nLen = PeekLineLength(); if(nLen == 0) { *pLine = 0; m_Error |= GET_OVERFLOW; return; } // Strip off the terminating NULL if(nLen <= nMaxChars) { Get(pLine, nLen - 1); pLine[nLen - 1] = 0; } else { Get(pLine, nMaxChars - 1); pLine[nMaxChars - 1] = 0; SeekGet(SEEK_CURRENT, nLen - 1 - nMaxChars); } } //----------------------------------------------------------------------------- // This version of GetString converts \ to \\ and " to \", etc. // It also places " at the beginning and end of the string //----------------------------------------------------------------------------- char CUtlBuffer::GetDelimitedCharInternal(CUtlCharConversion* pConv) { char c = GetChar(); if(c == pConv->GetEscapeChar()) { int nLength = pConv->MaxConversionLength(); if(!CheckArbitraryPeekGet(0, nLength)) { return '\0'; } c = pConv->FindConversion((const char*)PeekGet(), &nLength); SeekGet(SEEK_CURRENT, nLength); } return c; } char CUtlBuffer::GetDelimitedChar(CUtlCharConversion* pConv) { if(!IsText() || !pConv) { return GetChar(); } return GetDelimitedCharInternal(pConv); } void CUtlBuffer::GetDelimitedString(CUtlCharConversion* pConv, char* pString, int nMaxChars) { if(!IsText() || !pConv) { GetString(pString, nMaxChars); return; } if(!IsValid()) { *pString = 0; return; } if(nMaxChars == 0) { nMaxChars = INT_MAX; } EatWhiteSpace(); if(!PeekStringMatch(0, pConv->GetDelimiter(), pConv->GetDelimiterLength())) { return; } // Pull off the starting delimiter SeekGet(SEEK_CURRENT, pConv->GetDelimiterLength()); int nRead = 0; while(IsValid()) { if(PeekStringMatch(0, pConv->GetDelimiter(), pConv->GetDelimiterLength())) { SeekGet(SEEK_CURRENT, pConv->GetDelimiterLength()); break; } char c = GetDelimitedCharInternal(pConv); if(nRead < nMaxChars) { pString[nRead] = c; ++nRead; } } if(nRead >= nMaxChars) { nRead = nMaxChars - 1; } pString[nRead] = '\0'; } //----------------------------------------------------------------------------- // Checks if a Get is ok //----------------------------------------------------------------------------- bool CUtlBuffer::CheckGet(int nSize) { if(m_Error & GET_OVERFLOW) { return false; } if(TellMaxPut() < m_Get + nSize) { m_Error |= GET_OVERFLOW; return false; } if((m_Get < m_nOffset) || (m_Memory.NumAllocated() < m_Get - m_nOffset + nSize)) { if(!OnGetOverflow(nSize)) { m_Error |= GET_OVERFLOW; return false; } } return true; } //----------------------------------------------------------------------------- // Checks if a peek Get is ok //----------------------------------------------------------------------------- bool CUtlBuffer::CheckPeekGet(int nOffset, int nSize) { if(m_Error & GET_OVERFLOW) { return false; } // Checking for peek can't Set the overflow flag bool bOk = CheckGet(nOffset + nSize); m_Error &= ~GET_OVERFLOW; return bOk; } //----------------------------------------------------------------------------- // Call this to peek arbitrarily long into memory. It doesn't fail unless // it can't read *anything* new //----------------------------------------------------------------------------- bool CUtlBuffer::CheckArbitraryPeekGet(int nOffset, int& nIncrement) { if(TellGet() + nOffset >= TellMaxPut()) { nIncrement = 0; return false; } if(TellGet() + nOffset + nIncrement > TellMaxPut()) { nIncrement = TellMaxPut() - TellGet() - nOffset; } // NOTE: CheckPeekGet could modify TellMaxPut for streaming files // We have to call TellMaxPut again here CheckPeekGet(nOffset, nIncrement); int nMaxGet = TellMaxPut() - TellGet(); if(nMaxGet < nIncrement) { nIncrement = nMaxGet; } return (nIncrement != 0); } //----------------------------------------------------------------------------- // Peek part of the butt //----------------------------------------------------------------------------- const void* CUtlBuffer::PeekGet(int nMaxSize, int nOffset) { if(!CheckPeekGet(nOffset, nMaxSize)) { return NULL; } return &m_Memory[m_Get + nOffset - m_nOffset]; } //----------------------------------------------------------------------------- // Change where I'm reading //----------------------------------------------------------------------------- void CUtlBuffer::SeekGet(SeekType_t type, int offset) { switch(type) { case SEEK_HEAD: m_Get = offset; break; case SEEK_CURRENT: m_Get += offset; break; case SEEK_TAIL: m_Get = m_nMaxPut - offset; break; } if(m_Get > m_nMaxPut) { m_Error |= GET_OVERFLOW; } else { m_Error &= ~GET_OVERFLOW; if(m_Get < m_nOffset || m_Get >= m_nOffset + Size()) { OnGetOverflow(-1); } } } //----------------------------------------------------------------------------- // Parse... //----------------------------------------------------------------------------- #pragma warning ( disable : 4706 ) int CUtlBuffer::VaScanf(const char* pFmt, va_list list) { assert(pFmt); if(m_Error || !IsText()) { return 0; } int numScanned = 0; int nLength; char c; char* pEnd; while(c = *pFmt++) { // Stop if we hit the end of the buffer if(m_Get >= TellMaxPut()) { m_Error |= GET_OVERFLOW; break; } switch(c) { case ' ': // eat all whitespace EatWhiteSpace(); break; case '%': { // Conversion character... try to convert baby! char type = *pFmt++; if(type == 0) { return numScanned; } switch(type) { case 'c': { char* ch = va_arg(list, char*); if(CheckPeekGet(0, sizeof(char))) { *ch = *(const char*)PeekGet(); ++m_Get; } else { *ch = 0; return numScanned; } } break; case 'i': case 'd': { int* i = va_arg(list, int*); // NOTE: This is not bullet-proof; it assumes numbers are < 128 characters nLength = 128; if(!CheckArbitraryPeekGet(0, nLength)) { *i = 0; return numScanned; } *i = strtol((char*)PeekGet(), &pEnd, 10); int nBytesRead = (int)(pEnd - (char*)PeekGet()); if(nBytesRead == 0) { return numScanned; } m_Get += nBytesRead; } break; case 'x': { int* i = va_arg(list, int*); // NOTE: This is not bullet-proof; it assumes numbers are < 128 characters nLength = 128; if(!CheckArbitraryPeekGet(0, nLength)) { *i = 0; return numScanned; } *i = strtol((char*)PeekGet(), &pEnd, 16); int nBytesRead = (int)(pEnd - (char*)PeekGet()); if(nBytesRead == 0) { return numScanned; } m_Get += nBytesRead; } break; case 'u': { unsigned int* u = va_arg(list, unsigned int*); // NOTE: This is not bullet-proof; it assumes numbers are < 128 characters nLength = 128; if(!CheckArbitraryPeekGet(0, nLength)) { *u = 0; return numScanned; } *u = strtoul((char*)PeekGet(), &pEnd, 10); int nBytesRead = (int)(pEnd - (char*)PeekGet()); if(nBytesRead == 0) { return numScanned; } m_Get += nBytesRead; } break; case 'f': { float* f = va_arg(list, float*); // NOTE: This is not bullet-proof; it assumes numbers are < 128 characters nLength = 128; if(!CheckArbitraryPeekGet(0, nLength)) { *f = 0.0f; return numScanned; } *f = (float)strtod((char*)PeekGet(), &pEnd); int nBytesRead = (int)(pEnd - (char*)PeekGet()); if(nBytesRead == 0) { return numScanned; } m_Get += nBytesRead; } break; case 's': { char* s = va_arg(list, char*); GetString(s); } break; default: { // unimplemented scanf type assert(0); return numScanned; } break; } ++numScanned; } break; default: { // Here we have to match the format string character // against what's in the buffer or we're done. if(!CheckPeekGet(0, sizeof(char))) { return numScanned; } if(c != *(const char*)PeekGet()) { return numScanned; } ++m_Get; } } } return numScanned; } #pragma warning ( default : 4706 ) int CUtlBuffer::Scanf(const char* pFmt, ...) { va_list args; va_start(args, pFmt); int count = VaScanf(pFmt, args); va_end(args); return count; } //----------------------------------------------------------------------------- // Advance the Get index until after the particular string is found // Do not eat whitespace before starting. Return false if it failed //----------------------------------------------------------------------------- bool CUtlBuffer::GetToken(const char* pToken) { assert(pToken); // Look for the token int nLen = strlen(pToken); int nSizeToCheck = Size() - TellGet() - m_nOffset; int nGet = TellGet(); do { int nMaxSize = TellMaxPut() - TellGet(); if(nMaxSize < nSizeToCheck) { nSizeToCheck = nMaxSize; } if(nLen > nSizeToCheck) { break; } if(!CheckPeekGet(0, nSizeToCheck)) { break; } const char* pBufStart = (const char*)PeekGet(); const char* pFoundEnd = V_strnistr(pBufStart, pToken, nSizeToCheck); if(pFoundEnd) { size_t nOffset = (size_t)pFoundEnd - (size_t)pBufStart; SeekGet(CUtlBuffer::SEEK_CURRENT, nOffset + nLen); return true; } SeekGet(CUtlBuffer::SEEK_CURRENT, nSizeToCheck - nLen - 1); nSizeToCheck = Size() - (nLen - 1); } while(true); SeekGet(CUtlBuffer::SEEK_HEAD, nGet); return false; } //----------------------------------------------------------------------------- // (For text buffers only) // Parse a token from the buffer: // Grab all text that lies between a starting delimiter + ending delimiter // (skipping whitespace that leads + trails both delimiters). // Note the delimiter checks are case-insensitive. // If successful, the Get index is advanced and the function returns true, // otherwise the index is not advanced and the function returns false. //----------------------------------------------------------------------------- bool CUtlBuffer::ParseToken(const char* pStartingDelim, const char* pEndingDelim, char* pString, int nMaxLen) { int nCharsToCopy = 0; int nCurrentGet = 0; size_t nEndingDelimLen; // Starting delimiter is optional char emptyBuf = '\0'; if(!pStartingDelim) { pStartingDelim = &emptyBuf; } // Ending delimiter is not assert(pEndingDelim && pEndingDelim[0]); nEndingDelimLen = strlen(pEndingDelim); int nStartGet = TellGet(); char nCurrChar; int nTokenStart = -1; EatWhiteSpace(); while(*pStartingDelim) { nCurrChar = *pStartingDelim++; if(!isspace((unsigned char)nCurrChar)) { if(tolower(GetChar()) != tolower(nCurrChar)) { goto parseFailed; } } else { EatWhiteSpace(); } } EatWhiteSpace(); nTokenStart = TellGet(); if(!GetToken(pEndingDelim)) { goto parseFailed; } nCurrentGet = TellGet(); nCharsToCopy = (nCurrentGet - nEndingDelimLen) - nTokenStart; if(nCharsToCopy >= nMaxLen) { nCharsToCopy = nMaxLen - 1; } if(nCharsToCopy > 0) { SeekGet(CUtlBuffer::SEEK_HEAD, nTokenStart); Get(pString, nCharsToCopy); if(!IsValid()) { goto parseFailed; } // Eat trailing whitespace for(; nCharsToCopy > 0; --nCharsToCopy) { if(!isspace((unsigned char)pString[nCharsToCopy - 1])) { break; } } } pString[nCharsToCopy] = '\0'; // Advance the Get index SeekGet(CUtlBuffer::SEEK_HEAD, nCurrentGet); return true; parseFailed: // Revert the Get index SeekGet(SEEK_HEAD, nStartGet); pString[0] = '\0'; return false; } //----------------------------------------------------------------------------- // Parses the next token, given a Set of character breaks to stop at //----------------------------------------------------------------------------- int CUtlBuffer::ParseToken(characterset_t* pBreaks, char* pTokenBuf, int nMaxLen, bool bParseComments) { assert(nMaxLen > 0); pTokenBuf[0] = 0; // skip whitespace + comments while(true) { if(!IsValid()) { return -1; } EatWhiteSpace(); if(bParseComments) { if(!EatCPPComment()) { break; } } else { break; } } char c = GetChar(); // End of buffer if(c == 0) { return -1; } // handle quoted strings specially if(c == '\"') { int nLen = 0; while(IsValid()) { c = GetChar(); if(c == '\"' || !c) { pTokenBuf[nLen] = 0; return nLen; } pTokenBuf[nLen] = c; if(++nLen == nMaxLen) { pTokenBuf[nLen - 1] = 0; return nMaxLen; } } // In this case, we hit the end of the buffer before hitting the end qoute pTokenBuf[nLen] = 0; return nLen; } // parse single characters if(IN_CHARACTERSET(*pBreaks, c)) { pTokenBuf[0] = c; pTokenBuf[1] = 0; return 1; } // parse a regular word int nLen = 0; while(true) { pTokenBuf[nLen] = c; if(++nLen == nMaxLen) { pTokenBuf[nLen - 1] = 0; return nMaxLen; } c = GetChar(); if(!IsValid()) { break; } if(IN_CHARACTERSET(*pBreaks, c) || c == '\"' || c <= ' ') { SeekGet(SEEK_CURRENT, -1); break; } } pTokenBuf[nLen] = 0; return nLen; } //----------------------------------------------------------------------------- // Serialization //----------------------------------------------------------------------------- void CUtlBuffer::Put(const void* pMem, int size) { if(size && CheckPut(size)) { memcpy(&m_Memory[m_Put - m_nOffset], pMem, size); m_Put += size; AddNullTermination(); } } //----------------------------------------------------------------------------- // Writes a null-terminated string //----------------------------------------------------------------------------- void CUtlBuffer::PutString(const char* pString) { if(!IsText()) { if(pString) { // Not text? append a null at the end. size_t nLen = strlen(pString) + 1; Put(pString, nLen * sizeof(char)); return; } else { PutTypeBin<char>(0); } } else if(pString) { int nTabCount = (m_Flags & AUTO_TABS_DISABLED) ? 0 : m_nTab; if(nTabCount > 0) { if(WasLastCharacterCR()) { PutTabs(); } const char* pEndl = strchr(pString, '\n'); while(pEndl) { size_t nSize = (size_t)pEndl - (size_t)pString + sizeof(char); Put(pString, nSize); pString = pEndl + 1; if(*pString) { PutTabs(); pEndl = strchr(pString, '\n'); } else { pEndl = NULL; } } } size_t nLen = strlen(pString); if(nLen) { Put(pString, nLen * sizeof(char)); } } } //----------------------------------------------------------------------------- // This version of PutString converts \ to \\ and " to \", etc. // It also places " at the beginning and end of the string //----------------------------------------------------------------------------- inline void CUtlBuffer::PutDelimitedCharInternal(CUtlCharConversion* pConv, char c) { int l = pConv->GetConversionLength(c); if(l == 0) { PutChar(c); } else { PutChar(pConv->GetEscapeChar()); Put(pConv->GetConversionString(c), l); } } void CUtlBuffer::PutDelimitedChar(CUtlCharConversion* pConv, char c) { if(!IsText() || !pConv) { PutChar(c); return; } PutDelimitedCharInternal(pConv, c); } void CUtlBuffer::PutDelimitedString(CUtlCharConversion* pConv, const char* pString) { if(!IsText() || !pConv) { PutString(pString); return; } if(WasLastCharacterCR()) { PutTabs(); } Put(pConv->GetDelimiter(), pConv->GetDelimiterLength()); int nLen = pString ? strlen(pString) : 0; for(int i = 0; i < nLen; ++i) { PutDelimitedCharInternal(pConv, pString[i]); } if(WasLastCharacterCR()) { PutTabs(); } Put(pConv->GetDelimiter(), pConv->GetDelimiterLength()); } void CUtlBuffer::VaPrintf(const char* pFmt, va_list list) { char temp[2048]; int nLen = vsnprintf(temp, sizeof(temp), pFmt, list); assert(nLen < 2048); PutString(temp); } void CUtlBuffer::Printf(const char* pFmt, ...) { va_list args; va_start(args, pFmt); VaPrintf(pFmt, args); va_end(args); } //----------------------------------------------------------------------------- // Calls the overflow functions //----------------------------------------------------------------------------- void CUtlBuffer::SetOverflowFuncs(UtlBufferOverflowFunc_t getFunc, UtlBufferOverflowFunc_t putFunc) { m_GetOverflowFunc = getFunc; m_PutOverflowFunc = putFunc; } //----------------------------------------------------------------------------- // Calls the overflow functions //----------------------------------------------------------------------------- bool CUtlBuffer::OnPutOverflow(int nSize) { return (this->*m_PutOverflowFunc)(nSize); } bool CUtlBuffer::OnGetOverflow(int nSize) { return (this->*m_GetOverflowFunc)(nSize); } //----------------------------------------------------------------------------- // Checks if a put is ok //----------------------------------------------------------------------------- bool CUtlBuffer::PutOverflow(int nSize) { if(m_Memory.IsExternallyAllocated()) { if(!IsGrowable()) { return false; } m_Memory.ConvertToGrowableMemory(0); } while(Size() < m_Put - m_nOffset + nSize) { m_Memory.Grow(); } return true; } bool CUtlBuffer::GetOverflow(int nSize) { return false; } //----------------------------------------------------------------------------- // Checks if a put is ok //----------------------------------------------------------------------------- bool CUtlBuffer::CheckPut(int nSize) { if((m_Error & PUT_OVERFLOW) || IsReadOnly()) { return false; } if((m_Put < m_nOffset) || (m_Memory.NumAllocated() < m_Put - m_nOffset + nSize)) { if(!OnPutOverflow(nSize)) { m_Error |= PUT_OVERFLOW; return false; } } return true; } void CUtlBuffer::SeekPut(SeekType_t type, int offset) { int nNextPut = m_Put; switch(type) { case SEEK_HEAD: nNextPut = offset; break; case SEEK_CURRENT: nNextPut += offset; break; case SEEK_TAIL: nNextPut = m_nMaxPut - offset; break; } // Force a write of the data // FIXME: We could make this more optimal potentially by writing out // the entire buffer if you seek outside the current range // NOTE: This call will write and will also seek the file to nNextPut. OnPutOverflow(-nNextPut - 1); m_Put = nNextPut; AddNullTermination(); } void CUtlBuffer::ActivateByteSwapping(bool bActivate) { m_Byteswap.ActivateByteSwapping(bActivate); } void CUtlBuffer::SetBigEndian(bool bigEndian) { m_Byteswap.SetTargetBigEndian(bigEndian); } bool CUtlBuffer::IsBigEndian(void) { return m_Byteswap.IsTargetBigEndian(); } //----------------------------------------------------------------------------- // null terminate the buffer //----------------------------------------------------------------------------- void CUtlBuffer::AddNullTermination(void) { if(m_Put > m_nMaxPut) { if(!IsReadOnly() && ((m_Error & PUT_OVERFLOW) == 0)) { // Add null termination value if(CheckPut(1)) { m_Memory[m_Put - m_nOffset] = 0; } else { // Restore the overflow state, it was valid before... m_Error &= ~PUT_OVERFLOW; } } m_nMaxPut = m_Put; } } //----------------------------------------------------------------------------- // Converts a buffer from a CRLF buffer to a CR buffer (and back) // Returns false if no conversion was necessary (and outBuf is left untouched) // If the conversion occurs, outBuf will be cleared. //----------------------------------------------------------------------------- bool CUtlBuffer::ConvertCRLF(CUtlBuffer& outBuf) { if(!IsText() || !outBuf.IsText()) { return false; } if(ContainsCRLF() == outBuf.ContainsCRLF()) { return false; } int nInCount = TellMaxPut(); outBuf.Purge(); outBuf.EnsureCapacity(nInCount); bool bFromCRLF = ContainsCRLF(); // Start reading from the beginning int nGet = TellGet(); int nPut = TellPut(); int nGetDelta = 0; int nPutDelta = 0; const char* pBase = (const char*)Base(); int nCurrGet = 0; while(nCurrGet < nInCount) { const char* pCurr = &pBase[nCurrGet]; if(bFromCRLF) { const char* pNext = V_strnistr(pCurr, "\r\n", nInCount - nCurrGet); if(!pNext) { outBuf.Put(pCurr, nInCount - nCurrGet); break; } int nBytes = (size_t)pNext - (size_t)pCurr; outBuf.Put(pCurr, nBytes); outBuf.PutChar('\n'); nCurrGet += nBytes + 2; if(nGet >= nCurrGet - 1) { --nGetDelta; } if(nPut >= nCurrGet - 1) { --nPutDelta; } } else { const char* pNext = V_strnchr(pCurr, '\n', nInCount - nCurrGet); if(!pNext) { outBuf.Put(pCurr, nInCount - nCurrGet); break; } int nBytes = (size_t)pNext - (size_t)pCurr; outBuf.Put(pCurr, nBytes); outBuf.PutChar('\r'); outBuf.PutChar('\n'); nCurrGet += nBytes + 1; if(nGet >= nCurrGet) { ++nGetDelta; } if(nPut >= nCurrGet) { ++nPutDelta; } } } assert(nPut + nPutDelta <= outBuf.TellMaxPut()); outBuf.SeekGet(SEEK_HEAD, nGet + nGetDelta); outBuf.SeekPut(SEEK_HEAD, nPut + nPutDelta); return true; } //--------------------------------------------------------------------------- // Implementation of CUtlInplaceBuffer //--------------------------------------------------------------------------- CUtlInplaceBuffer::CUtlInplaceBuffer(int growSize /* = 0 */, int initSize /* = 0 */, int nFlags /* = 0 */) : CUtlBuffer(growSize, initSize, nFlags) { NULL; } bool CUtlInplaceBuffer::InplaceGetLinePtr(char** ppszInBufferPtr, int* pnLineLength) { assert(IsText() && !ContainsCRLF()); int nLineLen = PeekLineLength(); if(nLineLen <= 1) { SeekGet(SEEK_TAIL, 0); return false; } --nLineLen; // because it accounts for putting a terminating null-character char* pszLine = (char*) const_cast< void* >(PeekGet()); SeekGet(SEEK_CURRENT, nLineLen); // Set the out args if(ppszInBufferPtr) { *ppszInBufferPtr = pszLine; } if(pnLineLength) { *pnLineLength = nLineLen; } return true; } char* CUtlInplaceBuffer::InplaceGetLinePtr(void) { char* pszLine = NULL; int nLineLen = 0; if(InplaceGetLinePtr(&pszLine, &nLineLen)) { assert(nLineLen >= 1); switch(pszLine[nLineLen - 1]) { case '\n': case '\r': pszLine[nLineLen - 1] = 0; if(--nLineLen) { switch(pszLine[nLineLen - 1]) { case '\n': case '\r': pszLine[nLineLen - 1] = 0; break; } } break; default: assert(pszLine[nLineLen] == 0); break; } } return pszLine; }
[ "tronicbd27@gmail.com" ]
tronicbd27@gmail.com
68b9cac22c7be25bd2690a277976052bb394b82f
7f392835a894ab5a7538c9021bba6a60e37675e4
/contents/monte_carlo_integration/code/c++/monte_carlo.cpp
beff9717015c484de6f747b171d5a76a62c76942
[ "MIT" ]
permissive
algorithm-archivists/algorithm-archivists.github.io
bd11529b097392cf4ccb2752b715f203be8a4f28
51b8a7dd5b6096ed73d72db7e2f18e545f4ecfa1
refs/heads/master
2021-08-29T09:09:02.651459
2021-08-16T03:31:20
2021-08-16T03:31:20
131,343,221
7
9
MIT
2020-06-26T04:16:44
2018-04-27T20:44:42
HTML
UTF-8
C++
false
false
1,252
cpp
#include <iostream> #include <cstdlib> #include <random> constexpr double PI = 3.14159265358979323846264338; /** * Check if the point (x, y) is within a circle of a given radius. * @param x coordinate one * @param y coordinate two * @param r radius of the circle (optional) * @return true if (x, y) is within the circle. */ inline bool in_circle(double x, double y, double r = 1) { return x * x + y * y < r * r; } /** * Return an estimate of PI using Monte Carlo integration. * @param samples number of iterations to use * @return estimate of pi */ double monte_carlo_pi(unsigned samples) { static std::default_random_engine generator; static std::uniform_real_distribution<double> dist(0, 1); unsigned count = 0; for (unsigned i = 0; i < samples; ++i) { double x = dist(generator); double y = dist(generator); if (in_circle(x, y)) ++count; } return 4.0 * count / samples; } int main() { unsigned samples; std::cout << "Enter samples to use: "; std::cin >> samples; double pi_estimate = monte_carlo_pi(samples); std::cout << "Pi = " << pi_estimate << '\n'; std::cout << "Percent error is: " << 100 * std::abs(pi_estimate - PI) / PI << " %\n"; }
[ "travis@example.org" ]
travis@example.org
b9aff7029cc0c2e211d820a9ddb5cdce0e9f8c4a
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_5712.cpp
d70e8207f8272fb8fbcaee8727082b39100031fc
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
653
cpp
{ int j; i = pointer[length-2]; j = pointer[length-1]; if(i != CURL_IAC || j != CURL_SE) { infof(data, "(terminated by "); if(CURL_TELOPT_OK(i)) infof(data, "%s ", CURL_TELOPT(i)); else if(CURL_TELCMD_OK(i)) infof(data, "%s ", CURL_TELCMD(i)); else infof(data, "%u ", i); if(CURL_TELOPT_OK(j)) infof(data, "%s", CURL_TELOPT(j)); else if(CURL_TELCMD_OK(j)) infof(data, "%s", CURL_TELCMD(j)); else infof(data, "%d", j); infof(data, ", not IAC SE!) "); } }
[ "993273596@qq.com" ]
993273596@qq.com
55719b563b9c4c1e7efd56732651c43e78a138e9
53f3f38eac3ed44f23f8f58d34aa8bd89555eaef
/src/msvc1/include/AutoGemmKernelSources/cgemm_Col_NN_B1_MX096_NL096_KX08_src.cpp
b19f782e4cf7a55a348369319bfb12e744dbaf41
[ "Apache-2.0" ]
permissive
gajgeospatial/clBLAS-1.10
16039ddfad67b6c26a00767f33911e7c6fe374dc
2f5f1347e814e23b93262cd6fa92ec1d228963ac
refs/heads/master
2022-06-27T09:08:34.399452
2020-05-12T16:50:46
2020-05-12T16:50:46
263,172,549
0
0
null
null
null
null
UTF-8
C++
false
false
14,533
cpp
/******************************************************************************* * This file was auto-generated using the AutoGemm.py python script. * DO NOT modify this file! Instead, make changes to scripts in * clBLAS/src/library/blas/AutoGemm/ then re-generate files * (otherwise local changes will be lost after re-generation). ******************************************************************************/ #ifndef KERNEL_CGEMM_COL_NN_B1_MX096_NL096_KX08_SRC_H #define KERNEL_CGEMM_COL_NN_B1_MX096_NL096_KX08_SRC_H const unsigned int cgemm_Col_NN_B1_MX096_NL096_KX08_workGroupNumRows = 16; const unsigned int cgemm_Col_NN_B1_MX096_NL096_KX08_workGroupNumCols = 16; const unsigned int cgemm_Col_NN_B1_MX096_NL096_KX08_microTileNumRows = 6; const unsigned int cgemm_Col_NN_B1_MX096_NL096_KX08_microTileNumCols = 6; const unsigned int cgemm_Col_NN_B1_MX096_NL096_KX08_unroll = 8; const char * const cgemm_Col_NN_B1_MX096_NL096_KX08_src ="\n" "/* cgemm_Col_NN_B1_MX096_NL096_KX08 */\n" "\n" "/* kernel parameters */\n" "#define WG_NUM_ROWS 16\n" "#define WG_NUM_COLS 16\n" "#define MICRO_TILE_NUM_ROWS 6\n" "#define MICRO_TILE_NUM_COLS 6\n" "#define MACRO_TILE_NUM_ROWS 96\n" "#define MACRO_TILE_NUM_COLS 96\n" "#define NUM_UNROLL_ITER 8\n" "\n" "#define LOCAL_ROW_PAD 0\n" "#define LOCAL_COL_PAD 0\n" "\n" "/* global memory indices */\n" "#define GET_GLOBAL_INDEX_A(ROW,COL) ((COL)*lda+(ROW))\n" "#define GET_GLOBAL_INDEX_B(ROW,COL) ((COL)*ldb+(ROW))\n" "#define GET_GLOBAL_INDEX_C(ROW,COL) ((COL)*ldc+(ROW))\n" "\n" "/* local memory indices */\n" "#define GET_LOCAL_INDEX_A(ROW,COL) ((ROW) + (COL)*((MACRO_TILE_NUM_ROWS)+(LOCAL_COL_PAD)) )\n" "#define GET_LOCAL_INDEX_B(ROW,COL) ((COL) + (ROW)*((MACRO_TILE_NUM_COLS)+(LOCAL_ROW_PAD)) )\n" "\n" "/* data types */\n" "#define DATA_TYPE_STR float2\n" "#define TYPE_MAD(MULA,MULB,DST) \\\n" " DST.s0 = mad( MULA.s0, MULB.s0, DST.s0 ); \\\n" " DST.s0 = mad( -MULA.s1, MULB.s1, DST.s0 ); \\\n" " DST.s1 = mad( MULA.s0, MULB.s1, DST.s1 ); \\\n" " DST.s1 = mad( MULA.s1, MULB.s0, DST.s1 );\n" "#define TYPE_MAD_WRITE( DST, ALPHA, REG, BETA ) \\\n" " /* (1) */ \\\n" " type_mad_tmp = REG.s0; \\\n" " REG.s0 *= ALPHA.s0; \\\n" " REG.s0 = mad( -ALPHA.s1, REG.s1, REG.s0 ); \\\n" " REG.s1 *= ALPHA.s0; \\\n" " REG.s1 = mad( ALPHA.s1, type_mad_tmp, REG.s1 ); \\\n" " /* (2) */ \\\n" " REG.s0 = mad( BETA.s0, DST.s0, REG.s0 ); \\\n" " REG.s0 = mad( -BETA.s1, DST.s1, REG.s0 ); \\\n" " REG.s1 = mad( BETA.s1, DST.s0, REG.s1 ); \\\n" " REG.s1 = mad( BETA.s0, DST.s1, REG.s1 ); \\\n" " /* (3) */ \\\n" " DST = REG;\n" "\n" "/* 6x6 micro-tile */\n" "#define MICRO_TILE \\\n" " rA[0] = localA[offA + 0*WG_NUM_ROWS]; \\\n" " rA[1] = localA[offA + 1*WG_NUM_ROWS]; \\\n" " rA[2] = localA[offA + 2*WG_NUM_ROWS]; \\\n" " rA[3] = localA[offA + 3*WG_NUM_ROWS]; \\\n" " rA[4] = localA[offA + 4*WG_NUM_ROWS]; \\\n" " rA[5] = localA[offA + 5*WG_NUM_ROWS]; \\\n" " rB[0] = localB[offB + 0*WG_NUM_COLS]; \\\n" " rB[1] = localB[offB + 1*WG_NUM_COLS]; \\\n" " rB[2] = localB[offB + 2*WG_NUM_COLS]; \\\n" " rB[3] = localB[offB + 3*WG_NUM_COLS]; \\\n" " rB[4] = localB[offB + 4*WG_NUM_COLS]; \\\n" " rB[5] = localB[offB + 5*WG_NUM_COLS]; \\\n" " offA += (MACRO_TILE_NUM_ROWS+LOCAL_COL_PAD); \\\n" " offB += (MACRO_TILE_NUM_COLS+LOCAL_ROW_PAD); \\\n" " TYPE_MAD(rA[0],rB[0],rC[0][0]); \\\n" " TYPE_MAD(rA[0],rB[1],rC[0][1]); \\\n" " TYPE_MAD(rA[0],rB[2],rC[0][2]); \\\n" " TYPE_MAD(rA[0],rB[3],rC[0][3]); \\\n" " TYPE_MAD(rA[0],rB[4],rC[0][4]); \\\n" " TYPE_MAD(rA[0],rB[5],rC[0][5]); \\\n" " TYPE_MAD(rA[1],rB[0],rC[1][0]); \\\n" " TYPE_MAD(rA[1],rB[1],rC[1][1]); \\\n" " TYPE_MAD(rA[1],rB[2],rC[1][2]); \\\n" " TYPE_MAD(rA[1],rB[3],rC[1][3]); \\\n" " TYPE_MAD(rA[1],rB[4],rC[1][4]); \\\n" " TYPE_MAD(rA[1],rB[5],rC[1][5]); \\\n" " TYPE_MAD(rA[2],rB[0],rC[2][0]); \\\n" " TYPE_MAD(rA[2],rB[1],rC[2][1]); \\\n" " TYPE_MAD(rA[2],rB[2],rC[2][2]); \\\n" " TYPE_MAD(rA[2],rB[3],rC[2][3]); \\\n" " TYPE_MAD(rA[2],rB[4],rC[2][4]); \\\n" " TYPE_MAD(rA[2],rB[5],rC[2][5]); \\\n" " TYPE_MAD(rA[3],rB[0],rC[3][0]); \\\n" " TYPE_MAD(rA[3],rB[1],rC[3][1]); \\\n" " TYPE_MAD(rA[3],rB[2],rC[3][2]); \\\n" " TYPE_MAD(rA[3],rB[3],rC[3][3]); \\\n" " TYPE_MAD(rA[3],rB[4],rC[3][4]); \\\n" " TYPE_MAD(rA[3],rB[5],rC[3][5]); \\\n" " TYPE_MAD(rA[4],rB[0],rC[4][0]); \\\n" " TYPE_MAD(rA[4],rB[1],rC[4][1]); \\\n" " TYPE_MAD(rA[4],rB[2],rC[4][2]); \\\n" " TYPE_MAD(rA[4],rB[3],rC[4][3]); \\\n" " TYPE_MAD(rA[4],rB[4],rC[4][4]); \\\n" " TYPE_MAD(rA[4],rB[5],rC[4][5]); \\\n" " TYPE_MAD(rA[5],rB[0],rC[5][0]); \\\n" " TYPE_MAD(rA[5],rB[1],rC[5][1]); \\\n" " TYPE_MAD(rA[5],rB[2],rC[5][2]); \\\n" " TYPE_MAD(rA[5],rB[3],rC[5][3]); \\\n" " TYPE_MAD(rA[5],rB[4],rC[5][4]); \\\n" " TYPE_MAD(rA[5],rB[5],rC[5][5]); \\\n" " mem_fence(CLK_LOCAL_MEM_FENCE);\n" "\n" "__attribute__((reqd_work_group_size(WG_NUM_COLS,WG_NUM_ROWS,1)))\n" "__kernel void cgemm_Col_NN_B1_MX096_NL096_KX08(\n" " __global DATA_TYPE_STR const * restrict A,\n" " __global DATA_TYPE_STR const * restrict B,\n" " __global DATA_TYPE_STR * C,\n" " DATA_TYPE_STR const alpha,\n" " DATA_TYPE_STR const beta,\n" " uint const M,\n" " uint const N,\n" " uint const K,\n" " uint const lda,\n" " uint const ldb,\n" " uint const ldc,\n" " uint const offsetA,\n" " uint const offsetB,\n" " uint const offsetC\n" ") {\n" "\n" " /* apply offsets */\n" " A += offsetA;\n" " B += offsetB;\n" " C += offsetC;\n" "\n" " /* allocate registers */\n" " DATA_TYPE_STR rC[MICRO_TILE_NUM_ROWS][MICRO_TILE_NUM_COLS] = { {0} };\n" " DATA_TYPE_STR rA[MICRO_TILE_NUM_ROWS];\n" " DATA_TYPE_STR rB[MICRO_TILE_NUM_COLS];\n" "\n" " /* allocate local memory */\n" " __local DATA_TYPE_STR localA[NUM_UNROLL_ITER*(MACRO_TILE_NUM_ROWS+LOCAL_COL_PAD)];\n" " __local DATA_TYPE_STR localB[NUM_UNROLL_ITER*(MACRO_TILE_NUM_COLS+LOCAL_ROW_PAD)];\n" "\n" " /* work item indices */\n" " uint groupRow = get_group_id(0);\n" " uint groupCol = N / 96; // last column\n" " uint localRow = get_local_id(0);\n" " uint localCol = get_local_id(1);\n" " uint localSerial = localRow + localCol*WG_NUM_ROWS;\n" "\n" " /* global indices being loaded */\n" "#define globalARow(LID) (groupRow*MACRO_TILE_NUM_ROWS + (localSerial+(LID)*WG_NUM_ROWS*WG_NUM_COLS)%MACRO_TILE_NUM_ROWS)\n" "#define globalACol(LID) ((localSerial+(LID)*WG_NUM_ROWS*WG_NUM_COLS)/MACRO_TILE_NUM_ROWS)\n" "#define globalBRow(LID) ((localSerial+(LID)*WG_NUM_ROWS*WG_NUM_COLS)%NUM_UNROLL_ITER)\n" "#define globalBCol(LID) (groupCol*MACRO_TILE_NUM_COLS + (localSerial+(LID)*WG_NUM_ROWS*WG_NUM_COLS)/NUM_UNROLL_ITER)\n" "\n" " /* loop over k */\n" " uint block_k = K / NUM_UNROLL_ITER;\n" " do {\n" "\n" " /* local indices being written */\n" "#define localARow (localSerial % MACRO_TILE_NUM_ROWS)\n" "#define localACol (localSerial / MACRO_TILE_NUM_ROWS)\n" "#define localAStride (WG_NUM_ROWS*WG_NUM_COLS)\n" "#define localBRow ( localSerial % NUM_UNROLL_ITER )\n" "#define localBCol ( localSerial / NUM_UNROLL_ITER )\n" "#define localBStride (WG_NUM_ROWS*WG_NUM_COLS/NUM_UNROLL_ITER)\n" " __local DATA_TYPE_STR *lA = localA + GET_LOCAL_INDEX_A(localARow, localACol);\n" " __local DATA_TYPE_STR *lB = localB + GET_LOCAL_INDEX_B(localBRow, localBCol);\n" " barrier(CLK_LOCAL_MEM_FENCE);\n" "\n" " /* load global -> local */\n" " lA[ 0*localAStride ] = A[ GET_GLOBAL_INDEX_A( globalARow(0), globalACol(0) ) ];\n" " lA[ 1*localAStride ] = A[ GET_GLOBAL_INDEX_A( globalARow(1), globalACol(1) ) ];\n" " lA[ 2*localAStride ] = A[ GET_GLOBAL_INDEX_A( globalARow(2), globalACol(2) ) ];\n" " lB[ 0*localBStride ] = ( globalBCol(0) >= N) ? (float2)(0.f, 0.f) : B[ GET_GLOBAL_INDEX_B( globalBRow(0), globalBCol(0) ) ];\n" " lB[ 1*localBStride ] = ( globalBCol(1) >= N) ? (float2)(0.f, 0.f) : B[ GET_GLOBAL_INDEX_B( globalBRow(1), globalBCol(1) ) ];\n" " lB[ 2*localBStride ] = ( globalBCol(2) >= N) ? (float2)(0.f, 0.f) : B[ GET_GLOBAL_INDEX_B( globalBRow(2), globalBCol(2) ) ];\n" " barrier(CLK_LOCAL_MEM_FENCE);\n" " uint offA = localRow;\n" " uint offB = localCol;\n" "\n" " /* do mads */\n" " MICRO_TILE\n" " MICRO_TILE\n" " MICRO_TILE\n" " MICRO_TILE\n" " MICRO_TILE\n" " MICRO_TILE\n" " MICRO_TILE\n" " MICRO_TILE\n" "\n" " /* shift to next k block */\n" " A += lda*NUM_UNROLL_ITER;\n" " B += NUM_UNROLL_ITER;\n" "\n" " } while (--block_k > 0);\n" "\n" "\n" " /* which global Cij index */\n" " uint globalCRow = groupRow * MACRO_TILE_NUM_ROWS + localRow;\n" " uint globalCCol = groupCol * MACRO_TILE_NUM_COLS + localCol;\n" "\n" " /* write global Cij */\n" " float type_mad_tmp;\n" " if (globalCCol+0*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+0*WG_NUM_ROWS, globalCCol+0*WG_NUM_COLS) ], alpha, rC[0][0], beta )}\n" " if (globalCCol+1*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+0*WG_NUM_ROWS, globalCCol+1*WG_NUM_COLS) ], alpha, rC[0][1], beta )}\n" " if (globalCCol+2*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+0*WG_NUM_ROWS, globalCCol+2*WG_NUM_COLS) ], alpha, rC[0][2], beta )}\n" " if (globalCCol+3*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+0*WG_NUM_ROWS, globalCCol+3*WG_NUM_COLS) ], alpha, rC[0][3], beta )}\n" " if (globalCCol+4*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+0*WG_NUM_ROWS, globalCCol+4*WG_NUM_COLS) ], alpha, rC[0][4], beta )}\n" " if (globalCCol+5*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+0*WG_NUM_ROWS, globalCCol+5*WG_NUM_COLS) ], alpha, rC[0][5], beta )}\n" " if (globalCCol+0*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+1*WG_NUM_ROWS, globalCCol+0*WG_NUM_COLS) ], alpha, rC[1][0], beta )}\n" " if (globalCCol+1*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+1*WG_NUM_ROWS, globalCCol+1*WG_NUM_COLS) ], alpha, rC[1][1], beta )}\n" " if (globalCCol+2*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+1*WG_NUM_ROWS, globalCCol+2*WG_NUM_COLS) ], alpha, rC[1][2], beta )}\n" " if (globalCCol+3*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+1*WG_NUM_ROWS, globalCCol+3*WG_NUM_COLS) ], alpha, rC[1][3], beta )}\n" " if (globalCCol+4*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+1*WG_NUM_ROWS, globalCCol+4*WG_NUM_COLS) ], alpha, rC[1][4], beta )}\n" " if (globalCCol+5*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+1*WG_NUM_ROWS, globalCCol+5*WG_NUM_COLS) ], alpha, rC[1][5], beta )}\n" " if (globalCCol+0*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+2*WG_NUM_ROWS, globalCCol+0*WG_NUM_COLS) ], alpha, rC[2][0], beta )}\n" " if (globalCCol+1*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+2*WG_NUM_ROWS, globalCCol+1*WG_NUM_COLS) ], alpha, rC[2][1], beta )}\n" " if (globalCCol+2*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+2*WG_NUM_ROWS, globalCCol+2*WG_NUM_COLS) ], alpha, rC[2][2], beta )}\n" " if (globalCCol+3*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+2*WG_NUM_ROWS, globalCCol+3*WG_NUM_COLS) ], alpha, rC[2][3], beta )}\n" " if (globalCCol+4*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+2*WG_NUM_ROWS, globalCCol+4*WG_NUM_COLS) ], alpha, rC[2][4], beta )}\n" " if (globalCCol+5*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+2*WG_NUM_ROWS, globalCCol+5*WG_NUM_COLS) ], alpha, rC[2][5], beta )}\n" " if (globalCCol+0*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+3*WG_NUM_ROWS, globalCCol+0*WG_NUM_COLS) ], alpha, rC[3][0], beta )}\n" " if (globalCCol+1*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+3*WG_NUM_ROWS, globalCCol+1*WG_NUM_COLS) ], alpha, rC[3][1], beta )}\n" " if (globalCCol+2*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+3*WG_NUM_ROWS, globalCCol+2*WG_NUM_COLS) ], alpha, rC[3][2], beta )}\n" " if (globalCCol+3*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+3*WG_NUM_ROWS, globalCCol+3*WG_NUM_COLS) ], alpha, rC[3][3], beta )}\n" " if (globalCCol+4*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+3*WG_NUM_ROWS, globalCCol+4*WG_NUM_COLS) ], alpha, rC[3][4], beta )}\n" " if (globalCCol+5*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+3*WG_NUM_ROWS, globalCCol+5*WG_NUM_COLS) ], alpha, rC[3][5], beta )}\n" " if (globalCCol+0*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+4*WG_NUM_ROWS, globalCCol+0*WG_NUM_COLS) ], alpha, rC[4][0], beta )}\n" " if (globalCCol+1*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+4*WG_NUM_ROWS, globalCCol+1*WG_NUM_COLS) ], alpha, rC[4][1], beta )}\n" " if (globalCCol+2*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+4*WG_NUM_ROWS, globalCCol+2*WG_NUM_COLS) ], alpha, rC[4][2], beta )}\n" " if (globalCCol+3*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+4*WG_NUM_ROWS, globalCCol+3*WG_NUM_COLS) ], alpha, rC[4][3], beta )}\n" " if (globalCCol+4*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+4*WG_NUM_ROWS, globalCCol+4*WG_NUM_COLS) ], alpha, rC[4][4], beta )}\n" " if (globalCCol+5*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+4*WG_NUM_ROWS, globalCCol+5*WG_NUM_COLS) ], alpha, rC[4][5], beta )}\n" " if (globalCCol+0*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+5*WG_NUM_ROWS, globalCCol+0*WG_NUM_COLS) ], alpha, rC[5][0], beta )}\n" " if (globalCCol+1*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+5*WG_NUM_ROWS, globalCCol+1*WG_NUM_COLS) ], alpha, rC[5][1], beta )}\n" " if (globalCCol+2*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+5*WG_NUM_ROWS, globalCCol+2*WG_NUM_COLS) ], alpha, rC[5][2], beta )}\n" " if (globalCCol+3*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+5*WG_NUM_ROWS, globalCCol+3*WG_NUM_COLS) ], alpha, rC[5][3], beta )}\n" " if (globalCCol+4*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+5*WG_NUM_ROWS, globalCCol+4*WG_NUM_COLS) ], alpha, rC[5][4], beta )}\n" " if (globalCCol+5*WG_NUM_COLS < N){ TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+5*WG_NUM_ROWS, globalCCol+5*WG_NUM_COLS) ], alpha, rC[5][5], beta )}\n" "\n" "}\n" ""; #else #endif
[ "glen.johnson@gaj-geospatial.com" ]
glen.johnson@gaj-geospatial.com
062870fe10c8a82ef37cf4102e9280d87bb5b21e
04c4cc99ddcbc20679715351a0ecbcc7207f183c
/pacman/gmoveabl.h
a746c9aa44b346df7b21c6301ff36419d145f22a
[]
no_license
henrymound/CPlusPlus
95b9e35f434e328d4a14f609e1c1a43819f06db3
4fa093308c9f2d4746a921855c7c85cc39ad3e05
refs/heads/master
2021-05-29T05:57:39.063086
2015-05-30T21:07:17
2015-05-30T21:07:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
137
h
#ifndef __gmoveabl_h_ #define __gmoveabl_h_ #include"gdynelem.h" class G_Moveables : public DynamicGraphElement { public: }; #endif
[ "henrymound@gmail.com" ]
henrymound@gmail.com
553d0632fc03f8ec79dfcf435ae67ebc8f5bd77b
db92214392a7f20a8a7c9713cd9e8ba4b2d94c7a
/threadpool/MyThread.cpp
7dac1f01384fc0d4530dcf58c061fd40a616e7b6
[]
no_license
SoftwareKiller/ubuntu
fd2af7be1738bdbdccd38a58c7f17b340f618363
6bf390fc8d8c3efc17a7db3331d5f5405abd05bf
refs/heads/master
2022-01-29T23:26:56.528101
2022-01-11T08:38:03
2022-01-11T08:38:03
137,650,835
1
0
null
2020-12-16T15:21:42
2018-06-17T11:42:35
C++
UTF-8
C++
false
false
906
cpp
#include "MyThread.h" #include "MyThreadPool.h" #include <iostream> int MyThread::s_threadnumber = 0; MyThread::MyThread(MyThreadPool* pool): mythreadpool_(pool), isdetach_(true) { ++s_threadnumber; threadid_ = s_threadnumber; } void MyThread::setisdetach(bool detach) { isdetach_ = detach; } void MyThread::Assign(Task *t) { task_ = t; } void MyThread::Run() { std::cout << "Thread: " << threadid_ << " run "; task_->Run(); mythreadpool_->RemoveThreadFromBusy(this); } int MyThread::getthreadid() { return threadid_; } void MyThread::StartThread() { thread_ = std::thread(&MyThread::Run, this); if(isdetach_) thread_.detach(); else thread_.join(); } bool operator==(MyThread m1, MyThread m2) { return m1.threadid_ == m2.threadid_; } bool operator!=(MyThread m1, MyThread m2) { return !(m1.threadid_ == m2.threadid_); }
[ "378961928@qq.com" ]
378961928@qq.com
f49e571889b9fa96954cbf47c34cf76229325d54
34c5456bb48c86fd5657423b738372a283da6919
/garnet/public/lib/escher/paper/paper_transform_stack.cc
5fb111aa223adde581738ceb953bb38c1f49d5d2
[ "BSD-3-Clause" ]
permissive
yanyushr/fuchsia
75ab66df4158cdcaf515cece0511c73736a23fad
98e70672a81a206d235503e398f37b7b65581f79
refs/heads/master
2022-11-20T03:27:48.996258
2019-04-24T17:25:35
2019-04-24T17:25:35
183,284,990
0
1
BSD-3-Clause
2022-10-28T17:30:27
2019-04-24T18:27:17
C++
UTF-8
C++
false
false
3,501
cc
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "lib/escher/paper/paper_transform_stack.h" #include "lib/escher/geometry/plane_ops.h" #include "lib/escher/util/trace_macros.h" namespace escher { PaperTransformStack::PaperTransformStack() = default; const PaperTransformStack::Item& PaperTransformStack::PushTransform( const mat4& transform) { TRACE_DURATION("gfx", "PaperTransformStack::PushTransform", "stack_size", size(), "num_clip_planes", num_clip_planes()); const auto& cur = Top(); Item item; item.clip_planes.reserve(cur.clip_planes.size()); for (auto& plane : cur.clip_planes) { item.clip_planes.push_back(TransformPlane(transform, plane)); } item.matrix = cur.matrix * transform; stack_.push(std::move(item)); return stack_.top(); } const PaperTransformStack::Item& PaperTransformStack::PushTranslation( const vec3& translation) { TRACE_DURATION("gfx", "PaperTransformStack::PushTranslation", "stack_size", size(), "num_clip_planes", num_clip_planes()); const auto& cur = Top(); Item item; item.clip_planes.reserve(cur.clip_planes.size()); for (auto& plane : cur.clip_planes) { item.clip_planes.push_back(TranslatePlane(translation, plane)); } item.matrix = glm::translate(cur.matrix, translation); stack_.push(std::move(item)); return stack_.top(); } const PaperTransformStack::Item& PaperTransformStack::PushScale(float scale) { TRACE_DURATION("gfx", "PaperTransformStack::PushScale", "stack_size", size(), "num_clip_planes", num_clip_planes()); const auto& cur = Top(); Item item; item.clip_planes.reserve(cur.clip_planes.size()); for (auto& plane : cur.clip_planes) { item.clip_planes.push_back(ScalePlane(scale, plane)); } item.matrix = glm::scale(cur.matrix, vec3(scale, scale, scale)); stack_.push(std::move(item)); return stack_.top(); } const PaperTransformStack::Item& PaperTransformStack::PushIdentity() { stack_.push(Top()); return stack_.top(); } const PaperTransformStack::Item& PaperTransformStack::AddClipPlanes( const plane3* clip_planes, size_t num_clip_planes) { FXL_DCHECK(clip_planes || num_clip_planes == 0); if (!clip_planes) { return Top(); } else if (stack_.empty()) { PushIdentity(); } auto& cur = stack_.top(); cur.clip_planes.reserve(cur.clip_planes.size() + num_clip_planes); for (size_t i = 0; i < num_clip_planes; ++i) { cur.clip_planes.push_back(clip_planes[i]); } return cur; } PaperTransformStack& PaperTransformStack::Pop() { if (!empty()) { stack_.pop(); } return *this; } PaperTransformStack& PaperTransformStack::Clear( std::pair<size_t, size_t> stack_size_and_num_clip_planes) { auto [target_stack_size, target_num_clip_planes] = stack_size_and_num_clip_planes; FXL_DCHECK(stack_.size() >= target_stack_size); while (stack_.size() > target_stack_size) { stack_.pop(); } if (stack_.empty()) { FXL_DCHECK(target_num_clip_planes == 0); } else { auto& clip_planes = stack_.top().clip_planes; FXL_DCHECK(target_num_clip_planes <= clip_planes.size()) << "stack currently has " << clip_planes.size() << " clip-planes, which is fewer than the target: " << target_num_clip_planes << "."; clip_planes.resize(target_num_clip_planes); } return *this; } } // namespace escher
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
209b1adc643883d66d3dd80d7fced68210f79b0e
c6e9e30cb39698c346eb24b3eeef7e3a5c570032
/gnuradio/build_gdb/gr-blocks/lib/vector_sink_i_impl.h
38e9d1450bac2e6059165b6dd4c6f5e7923b3bcc
[]
no_license
Darren2340/local_gnuradio
283ae020e21a64607fd0721f0c54217dccb5655d
db05a74ab64a5dfae6bca70dfcf57019153c64b5
refs/heads/master
2021-01-20T11:25:54.372134
2014-07-14T23:42:55
2014-07-14T23:42:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,675
h
/* -*- c++ -*- */ /* * Copyright 2004,2008,2009,2013 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. * * GNU Radio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GNU Radio; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. */ // WARNING: this file is machine generated. Edits will be overwritten #ifndef INCLUDED_BLOCKS_VECTOR_SINK_I_IMPL_H #define INCLUDED_BLOCKS_VECTOR_SINK_I_IMPL_H #include <gnuradio/blocks/vector_sink_i.h> namespace gr { namespace blocks { class vector_sink_i_impl : public vector_sink_i { private: std::vector<int> d_data; std::vector<tag_t> d_tags; int d_vlen; public: vector_sink_i_impl(int vlen); ~vector_sink_i_impl(); void reset() { d_data.clear(); } std::vector<int> data() const; std::vector<tag_t> tags() const; int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); }; } /* namespace blocks */ } /* namespace gr */ #endif /* INCLUDED_BLOCKS_VECTOR_SINK_I_IMPL_H */
[ "rjmccabe@rockwellcollins.com" ]
rjmccabe@rockwellcollins.com
a54c1b8b770b712b89b8758d403671a89da74ee9
19194c2f2c07ab3537f994acfbf6b34ea9b55ae7
/android-31/android/bluetooth/le/ScanSettings_Builder.hpp
60b8b991e2f715cd95cab5d153f84d354346cd4e
[ "GPL-3.0-only" ]
permissive
YJBeetle/QtAndroidAPI
e372609e9db0f96602da31b8417c9f5972315cae
ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c
refs/heads/Qt6
2023-08-05T03:14:11.842336
2023-07-24T08:35:31
2023-07-24T08:35:31
249,539,770
19
4
Apache-2.0
2022-03-14T12:15:32
2020-03-23T20:42:54
C++
UTF-8
C++
false
false
2,175
hpp
#pragma once #include "./ScanSettings.def.hpp" #include "./ScanSettings_Builder.def.hpp" namespace android::bluetooth::le { // Fields // Constructors inline ScanSettings_Builder::ScanSettings_Builder() : JObject( "android.bluetooth.le.ScanSettings$Builder", "()V" ) {} // Methods inline android::bluetooth::le::ScanSettings ScanSettings_Builder::build() const { return callObjectMethod( "build", "()Landroid/bluetooth/le/ScanSettings;" ); } inline android::bluetooth::le::ScanSettings_Builder ScanSettings_Builder::setCallbackType(jint arg0) const { return callObjectMethod( "setCallbackType", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", arg0 ); } inline android::bluetooth::le::ScanSettings_Builder ScanSettings_Builder::setLegacy(jboolean arg0) const { return callObjectMethod( "setLegacy", "(Z)Landroid/bluetooth/le/ScanSettings$Builder;", arg0 ); } inline android::bluetooth::le::ScanSettings_Builder ScanSettings_Builder::setMatchMode(jint arg0) const { return callObjectMethod( "setMatchMode", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", arg0 ); } inline android::bluetooth::le::ScanSettings_Builder ScanSettings_Builder::setNumOfMatches(jint arg0) const { return callObjectMethod( "setNumOfMatches", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", arg0 ); } inline android::bluetooth::le::ScanSettings_Builder ScanSettings_Builder::setPhy(jint arg0) const { return callObjectMethod( "setPhy", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", arg0 ); } inline android::bluetooth::le::ScanSettings_Builder ScanSettings_Builder::setReportDelay(jlong arg0) const { return callObjectMethod( "setReportDelay", "(J)Landroid/bluetooth/le/ScanSettings$Builder;", arg0 ); } inline android::bluetooth::le::ScanSettings_Builder ScanSettings_Builder::setScanMode(jint arg0) const { return callObjectMethod( "setScanMode", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", arg0 ); } } // namespace android::bluetooth::le // Base class headers #ifdef QT_ANDROID_API_AUTOUSE using namespace android::bluetooth::le; #endif
[ "yjbeetle@gmail.com" ]
yjbeetle@gmail.com
b73b834805b26bfa08238dec55a1c1f2deac5798
2de65abf9f108bab7b0b38667f1dc372a9850047
/src/MimeEditor.cpp
0d9457b15dc7405b48c39b34ab76a02b77aec401
[]
no_license
lukedirtwalker/harbour-mimeeditor
04c575d97259165dbbcf79cb094102fe85f55f1a
1855fe1f2d50ef79a20d4e45a88994dcbcf9349c
refs/heads/master
2020-05-17T15:22:33.308488
2015-05-19T21:11:57
2015-05-19T21:11:57
35,908,659
0
1
null
2015-05-19T21:11:58
2015-05-19T21:09:13
C++
UTF-8
C++
false
false
2,570
cpp
/* Copyright (C) 2013 Jolla Ltd. Contact: Thomas Perl <thomas.perl@jollamobile.com> All rights reserved. You may use this file under the terms of BSD license as follows: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Jolla Ltd nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifdef QT_QML_DEBUG #include <QtQuick> #endif #include <QtQml/qqml.h> #include <QtQml/QQmlContext> #include <QtQuick/QQuickView> #include <QGuiApplication> #include <sailfishapp.h> #include <contentaction.h> #include "mimeloader.h" #include "mimetypemodel.h" int main(int argc, char *argv[]) { QGuiApplication *app = SailfishApp::application(argc, argv); app->setOrganizationName("harbour-mimeeditor"); app->setApplicationName("harbour-mimeeditor"); qmlRegisterUncreatableType<MimetypeModel>("MimeEditor", 1, 0, "MimetypeModel", QLatin1String("Retrieve it from the MimeLoader")); QQuickView *view = SailfishApp::createView(); QScopedPointer<MimeLoader> loader(new MimeLoader()); view->rootContext()->setContextProperty("MimeLoader", loader.data()); view->setSource(SailfishApp::pathTo("qml/MimeEditor.qml")); view->showFullScreen(); return app->exec(); }
[ "lukedirtwalker@gmail.com" ]
lukedirtwalker@gmail.com
3f2f7106653fe1d4d8fad3f1233688f5e1edd5ee
f188da1a6a0c420713b35fb6421ab92804015004
/1084c.cpp
039e57ead042698099ca18f6c303303468c34037
[]
no_license
nimishkapoor/cp_files
4234eedd1035455b1b265a07fd78df104a2cff1f
acf28fa2ec442bbb1c6c4ef198e29d763e23d85d
refs/heads/master
2020-05-30T16:13:24.845973
2019-12-08T20:17:17
2019-12-08T20:17:17
189,840,686
0
0
null
null
null
null
UTF-8
C++
false
false
2,913
cpp
#include<bits/stdc++.h> using namespace std; typedef long long int ll; #define watch(x) cout << (#x) << " is " << (x) << endl #define mod(x, m) ((((x) % (m)) + (m)) % (m)) #define max3(a, b, c) max(a, max(b, c)) #define min3(a, b, c) min(a, min(b, c)) #define gcd __gcd #define nof1 __builtin_popcountll #define nofleading_zerosull __builtin_clzll typedef long long ll; typedef unsigned long long ull; typedef pair<int, int> ii; typedef pair<int, ii> iii; typedef vector<int> vi; typedef vector<ii> vii; typedef vector<iii> viii; typedef vector<long long int> vl; const double pi = 2 * acos(0.0); const int inf = 0x3f3f3f3f;//(ll) 9e18 const double infd = 1.0/0.0; const int MOD=1e9+7; #define pb push_back #define mp make_pair #define fr first #define sc second #define clr(a) memset(a, 0, sizeof(a)) #define all(v) v.begin(), v.end() #define alla(a,n) a, a+n //#define endl "\n" long long power(long long x, long long y,long long MOD) { long long res = 1; x = x % MOD; while (y > 0) { if (y & 1) res = (res*x) % MOD; y = y>>1; x = (x*x) % MOD; } return res; } long long mul(long long a,long long b,long long MOD) { if(b==1) { return a; } if(b%2==0) { return 2*(mul(a,b/2,MOD)%MOD); } else { return (a+(2*(mul(a,b/2,MOD))%MOD))%MOD; } } /*ll ncr[6001][6001]; void nCr(long long MOD) { for(ll i=0;i<=6000;i++) { for(ll k=0;k<=6000;k++) { if(k<=i) { if((k==0)||(k==i)) ncr[i][k]=1; else ncr[i][k]=(ncr[i-1][k-1]+ncr[i-1][k])%MOD; } } } } ll inv[100005]; void mulmodinv(long long MOD) { inv[1]=1; inv[0]=1; for(int i = 2; i <= 100005; i++) inv[i] = inv[MOD % i]*(MOD-MOD / i) % MOD; }*/ bool ispow2(ll n) { if(((n & (n-1)) == 0) && n!=0) { return true; } return false; } bool prime(int x) { if(x==1) { return false; } if(x==2) { return true; } if(x%2==0) { return false; } for(int i=3;i*i<=x;i+=2) { if(x%i==0) { return false; } } return true; } int gcd(int a, int b) { if (b == 0) return a; return gcd(b, a % b); } int coprime(int a, int b) { if(a==b) return 0; if(prime(a) && prime(b)) return 1; if((a==2 && b%2!=0) ||(b==2 && a%2!=0)) return 1; if((a%2!=0 && prime(b) && a<b ) || (b%2!=0 && prime(a) && a>b)) return 1; if(abs(a-b)==1) return 1; if(a==1 || b==1) return 1; return gcd(a,b); } unsigned long long lcm (unsigned a, unsigned b) { return ((unsigned long long) a) * (b / gcd(a, b)); } //====================================================================== int main() { ios_base::sync_with_stdio(0); cin.tie(0); //freopen("input.txt", "r", stdin); //freopen("output.txt", "w", stdout); string s; cin>>s; int ca=0,cb=0; for(int i=0;i<s.size();i++) { if(s[i]=='a') { ca=(ca+cb+1); ca%=MOD; } if(s[i]=='b') { cb=ca; } } cout<<(ca%=MOD)<<endl; return 0; }
[ "nmshkpr@gmail.com" ]
nmshkpr@gmail.com
0fad7a113221eac451d73e3c68a3f3aae01a39cb
cb6f64a717d774d1c6d44943b38602af570da8d8
/HW4/0516022_hw4.cpp
240260c9b5c58e0c248cf2d8dce0c4504ebefe5b
[]
no_license
xuannn1998/OS
071aa41785b54fd8b708408280faa266f5144329
64ae90a8ba25202d5b502f9f578491a15129265d
refs/heads/master
2021-07-08T10:45:11.122331
2019-04-04T15:00:29
2019-04-04T15:00:29
153,733,183
0
0
null
null
null
null
UTF-8
C++
false
false
4,855
cpp
// Student ID: 0516022 // Name : 吳禹璇 // Date : 2018.12.19 #include "bmpReader.h" #include "bmpReader.cpp" #include <stdio.h> #include <iostream> #include <math.h> #include <pthread.h> #include <semaphore.h> using namespace std; #define MYRED 2 #define MYGREEN 1 #define MYBLUE 0 int imgWidth, imgHeight; int MEAN_FILTER_SIZE=9; int SOBEL_FILTER_SIZE; int FILTER_SCALE; int *filter_gx, *filter_gy; sem_t *tmp; const char *inputfile_name[5] = { "input1.bmp", "input2.bmp", "input3.bmp", "input4.bmp", "input5.bmp" }; const char *outputMed_name[5] = { "output1.bmp", "output2.bmp", "output3.bmp", "output4.bmp", "output5.bmp" }; unsigned char *pic_in, *pic_grey, *pic_mean, *pic_final; void * apply_mean(void * ) { //apply the Mean filter to the image for (int j = 0; j < imgHeight; ++j) { for (int i = 0; i < imgWidth; ++i) { int tmp6 = 0; int a, b , window[9],k=0,sum=0; int ws = (int)sqrt((float)MEAN_FILTER_SIZE); for (int jj = 0; jj<ws; ++jj) for (int ii = 0; ii<ws; ++ii) { a = i + ii - (ws / 2); b = j + jj - (ws / 2); // detect for borders of the image if (a<0 || b<0 || a>=imgWidth || b>=imgHeight)continue; sum=sum+pic_grey[b*imgWidth + a]; } tmp6=sum/MEAN_FILTER_SIZE; if (tmp6 < 0) tmp6 = 0; if (tmp6 > 255) tmp6 = 255; pic_mean[j*imgWidth + i] = tmp6; sem_post(&tmp[j*imgWidth + i]); } } } void * apply_sobel(void * ) { //apply the gx_sobel, gy_sobel, sobel filter to the image for (int j = 0; j < imgHeight; ++j) { for (int i = 0; i < imgWidth; ++i) { if(i != imgWidth-1 && j != imgHeight-1) { sem_wait(&tmp[(j+1)*imgWidth + (i+1)]); sem_post(&tmp[(j+1)*imgWidth + (i+1)]); } else if(i == imgWidth-1 && j != imgHeight-1) { sem_wait(&tmp[(j+1)*imgWidth + i]); sem_post(&tmp[(j+1)*imgWidth + i]); } else if(i != imgWidth-1 && j == imgHeight-1) { sem_wait(&tmp[j*imgWidth + (i+1)]); sem_post(&tmp[j*imgWidth + (i+1)]); } else if(i == imgWidth-1 && j == imgHeight-1) { sem_wait(&tmp[j*imgWidth + i]); sem_post(&tmp[j*imgWidth + i]); } int tmp1 = 0, tmp2 = 0; //gx and gy int a, b; int ws = (int)sqrt((float)SOBEL_FILTER_SIZE); for (int jj = 0; jj<ws; ++jj) for (int ii = 0; ii<ws; ++ii) { a = i + ii - (ws / 2); b = j + jj - (ws / 2); // detect for borders of the image if (a<0 || b<0 || a>=imgWidth || b>=imgHeight) continue; tmp1 += filter_gx[jj*ws + ii] * pic_mean[b*imgWidth + a]; tmp2 += filter_gy[jj*ws + ii] * pic_mean[b*imgWidth + a]; }; if (tmp1 < 0) tmp1 = 0; if (tmp1 > 255) tmp1 = 255; if (tmp2 < 0) tmp2 = 0; if (tmp2 > 255) tmp2 = 255; int tmp3 = 0; //sobel tmp3 = sqrt(tmp1*tmp1 + tmp2*tmp2); if (tmp3 < 0) tmp3 = 0; if (tmp3 > 255) tmp3 = 255; //extend the size form WxHx1 to WxHx3 pic_final[3 * (j*imgWidth + i) + MYRED] = tmp3; pic_final[3 * (j*imgWidth + i) + MYGREEN] = tmp3; pic_final[3 * (j*imgWidth + i) + MYBLUE] = tmp3; } } } int main() { // read mask file FILE* mask; mask = fopen("mask_Sobel.txt", "r"); fscanf(mask, "%d", &SOBEL_FILTER_SIZE); filter_gx = new int[SOBEL_FILTER_SIZE]; filter_gy = new int[SOBEL_FILTER_SIZE]; for (int i = 0; i<SOBEL_FILTER_SIZE; ++i) fscanf(mask, "%d", &filter_gx[i]); for (int i = 0; i<SOBEL_FILTER_SIZE; ++i) fscanf(mask, "%d", &filter_gy[i]); fclose(mask); BmpReader* bmpReader = new BmpReader(); for (int k = 0; k < 5; ++k) { // read input BMP file pic_in = bmpReader->ReadBMP(inputfile_name[k], &imgWidth, &imgHeight); //define semaphore array and initial tmp = new sem_t[imgWidth*imgHeight]; // allocate space for output image pic_grey = (unsigned char*)malloc(imgWidth*imgHeight*sizeof(unsigned char)); pic_mean = (unsigned char*)malloc(imgWidth*imgHeight*sizeof(unsigned char)); pic_final = (unsigned char*)malloc(3 * imgWidth*imgHeight*sizeof(unsigned char)); //convert RGB image to grey image for (int j = 0; j<imgHeight; ++j) { for (int i = 0; i<imgWidth; ++i) { int tmp5 = ( pic_in[3 * (j*imgWidth + i) + MYRED] + pic_in[3 * (j*imgWidth + i) + MYGREEN] + pic_in[3 * (j*imgWidth + i) + MYBLUE] )/3; if (tmp5 < 0) tmp5 = 0; if (tmp5 > 255) tmp5 = 255; pic_grey[j*imgWidth + i] = tmp5; sem_init(&tmp[j*imgWidth + i], 0, 0); } } pthread_t mean_thread, sobel_thread; //Mean filter pthread_create(&mean_thread, NULL, apply_mean, NULL); //Sobel filter pthread_create(&sobel_thread, NULL, apply_sobel, NULL); pthread_join(mean_thread, NULL); pthread_join(sobel_thread, NULL); bmpReader->WriteBMP(outputMed_name[k], imgWidth, imgHeight, pic_final); //free memory space free(pic_in); free(pic_grey); free(pic_mean); free(pic_final); } return 0; }
[ "piggy7744@gmail.com" ]
piggy7744@gmail.com
1abfd269a57db5a3aab096d29814c87f60d0d8c0
7e6f83b51f3f3e404b3d16f109b1e1606b7ab9ce
/src/gpprogression.cpp
88e64345967540c427bf4e5c23a29099e58efd18
[]
no_license
NielsHecquard/GrandPrix2017
504f32b141f02a7e14fe18cd0f7e2c91264ec0f2
2c00387e4708a6e8b614719e550c7d87bd7d459b
refs/heads/master
2021-01-19T11:25:28.559532
2017-04-11T18:09:06
2017-04-11T18:09:06
87,964,898
0
0
null
null
null
null
MacCentralEurope
C++
false
false
397
cpp
/** * @brief Gestionnaire de course de voitures. Projet 1A Ensicaen. * * @authors Julien Gosme (2012) * Modifiť par G. Lebrun (2015), S. Fourey (2016) */ #include "gpprogression.h" #include "ui_gpprogression.h" GPProgression::GPProgression(QWidget *parent) : QWidget(parent), ui(new Ui::GPProgression) { ui->setupUi(this); } GPProgression::~GPProgression() { delete ui; }
[ "hecquard@ecole.ensicaen.fr" ]
hecquard@ecole.ensicaen.fr
9dcab1a36936cf3e8d63c383812438bae172110d
2f70c4b45ef4473f00597605d86428e64903bf3c
/src/compiler/ClassDescriptor.hpp
d1e263099a4ce5d83c01fd72bf94484e1c903b21
[]
no_license
Voxed/epic-compiler
d96d0ba922ac24c196327d81b3a48beaa2acaf27
62534ed7015f259fb05fe4c1b2d0ebe7b67dc5f9
refs/heads/master
2023-08-19T17:04:16.239749
2021-10-04T02:57:41
2021-10-04T02:57:41
413,240,701
0
0
null
null
null
null
UTF-8
C++
false
false
2,313
hpp
#pragma once #include <llvm/IR/Function.h> #include <map> #include <string> namespace compiler { class State; /** * The class descriptor represents all members of a class, struct or array. * Also deduces struct type and vtable. */ class ClassDescriptor { public: /** * Create a class descriptor with a name. Name is only used for code * readability. */ ClassDescriptor(State* state, const std::string& name); /** * Add a field to the descriptor. */ void PutField(const std::string& ident, llvm::Type* type); /** * Add a method to the descriptor. */ void PutMethod(const std::string& ident, llvm::Function* fun); /** * Get a field index in the struct, offset of vtable is added. */ int GetFieldIndex(const std::string& ident); /** * Get a method index in a vtable. */ int GetMethodIndex(const std::string& ident); /** * Get whether the descriptor has a field. */ bool HasField(const std::string& ident); /** * Get whether the descriptor has a method. */ bool HasMethod(const std::string& ident); /** * Get the deduced struct type. * Only complete after finalization, but can be used before then. */ llvm::StructType* GetType(); /** * Get the global vtable variable for the descriptor. * Only available after finilization. */ llvm::Value* GetVtable(); /** * Set a derived from super descriptor. */ void SetSuperDescriptor(ClassDescriptor* cd); /** * Get a method from the descriptor. */ llvm::Function* GetMethod(const std::string& ident); /** * Finalize the class descriptor, adding all fields and methods from base * class. Constructs the vtable. */ void Finalize(); private: State* state; std::map<std::string, llvm::Function*> methods; std::map<std::string, llvm::Type*> fields; std::vector<std::string> fieldIndex; std::vector<llvm::Type*> fieldTypes; std::vector<std::string> methodIndex; std::vector<llvm::Constant*> methodValues; llvm::StructType* type; llvm::GlobalVariable* vtable; ClassDescriptor* superDescriptor; bool hasvtable; bool finalized; std::string name; }; } // namespace compiler
[ "voxedg@gmail.com" ]
voxedg@gmail.com
cbc18868fe9366d035c7ef89c7e49357c1009ae5
a72529df08738fca8fe80bcdb087e2edd4f6b36c
/battleships-game/sceneManager.cpp
1713cde40ce84fe023f5a65b53f83d4915fc80ac
[]
no_license
MAdisurya/battleships-game
b0fc24aa3bfd728f56c730dc5b4fcf0d07a2a7d0
7dcec53b66ca5f2712a193300aa1deea4310800e
refs/heads/master
2020-12-13T03:42:34.369139
2020-01-16T11:16:17
2020-01-16T11:16:17
234,303,494
0
0
null
null
null
null
UTF-8
C++
false
false
444
cpp
// Library Includes #include <string> // Local Includes #include "sceneManager.h" // Constructor SceneManager::SceneManager() { } // Deconstructor SceneManager::~SceneManager() { } void SceneManager::GenerateScene(std::string _SceneName) { } void SceneManager::RemoveScene(std::string _SceneName) { } std::string SceneManager::GetCurrentSceneName() const { } std::string SceneManager::SetCurrentSceneName(std::string _SceneName) { }
[ "mario.adisurya@gmail.com" ]
mario.adisurya@gmail.com
a81af764fb10b02a11719e098fb45f612fa5b926
ee94828efe16fec6eb4b26d15628cf4f13657053
/Projects/Midterm-Project/SimpleCal.h
abc0e389749a1f210ea45384df0773260f781abd
[]
no_license
Ignis17/CS244
37b95d7fe7f6d7bdbbf9297da844727af02928aa
786048d08a15f8e26d140fe4c1c4b551b2bd29f3
refs/heads/master
2021-03-16T10:28:09.793705
2020-01-27T23:17:29
2020-01-27T23:17:29
105,193,244
0
0
null
null
null
null
UTF-8
C++
false
false
659
h
// Name: Joel Turbi // Description: Simple Calculator // Due Date: 11/11/2017 #ifndef SIMPLECALCULATOR_H #define SIMPLECALCULATOR_H #include <cmath> #include<cstdlib> class Calculator { public: double Addition(const double &x, const double &y) { return (x + y); } double Subtraction(const double &x, const double &y) { return (x - y); } double Multiplication(const double &x, const double &y) { return (x * y); } double Division(const double &x, const double &y) { return (x / y); } double Power(const double &x, const double &y) { return pow(x,y); } }; #endif
[ "joel.turbi@student.mec.cuny.edu" ]
joel.turbi@student.mec.cuny.edu
8c56bd3ad05bb95640b95f8be1c8be6db7a04305
9a94e85ef2820d626cd76123b9aa49190c991003
/HSPF_MRO_ANDR/build/Android/Release/app/src/main/jni/_root.c_po.g.cpp
b9dd55e69b2845c6921440d28f73eb50bf89adea
[]
no_license
jaypk-104/FUSE
448db1717a29052f7b551390322a6167dfea34cd
0464afa07998eea8de081526a9337bd9af42dcf3
refs/heads/master
2023-03-13T14:32:43.855977
2021-03-18T01:57:10
2021-03-18T01:57:10
348,617,284
0
0
null
null
null
null
UTF-8
C++
false
false
539,684
cpp
// This file was generated based on '(multiple files)'. // WARNING: Changes might be lost if you edit this file directly. #include <_root.c_po.h> #include <_root.c_po.Template.h> #include <_root.c_po.Template.Template1.h> #include <_root.c_po.Template.Template2.h> #include <_root.c_po.Template.Template3.h> #include <_root.c_po.Template1.h> #include <_root.c_po.Template1.Template2.h> #include <_root.c_po.Template1.Template3.h> #include <_root.c_po.Template1.Template4.h> #include <_root.c_po.Template2.h> #include <_root.c_po.Template2.Template10.h> #include <_root.c_po.Template2.Template11.h> #include <_root.c_po.Template2.Template12.h> #include <_root.c_po.Template2.Template13.h> #include <_root.c_po.Template2.Template14.h> #include <_root.c_po.Template2.Template3.h> #include <_root.c_po.Template2.Template4.h> #include <_root.c_po.Template2.Template5.h> #include <_root.c_po.Template2.Template6.h> #include <_root.c_po.Template2.Template7.h> #include <_root.c_po.Template2.Template8.h> #include <_root.c_po.Template2.Template9.h> #include <_root.CalendarView.h> #include <_root.CogWheelReload.h> #include <_root.HSMRO_bundle.h> #include <_root.HSMRO_c_po_Options_Property.h> #include <_root.HSMRO_c_po_Options2_Property.h> #include <_root.HSMRO_c_po_Selected_Property.h> #include <_root.HSMRO_c_po_Selected2_Property.h> #include <_root.HSMRO_FuseAnimationsChangestring_Value_Property.h> #include <_root.HSMRO_FuseControlsControl_Background_Property.h> #include <_root.HSMRO_FuseControlsDatePickerBase_MaxValue_Property.h> #include <_root.HSMRO_FuseControlsDatePickerBase_MinValue_Property.h> #include <_root.HSMRO_FuseControlsDatePickerBase_Value_Property.h> #include <_root.HSMRO_FuseControlsNavigationControl_Active_Property.h> #include <_root.HSMRO_FuseControlsPanel_Color_Property.h> #include <_root.HSMRO_FuseControlsShape_Color_Property.h> #include <_root.HSMRO_FuseControlsTextControl_Color_Property.h> #include <_root.HSMRO_FuseControlsTextControl_Value_Property.h> #include <_root.HSMRO_FuseControlsTextInputControl_Value_Property.h> #include <_root.HSMRO_FuseDrawingStroke_Color_Property.h> #include <_root.HSMRO_FuseElementsElement_ElementLayoutMaster_Property.h> #include <_root.HSMRO_FuseElementsElement_Height_Property.h> #include <_root.HSMRO_FuseElementsElement_Opacity_Property.h> #include <_root.HSMRO_FuseElementsElement_Visibility_Property.h> #include <_root.HSMRO_FuseReactiveEach_Items_Property.h> #include <_root.HSMRO_FuseReactiveWhileCount_Items_Property.h> #include <_root.HSMRO_FuseTriggersWhileBool_Value_Property.h> #include <_root.HSMRO_Tab_Color_Property.h> #include <_root.MainView.h> #include <_root.Tab.h> #include <Fuse.Animations.Animator.h> #include <Fuse.Animations.Change-1.h> #include <Fuse.Animations.Easing.h> #include <Fuse.Animations.Move.h> #include <Fuse.Animations.Scale.h> #include <Fuse.Animations.TrackAnimator.h> #include <Fuse.Animations.TransformAnimator-1.h> #include <Fuse.Binding.h> #include <Fuse.Controls.BottomBarBackground.h> #include <Fuse.Controls.Button.h> #include <Fuse.Controls.Circle.h> #include <Fuse.Controls.ClientPanel.h> #include <Fuse.Controls.Control.h> #include <Fuse.Controls.DatePicker.h> #include <Fuse.Controls.DatePickerBase.h> #include <Fuse.Controls.DockPanel.h> #include <Fuse.Controls.Grid.h> #include <Fuse.Controls.Image.h> #include <Fuse.Controls.LayoutControl.h> #include <Fuse.Controls.NativeViewHost.h> #include <Fuse.Controls.NavigationControl.h> #include <Fuse.Controls.NavigationControlInteraction.h> #include <Fuse.Controls.Navigator.h> #include <Fuse.Controls.Page.h> #include <Fuse.Controls.PageControl.h> #include <Fuse.Controls.Panel.h> #include <Fuse.Controls.Rectangle.h> #include <Fuse.Controls.ScrollView.h> #include <Fuse.Controls.ScrollViewBase.h> #include <Fuse.Controls.Shape.h> #include <Fuse.Controls.StackPanel.h> #include <Fuse.Controls.Text.h> #include <Fuse.Controls.TextAlignment.h> #include <Fuse.Controls.TextControl.h> #include <Fuse.Controls.TextInput.h> #include <Fuse.Controls.TextInputControl.h> #include <Fuse.Controls.TextInputHint.h> #include <Fuse.Controls.TextView.h> #include <Fuse.Controls.TextWrapping.h> #include <Fuse.Controls.WrapPanel.h> #include <Fuse.Drawing.Brush.h> #include <Fuse.Drawing.Brushes.h> #include <Fuse.Drawing.GradientStop.h> #include <Fuse.Drawing.LinearGradient.h> #include <Fuse.Drawing.StaticSolidColor.h> #include <Fuse.Drawing.Stroke.h> #include <Fuse.Elements.Alignment.h> #include <Fuse.Elements.Element.h> #include <Fuse.Elements.HeightFunction.h> #include <Fuse.Elements.HitTestMode.h> #include <Fuse.Elements.StretchDirection.h> #include <Fuse.Elements.StretchSizing.h> #include <Fuse.Elements.Visibility.h> #include <Fuse.Font.h> #include <Fuse.Gestures.Clicked.h> #include <Fuse.Gestures.ClickedHandler.h> #include <Fuse.Gestures.Swiped.h> #include <Fuse.Gestures.SwipedHow.h> #include <Fuse.Gestures.SwipeDirection.h> #include <Fuse.Gestures.SwipeGesture.h> #include <Fuse.Gestures.SwipeType.h> #include <Fuse.Gestures.SwipingAnimation.h> #include <Fuse.Gestures.Tapped.h> #include <Fuse.Gestures.WhilePressed.h> #include <Fuse.ITranslationMode.h> #include <Fuse.Layer.h> #include <Fuse.LayoutRole.h> #include <Fuse.Layouts.Dock.h> #include <Fuse.Layouts.Orientation.h> #include <Fuse.Navigation.Router.h> #include <Fuse.Navigation.WhileActive.h> #include <Fuse.Navigation.WhileNavigationTrigger.h> #include <Fuse.Node.h> #include <Fuse.NodeGroupBase.h> #include <Fuse.Reactive.Add.h> #include <Fuse.Reactive.BindingMode.h> #include <Fuse.Reactive.Constant.h> #include <Fuse.Reactive.Data.h> #include <Fuse.Reactive.DataBinding.h> #include <Fuse.Reactive.Divide.h> #include <Fuse.Reactive.Each.h> #include <Fuse.Reactive.EventBinding.h> #include <Fuse.Reactive.Expression.h> #include <Fuse.Reactive.IExpression.h> #include <Fuse.Reactive.Instantiator.h> #include <Fuse.Reactive.JavaScript.h> #include <Fuse.Reactive.WhileCount.h> #include <Fuse.RelativeTransform-1.h> #include <Fuse.Translation.h> #include <Fuse.TranslationModes.h> #include <Fuse.Triggers.Actions.Callback.h> #include <Fuse.Triggers.Actions.IToggleable.h> #include <Fuse.Triggers.Actions.Set-1.h> #include <Fuse.Triggers.Actions.Toggle.h> #include <Fuse.Triggers.Actions.TriggerAction.h> #include <Fuse.Triggers.AddingAnimation.h> #include <Fuse.Triggers.KeyPressHandler.h> #include <Fuse.Triggers.LayoutAnimation.h> #include <Fuse.Triggers.LayoutTransition.h> #include <Fuse.Triggers.OnBackButton.h> #include <Fuse.Triggers.OnKeyPress.h> #include <Fuse.Triggers.RemovingAnimation.h> #include <Fuse.Triggers.Trigger.h> #include <Fuse.Triggers.WhileBool.h> #include <Fuse.Triggers.WhileFalse.h> #include <Fuse.Triggers.WhileTrue.h> #include <Fuse.Visual.h> #include <Fuse.VisualEventHandler.h> #include <Uno.Bool.h> #include <Uno.Collections.ICollection-1.h> #include <Uno.Collections.IList-1.h> #include <Uno.Double.h> #include <Uno.Float.h> #include <Uno.Float4.h> #include <Uno.Int.h> #include <Uno.IO.BundleFile.h> #include <Uno.Object.h> #include <Uno.String.h> #include <Uno.UX.BundleFileSource.h> #include <Uno.UX.FileSource.h> #include <Uno.UX.NameTable.h> #include <Uno.UX.Property.h> #include <Uno.UX.Property1-1.h> #include <Uno.UX.PropertyObject.h> #include <Uno.UX.Selector.h> #include <Uno.UX.Size.h> #include <Uno.UX.Template.h> #include <Uno.UX.Unit.h> #include <Uno.UX.ValueChangedHandler-1.h> static uString* STRINGS[100]; static uType* TYPES[13]; namespace g{ // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po // { // static c_po() static void c_po__cctor_4_fn(uType* __type) { c_po::__g_static_nametable1_ = uArray::Init<uString*>(::g::Uno::String_typeof()->Array(), 19, uString::Const("router"), uString::Const("indicator_1_po"), uString::Const("temp_eb69"), uString::Const("page1Tab_1_po"), uString::Const("tab1_item"), uString::Const("temp_eb70"), uString::Const("page2Tab_1_po"), uString::Const("tab2_cart"), uString::Const("temp_eb71"), uString::Const("page3Tab_1_po"), uString::Const("tab3_po"), uString::Const("temp_eb72"), uString::Const("navigation_1_po"), uString::Const("poItem"), uString::Const("router_item"), uString::Const("poCart"), uString::Const("router_cart"), uString::Const("poOrder"), uString::Const("router_order")); c_po::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Options")); c_po::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Selected")); c_po::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Options2")); c_po::__selector3_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Selected2")); c_po::__selector4_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po::__selector5_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Active")); c_po::__selector6_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Background")); c_po::__selector7_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[1/*"Color"*/]); c_po::__selector8_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Element.LayoutMaster")); c_po::__selector9_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("c_po")); c_po::__selector10_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("indicator_1_po")); c_po::__selector11_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("page1Tab_1_po")); c_po::__selector12_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("tab1_item")); c_po::__selector13_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("page2Tab_1_po")); c_po::__selector14_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("tab2_cart")); c_po::__selector15_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("page3Tab_1_po")); c_po::__selector16_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("tab3_po")); c_po::__selector17_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("navigation_1_po")); c_po::__selector18_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("poItem")); c_po::__selector19_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("router_item")); c_po::__selector20_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("poCart")); c_po::__selector21_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("router_cart")); c_po::__selector22_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("poOrder")); c_po::__selector23_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("router_order")); } static void c_po_build(uType* type) { type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::HSMRO_bundle_typeof(), ::g::Fuse::Triggers::LayoutTransition_typeof(), ::g::MainView_typeof()); type->SetInterfaces( ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Controls::Panel_type, interface0), ::g::Fuse::Scripting::IScriptObject_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface1), ::g::Fuse::IProperties_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface2), ::g::Fuse::INotifyUnrooted_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface3), ::g::Fuse::ISourceLocation_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface4), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Controls::Panel_type, interface5), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL), offsetof(::g::Fuse::Controls::Panel_type, interface6), ::g::Uno::Collections::IList_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(::g::Fuse::Controls::Panel_type, interface7), ::g::Uno::UX::IPropertyListener_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface8), ::g::Fuse::ITemplateSource_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface9), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Visual_typeof(), NULL), offsetof(::g::Fuse::Controls::Panel_type, interface10), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(::g::Fuse::Controls::Panel_type, interface11), ::g::Uno::Collections::IEnumerable_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL), offsetof(::g::Fuse::Controls::Panel_type, interface12), ::g::Fuse::Triggers::Actions::IShow_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface13), ::g::Fuse::Triggers::Actions::IHide_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface14), ::g::Fuse::Triggers::Actions::ICollapse_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface15), ::g::Fuse::IActualPlacement_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface16), ::g::Fuse::Animations::IResize_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface17), ::g::Fuse::Drawing::ISurfaceDrawable_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface18)); type->SetFields(122, uObject_typeof(), offsetof(c_po, _field_Options), 0, uObject_typeof(), offsetof(c_po, _field_Selected), 0, uObject_typeof(), offsetof(c_po, _field_Options2), 0, uObject_typeof(), offsetof(c_po, _field_Selected2), 0, ::g::Fuse::Navigation::Router_typeof(), offsetof(c_po, router), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po, temp_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po, temp1_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po, temp2_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po, temp3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po, temp4_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Visual_typeof(), NULL), offsetof(c_po, navigation_1_po_Active_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), offsetof(c_po, tab1_item_Background_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po, tab1_item_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), offsetof(c_po, tab2_cart_Background_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po, tab2_cart_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), offsetof(c_po, tab3_po_Background_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po, tab3_po_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Element_typeof(), NULL), offsetof(c_po, indicator_1_po_Element_LayoutMaster_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po, indicator_1_po_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po, this_Options_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po, this_Selected_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po, this_Options2_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po, this_Selected2_inst), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po, indicator_1_po), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po, temp_eb69), 0, ::g::Fuse::Controls::Panel_typeof(), offsetof(c_po, page1Tab_1_po), 0, ::g::Tab_typeof(), offsetof(c_po, tab1_item), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po, temp_eb70), 0, ::g::Fuse::Controls::Panel_typeof(), offsetof(c_po, page2Tab_1_po), 0, ::g::Tab_typeof(), offsetof(c_po, tab2_cart), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po, temp_eb71), 0, ::g::Fuse::Controls::Panel_typeof(), offsetof(c_po, page3Tab_1_po), 0, ::g::Tab_typeof(), offsetof(c_po, tab3_po), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po, temp_eb72), 0, ::g::Fuse::Controls::PageControl_typeof(), offsetof(c_po, navigation_1_po), 0, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po, poItem), 0, ::g::Fuse::Navigation::Router_typeof(), offsetof(c_po, router_item), 0, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po, poCart), 0, ::g::Fuse::Navigation::Router_typeof(), offsetof(c_po, router_cart), 0, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po, poOrder), 0, ::g::Fuse::Navigation::Router_typeof(), offsetof(c_po, router_order), 0, ::g::Uno::UX::NameTable_typeof(), offsetof(c_po, __g_nametable1), 0, ::g::Uno::String_typeof()->Array(), (uintptr_t)&c_po::__g_static_nametable1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector2_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector3_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector4_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector5_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector6_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector7_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector8_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector9_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector10_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector11_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector12_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector13_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector14_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector15_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector16_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector17_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector18_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector19_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector20_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector21_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector22_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po::__selector23_, uFieldFlagsStatic); } ::g::Fuse::Controls::Panel_type* c_po_typeof() { static uSStrong< ::g::Fuse::Controls::Panel_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Fuse::Controls::Page_typeof(); options.FieldCount = 189; options.InterfaceCount = 19; options.DependencyCount = 4; options.ObjectSize = sizeof(c_po); options.TypeSize = sizeof(::g::Fuse::Controls::Panel_type); type = (::g::Fuse::Controls::Panel_type*)uClassType::New("c_po", options); type->fp_build_ = c_po_build; type->fp_cctor_ = c_po__cctor_4_fn; type->interface18.fp_Draw = (void(*)(uObject*, ::g::Fuse::Drawing::Surface*))::g::Fuse::Controls::Panel__FuseDrawingISurfaceDrawableDraw_fn; type->interface18.fp_get_IsPrimary = (void(*)(uObject*, bool*))::g::Fuse::Controls::Panel__FuseDrawingISurfaceDrawableget_IsPrimary_fn; type->interface18.fp_get_ElementSize = (void(*)(uObject*, ::g::Uno::Float2*))::g::Fuse::Controls::Panel__FuseDrawingISurfaceDrawableget_ElementSize_fn; type->interface13.fp_Show = (void(*)(uObject*))::g::Fuse::Elements::Element__FuseTriggersActionsIShowShow_fn; type->interface15.fp_Collapse = (void(*)(uObject*))::g::Fuse::Elements::Element__FuseTriggersActionsICollapseCollapse_fn; type->interface14.fp_Hide = (void(*)(uObject*))::g::Fuse::Elements::Element__FuseTriggersActionsIHideHide_fn; type->interface17.fp_SetSize = (void(*)(uObject*, ::g::Uno::Float2*))::g::Fuse::Elements::Element__FuseAnimationsIResizeSetSize_fn; type->interface16.fp_get_ActualSize = (void(*)(uObject*, ::g::Uno::Float3*))::g::Fuse::Elements::Element__FuseIActualPlacementget_ActualSize_fn; type->interface16.fp_add_Placed = (void(*)(uObject*, uDelegate*))::g::Fuse::Elements::Element__add_Placed_fn; type->interface16.fp_remove_Placed = (void(*)(uObject*, uDelegate*))::g::Fuse::Elements::Element__remove_Placed_fn; type->interface10.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Visual__UnoCollectionsIEnumerableFuseVisualGetEnumerator_fn; type->interface11.fp_Clear = (void(*)(uObject*))::g::Fuse::Visual__UnoCollectionsICollectionFuseNodeClear_fn; type->interface11.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Visual__UnoCollectionsICollectionFuseNodeContains_fn; type->interface7.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Visual__UnoCollectionsIListFuseNodeRemoveAt_fn; type->interface12.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Visual__UnoCollectionsIEnumerableFuseNodeGetEnumerator_fn; type->interface11.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Visual__UnoCollectionsICollectionFuseNodeget_Count_fn; type->interface7.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Visual__UnoCollectionsIListFuseNodeget_Item_fn; type->interface7.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Visual__Insert1_fn; type->interface8.fp_OnPropertyChanged = (void(*)(uObject*, ::g::Uno::UX::PropertyObject*, ::g::Uno::UX::Selector*))::g::Fuse::Controls::Control__OnPropertyChanged2_fn; type->interface9.fp_FindTemplate = (void(*)(uObject*, uString*, ::g::Uno::UX::Template**))::g::Fuse::Visual__FindTemplate_fn; type->interface11.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Visual__Add1_fn; type->interface11.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Visual__Remove1_fn; type->interface5.fp_Clear = (void(*)(uObject*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingClear_fn; type->interface5.fp_Contains = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingContains_fn; type->interface0.fp_RemoveAt = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsIListFuseBindingRemoveAt_fn; type->interface6.fp_GetEnumerator = (void(*)(uObject*, uObject**))::g::Fuse::Node__UnoCollectionsIEnumerableFuseBindingGetEnumerator_fn; type->interface1.fp_SetScriptObject = (void(*)(uObject*, uObject*, ::g::Fuse::Scripting::Context*))::g::Fuse::Node__FuseScriptingIScriptObjectSetScriptObject_fn; type->interface5.fp_get_Count = (void(*)(uObject*, int32_t*))::g::Fuse::Node__UnoCollectionsICollectionFuseBindingget_Count_fn; type->interface0.fp_get_Item = (void(*)(uObject*, int32_t*, uTRef))::g::Fuse::Node__UnoCollectionsIListFuseBindingget_Item_fn; type->interface1.fp_get_ScriptObject = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptObject_fn; type->interface1.fp_get_ScriptContext = (void(*)(uObject*, ::g::Fuse::Scripting::Context**))::g::Fuse::Node__FuseScriptingIScriptObjectget_ScriptContext_fn; type->interface4.fp_get_SourceNearest = (void(*)(uObject*, uObject**))::g::Fuse::Node__FuseISourceLocationget_SourceNearest_fn; type->interface3.fp_add_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedadd_Unrooted_fn; type->interface3.fp_remove_Unrooted = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__FuseINotifyUnrootedremove_Unrooted_fn; type->interface0.fp_Insert = (void(*)(uObject*, int32_t*, void*))::g::Fuse::Node__Insert_fn; type->interface2.fp_get_Properties = (void(*)(uObject*, ::g::Fuse::Properties**))::g::Fuse::Node__get_Properties_fn; type->interface4.fp_get_SourceLineNumber = (void(*)(uObject*, int32_t*))::g::Fuse::Node__get_SourceLineNumber_fn; type->interface4.fp_get_SourceFileName = (void(*)(uObject*, uString**))::g::Fuse::Node__get_SourceFileName_fn; type->interface5.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Node__Add_fn; type->interface5.fp_Remove = (void(*)(uObject*, void*, bool*))::g::Fuse::Node__Remove_fn; return type; } // public c_po(Fuse.Navigation.Router router) void c_po__ctor_8_fn(c_po* __this, ::g::Fuse::Navigation::Router* router1) { __this->ctor_8(router1); } // private void InitializeUX() void c_po__InitializeUX_fn(c_po* __this) { __this->InitializeUX(); } // public c_po New(Fuse.Navigation.Router router) void c_po__New5_fn(::g::Fuse::Navigation::Router* router1, c_po** __retval) { *__retval = c_po::New5(router1); } // public object get_Options() void c_po__get_Options_fn(c_po* __this, uObject** __retval) { *__retval = __this->Options(); } // public void set_Options(object value) void c_po__set_Options_fn(c_po* __this, uObject* value) { __this->Options(value); } // public object get_Options2() void c_po__get_Options2_fn(c_po* __this, uObject** __retval) { *__retval = __this->Options2(); } // public void set_Options2(object value) void c_po__set_Options2_fn(c_po* __this, uObject* value) { __this->Options2(value); } // public object get_Selected() void c_po__get_Selected_fn(c_po* __this, uObject** __retval) { *__retval = __this->Selected(); } // public void set_Selected(object value) void c_po__set_Selected_fn(c_po* __this, uObject* value) { __this->Selected(value); } // public object get_Selected2() void c_po__get_Selected2_fn(c_po* __this, uObject** __retval) { *__retval = __this->Selected2(); } // public void set_Selected2(object value) void c_po__set_Selected2_fn(c_po* __this, uObject* value) { __this->Selected2(value); } // public void SetOptions(object value, Uno.UX.IPropertyListener origin) void c_po__SetOptions_fn(c_po* __this, uObject* value, uObject* origin) { __this->SetOptions(value, origin); } // public void SetOptions2(object value, Uno.UX.IPropertyListener origin) void c_po__SetOptions2_fn(c_po* __this, uObject* value, uObject* origin) { __this->SetOptions2(value, origin); } // public void SetSelected(object value, Uno.UX.IPropertyListener origin) void c_po__SetSelected_fn(c_po* __this, uObject* value, uObject* origin) { __this->SetSelected(value, origin); } // public void SetSelected2(object value, Uno.UX.IPropertyListener origin) void c_po__SetSelected2_fn(c_po* __this, uObject* value, uObject* origin) { __this->SetSelected2(value, origin); } uSStrong<uArray*> c_po::__g_static_nametable1_; ::g::Uno::UX::Selector c_po::__selector0_; ::g::Uno::UX::Selector c_po::__selector1_; ::g::Uno::UX::Selector c_po::__selector2_; ::g::Uno::UX::Selector c_po::__selector3_; ::g::Uno::UX::Selector c_po::__selector4_; ::g::Uno::UX::Selector c_po::__selector5_; ::g::Uno::UX::Selector c_po::__selector6_; ::g::Uno::UX::Selector c_po::__selector7_; ::g::Uno::UX::Selector c_po::__selector8_; ::g::Uno::UX::Selector c_po::__selector9_; ::g::Uno::UX::Selector c_po::__selector10_; ::g::Uno::UX::Selector c_po::__selector11_; ::g::Uno::UX::Selector c_po::__selector12_; ::g::Uno::UX::Selector c_po::__selector13_; ::g::Uno::UX::Selector c_po::__selector14_; ::g::Uno::UX::Selector c_po::__selector15_; ::g::Uno::UX::Selector c_po::__selector16_; ::g::Uno::UX::Selector c_po::__selector17_; ::g::Uno::UX::Selector c_po::__selector18_; ::g::Uno::UX::Selector c_po::__selector19_; ::g::Uno::UX::Selector c_po::__selector20_; ::g::Uno::UX::Selector c_po::__selector21_; ::g::Uno::UX::Selector c_po::__selector22_; ::g::Uno::UX::Selector c_po::__selector23_; // public c_po(Fuse.Navigation.Router router) [instance] void c_po::ctor_8(::g::Fuse::Navigation::Router* router1) { ctor_7(); router = router1; InitializeUX(); } // private void InitializeUX() [instance] void c_po::InitializeUX() { this_Options_inst = ::g::HSMRO_c_po_Options_Property::New1(this, c_po::__selector0_); this_Selected_inst = ::g::HSMRO_c_po_Selected_Property::New1(this, c_po::__selector1_); this_Options2_inst = ::g::HSMRO_c_po_Options2_Property::New1(this, c_po::__selector2_); this_Selected2_inst = ::g::HSMRO_c_po_Selected2_Property::New1(this, c_po::__selector3_); __g_nametable1 = ::g::Uno::UX::NameTable::New1(NULL, c_po::__g_static_nametable1_); ::g::Fuse::Reactive::Data* temp5 = ::g::Fuse::Reactive::Data::New1(uString::Const("backBtnClick")); ::g::Fuse::Controls::Text* temp = ::g::Fuse::Controls::Text::New3(); temp_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp, c_po::__selector4_); ::g::Fuse::Reactive::Data* temp6 = ::g::Fuse::Reactive::Data::New1(uString::Const("g_DATE_DD")); ::g::Fuse::Controls::Text* temp1 = ::g::Fuse::Controls::Text::New3(); temp1_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp1, c_po::__selector4_); ::g::Fuse::Reactive::Data* temp7 = ::g::Fuse::Reactive::Data::New1(uString::Const("g_DATE_YM")); ::g::Fuse::Controls::Text* temp2 = ::g::Fuse::Controls::Text::New3(); temp2_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp2, c_po::__selector4_); ::g::Fuse::Reactive::Data* temp8 = ::g::Fuse::Reactive::Data::New1(uString::Const("g_DATE_DAY")); ::g::Fuse::Controls::Text* temp3 = ::g::Fuse::Controls::Text::New3(); temp3_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp3, c_po::__selector4_); ::g::Fuse::Reactive::Data* temp9 = ::g::Fuse::Reactive::Data::New1(uString::Const("g_BP_NM_obs")); ::g::Fuse::Controls::Text* temp4 = ::g::Fuse::Controls::Text::New3(); temp4_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp4, c_po::__selector4_); ::g::Fuse::Reactive::Data* temp10 = ::g::Fuse::Reactive::Data::New1(uString::Const("g_USR_NM_obs")); navigation_1_po = ::g::Fuse::Controls::PageControl::New4(); navigation_1_po_Active_inst = ::g::HSMRO_FuseControlsNavigationControl_Active_Property::New1(navigation_1_po, c_po::__selector5_); tab1_item = ::g::Tab::New4(); tab1_item_Background_inst = ::g::HSMRO_FuseControlsControl_Background_Property::New1(tab1_item, c_po::__selector6_); tab1_item_Color_inst = ::g::HSMRO_Tab_Color_Property::New1(tab1_item, c_po::__selector7_); tab2_cart = ::g::Tab::New4(); tab2_cart_Background_inst = ::g::HSMRO_FuseControlsControl_Background_Property::New1(tab2_cart, c_po::__selector6_); tab2_cart_Color_inst = ::g::HSMRO_Tab_Color_Property::New1(tab2_cart, c_po::__selector7_); tab3_po = ::g::Tab::New4(); tab3_po_Background_inst = ::g::HSMRO_FuseControlsControl_Background_Property::New1(tab3_po, c_po::__selector6_); tab3_po_Color_inst = ::g::HSMRO_Tab_Color_Property::New1(tab3_po, c_po::__selector7_); ::g::Fuse::Reactive::Data* temp11 = ::g::Fuse::Reactive::Data::New1(uString::Const("tab1_click")); ::g::Fuse::Reactive::Data* temp12 = ::g::Fuse::Reactive::Data::New1(uString::Const("tab2_click")); ::g::Fuse::Reactive::Data* temp13 = ::g::Fuse::Reactive::Data::New1(uString::Const("tab3_click")); indicator_1_po = ::g::Fuse::Controls::Rectangle::New3(); indicator_1_po_Element_LayoutMaster_inst = ::g::HSMRO_FuseElementsElement_ElementLayoutMaster_Property::New1(indicator_1_po, c_po::__selector8_); indicator_1_po_Color_inst = ::g::HSMRO_FuseControlsShape_Color_Property::New1(indicator_1_po, c_po::__selector7_); ::g::Fuse::Reactive::JavaScript* temp14 = ::g::Fuse::Reactive::JavaScript::New2(__g_nametable1); ::g::Fuse::Triggers::LayoutAnimation* temp15 = ::g::Fuse::Triggers::LayoutAnimation::New2(); ::g::Fuse::Animations::Move* temp16 = ::g::Fuse::Animations::Move::New2(); ::g::Fuse::Triggers::OnBackButton* temp17 = ::g::Fuse::Triggers::OnBackButton::New3(); temp_eb69 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp5); ::g::Fuse::Controls::Panel* temp18 = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Controls::DockPanel* temp19 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Rectangle* temp20 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::Grid* temp21 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::Image* temp22 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Reactive::DataBinding* temp23 = ::g::Fuse::Reactive::DataBinding::New1(temp_Value_inst, (uObject*)temp6, 3); ::g::Fuse::Controls::WrapPanel* temp24 = ::g::Fuse::Controls::WrapPanel::New4(); ::g::Fuse::Reactive::DataBinding* temp25 = ::g::Fuse::Reactive::DataBinding::New1(temp1_Value_inst, (uObject*)temp7, 3); ::g::Fuse::Reactive::DataBinding* temp26 = ::g::Fuse::Reactive::DataBinding::New1(temp2_Value_inst, (uObject*)temp8, 3); ::g::Fuse::Controls::Grid* temp27 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::WrapPanel* temp28 = ::g::Fuse::Controls::WrapPanel::New4(); ::g::Fuse::Reactive::DataBinding* temp29 = ::g::Fuse::Reactive::DataBinding::New1(temp3_Value_inst, (uObject*)temp9, 3); ::g::Fuse::Reactive::DataBinding* temp30 = ::g::Fuse::Reactive::DataBinding::New1(temp4_Value_inst, (uObject*)temp10, 3); ::g::Fuse::Controls::Image* temp31 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Drawing::LinearGradient* temp32 = ::g::Fuse::Drawing::LinearGradient::New2(); ::g::Fuse::Drawing::GradientStop* temp33 = ::g::Fuse::Drawing::GradientStop::New2(); ::g::Fuse::Drawing::GradientStop* temp34 = ::g::Fuse::Drawing::GradientStop::New2(); ::g::Fuse::Controls::Grid* temp35 = ::g::Fuse::Controls::Grid::New4(); page1Tab_1_po = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Drawing::StaticSolidColor* temp36 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); ::g::Fuse::Gestures::Clicked* temp37 = ::g::Fuse::Gestures::Clicked::New2(); ::g::Fuse::Triggers::Actions::Set* temp38 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Visual_typeof(), NULL), navigation_1_po_Active_inst); ::g::Fuse::Triggers::Actions::Set* temp39 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab1_item_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp40 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp41 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab1_item_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp42 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab2_cart_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp43 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp44 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab2_cart_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp45 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab3_po_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp46 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp47 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab3_po_Color_inst); temp_eb70 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp11); page2Tab_1_po = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Gestures::Clicked* temp48 = ::g::Fuse::Gestures::Clicked::New2(); ::g::Fuse::Triggers::Actions::Set* temp49 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Visual_typeof(), NULL), navigation_1_po_Active_inst); ::g::Fuse::Triggers::Actions::Set* temp50 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab1_item_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp51 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp52 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab1_item_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp53 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab2_cart_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp54 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp55 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab2_cart_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp56 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab3_po_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp57 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp58 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab3_po_Color_inst); ::g::Fuse::Drawing::StaticSolidColor* temp59 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp_eb71 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp12); page3Tab_1_po = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Gestures::Clicked* temp60 = ::g::Fuse::Gestures::Clicked::New2(); ::g::Fuse::Triggers::Actions::Set* temp61 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Visual_typeof(), NULL), navigation_1_po_Active_inst); ::g::Fuse::Triggers::Actions::Set* temp62 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab1_item_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp63 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp64 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab1_item_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp65 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab2_cart_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp66 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp67 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab2_cart_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp68 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab3_po_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp69 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp70 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab3_po_Color_inst); ::g::Fuse::Drawing::StaticSolidColor* temp71 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp_eb72 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp13); ::g::Fuse::Drawing::StaticSolidColor* temp72 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); poItem = ::g::Fuse::Controls::Page::New4(); ::g::Fuse::Controls::Navigator* temp73 = ::g::Fuse::Controls::Navigator::New4(); router_item = ::g::Fuse::Navigation::Router::New2(); c_po__Template* poItem1 = c_po__Template::New2(this, this); ::g::Fuse::Navigation::WhileActive* temp74 = ::g::Fuse::Navigation::WhileActive::New2(); ::g::Fuse::Triggers::Actions::Set* temp75 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Elements::Element_typeof(), NULL), indicator_1_po_Element_LayoutMaster_inst); ::g::Fuse::Triggers::Actions::Set* temp76 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), indicator_1_po_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp77 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab1_item_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp78 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp79 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab1_item_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp80 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab2_cart_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp81 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp82 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab2_cart_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp83 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab3_po_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp84 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp85 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab3_po_Color_inst); ::g::Fuse::Drawing::StaticSolidColor* temp86 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); poCart = ::g::Fuse::Controls::Page::New4(); ::g::Fuse::Controls::Navigator* temp87 = ::g::Fuse::Controls::Navigator::New4(); router_cart = ::g::Fuse::Navigation::Router::New2(); c_po__Template1* poCart1 = c_po__Template1::New2(this, this); ::g::Fuse::Navigation::WhileActive* temp88 = ::g::Fuse::Navigation::WhileActive::New2(); ::g::Fuse::Triggers::Actions::Set* temp89 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Elements::Element_typeof(), NULL), indicator_1_po_Element_LayoutMaster_inst); ::g::Fuse::Triggers::Actions::Set* temp90 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), indicator_1_po_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp91 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab1_item_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp92 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp93 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab1_item_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp94 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab2_cart_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp95 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp96 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab2_cart_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp97 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab3_po_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp98 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp99 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab3_po_Color_inst); ::g::Fuse::Drawing::StaticSolidColor* temp100 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); poOrder = ::g::Fuse::Controls::Page::New4(); ::g::Fuse::Controls::Navigator* temp101 = ::g::Fuse::Controls::Navigator::New4(); router_order = ::g::Fuse::Navigation::Router::New2(); c_po__Template2* poOrder1 = c_po__Template2::New2(this, this); ::g::Fuse::Navigation::WhileActive* temp102 = ::g::Fuse::Navigation::WhileActive::New2(); ::g::Fuse::Triggers::Actions::Set* temp103 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Elements::Element_typeof(), NULL), indicator_1_po_Element_LayoutMaster_inst); ::g::Fuse::Triggers::Actions::Set* temp104 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), indicator_1_po_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp105 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab1_item_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp106 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp107 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab1_item_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp108 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab2_cart_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp109 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.5450981f, 0.4470588f, 0.7607843f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp110 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab2_cart_Color_inst); ::g::Fuse::Triggers::Actions::Set* temp111 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL), tab3_po_Background_inst); ::g::Fuse::Drawing::StaticSolidColor* temp112 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); ::g::Fuse::Triggers::Actions::Set* temp113 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::String_typeof(), NULL), tab3_po_Color_inst); ::g::Fuse::Drawing::StaticSolidColor* temp114 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); ::g::Fuse::Controls::BottomBarBackground* temp115 = ::g::Fuse::Controls::BottomBarBackground::New3(); Alignment(0); Name(c_po::__selector9_); SourceLineNumber(1); SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp14->LineNumber(2); temp14->FileName(::STRINGS[16/*"Pages/Menu_...*/]); temp14->SourceLineNumber(2); temp14->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp14->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::c_po62d816de())); uPtr(indicator_1_po)->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); uPtr(indicator_1_po)->Height(::g::Uno::UX::Size__New1(4.0f, 1)); uPtr(indicator_1_po)->Alignment(12); uPtr(indicator_1_po)->Name(c_po::__selector10_); uPtr(indicator_1_po)->SourceLineNumber(5); uPtr(indicator_1_po)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::LayoutControl::SetLayoutMaster(indicator_1_po, page1Tab_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(indicator_1_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp15); temp15->SourceLineNumber(6); temp15->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp16); temp16->X(1.0f); temp16->Duration(0.3); temp16->RelativeTo(::g::Fuse::Triggers::LayoutTransition::WorldPositionChange()); temp16->Easing(::g::Fuse::Animations::Easing::BackIn()); temp17->SourceLineNumber(10); temp17->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp17->add_Handler(uDelegate::New(::g::Fuse::Triggers::KeyPressHandler_typeof(), (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(temp_eb69))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp17->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp_eb69); temp5->SourceLineNumber(10); temp5->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp18->Alignment(0); temp18->SourceLineNumber(11); temp18->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp18, 4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp18->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp19); temp19->Alignment(0); temp19->SourceLineNumber(17); temp19->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp19->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp20); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp19->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp35); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp19->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), navigation_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp19->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp115); temp20->Height(::g::Uno::UX::Size__New1(100.0f, 1)); temp20->Alignment(0); temp20->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp20->Padding(::g::Uno::Float4__New2(0.0f, 10.0f, 0.0f, 0.0f)); temp20->Opacity(1.0f); temp20->SourceLineNumber(18); temp20->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp20, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Fills()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Drawing::Brush_typeof(), NULL)), temp32); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp21); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp27); temp21->RowCount(1); temp21->Columns(uString::Const("40,1*, auto")); temp21->ColumnCount(3); temp21->CellSpacing(1.0f); temp21->Width(::g::Uno::UX::Size__New1(160.0f, 1)); temp21->Height(::g::Uno::UX::Size__New1(100.0f, 4)); temp21->MinWidth(::g::Uno::UX::Size__New1(160.0f, 1)); temp21->Alignment(1); temp21->Padding(::g::Uno::Float4__New2(10.0f, 5.0f, 5.0f, 5.0f)); temp21->SourceLineNumber(19); temp21->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp21, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp22); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp24); temp22->Width(::g::Uno::UX::Size__New1(60.0f, 1)); temp22->Height(::g::Uno::UX::Size__New1(60.0f, 1)); temp22->Alignment(10); temp22->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp22->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp22->SourceLineNumber(20); temp22->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetRow(temp22, 0); ::g::Fuse::Controls::Grid::SetColumn(temp22, 0); temp22->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::calendar64701504())); temp->FontSize(40.0f); temp->TextColor(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp->Alignment(10); temp->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp->SourceLineNumber(21); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp23); temp6->SourceLineNumber(21); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp24->Orientation(1); temp24->Alignment(10); temp24->SourceLineNumber(22); temp24->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp24->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp24->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp2); temp1->FontSize(15.0f); temp1->TextColor(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp1->Alignment(9); temp1->SourceLineNumber(23); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp25); temp7->SourceLineNumber(23); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp2->FontSize(13.0f); temp2->TextColor(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp2->Alignment(9); temp2->SourceLineNumber(24); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp2->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp26); temp8->SourceLineNumber(24); temp8->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp27->Columns(uString::Const("auto, 40")); temp27->ColumnCount(2); temp27->CellSpacing(7.0f); temp27->Width(::g::Uno::UX::Size__New1(160.0f, 1)); temp27->MinWidth(::g::Uno::UX::Size__New1(160.0f, 1)); temp27->Alignment(3); temp27->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 5.0f, 0.0f)); temp27->Padding(::g::Uno::Float4__New2(10.0f, 5.0f, 5.0f, 5.0f)); temp27->SourceLineNumber(27); temp27->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp27, 1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp27->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp28); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp27->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp31); temp28->Orientation(1); temp28->Alignment(10); temp28->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp28->SourceLineNumber(28); temp28->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp28->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp28->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp4); temp3->FontSize(15.0f); temp3->TextAlignment(2); temp3->TextColor(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp3->Alignment(3); temp3->SourceLineNumber(29); temp3->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp3->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp29); temp9->SourceLineNumber(29); temp9->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->FontSize(13.0f); temp4->TextAlignment(2); temp4->TextColor(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp4->Alignment(3); temp4->SourceLineNumber(30); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp4->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp30); temp10->SourceLineNumber(30); temp10->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp31->Width(::g::Uno::UX::Size__New1(60.0f, 1)); temp31->Height(::g::Uno::UX::Size__New1(60.0f, 1)); temp31->Alignment(0); temp31->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp31->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp31->SourceLineNumber(32); temp31->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp31->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::user08b5d607())); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp32->Stops()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Drawing::GradientStop_typeof(), NULL)), temp33); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp32->Stops()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Drawing::GradientStop_typeof(), NULL)), temp34); temp33->Offset(0.0f); temp33->Color(::g::Uno::Float4__New2(0.2784314f, 0.2509804f, 0.7058824f, 1.0f)); temp34->Offset(1.0f); temp34->Color(::g::Uno::Float4__New2(0.5490196f, 0.4509804f, 0.7607843f, 1.0f)); temp35->ColumnCount(3); temp35->Height(::g::Uno::UX::Size__New1(50.0f, 1)); temp35->Alignment(0); temp35->SourceLineNumber(40); temp35->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp35, 2); temp35->Background(temp72); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp35->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), page1Tab_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp35->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), page2Tab_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp35->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), page3Tab_1_po); uPtr(page1Tab_1_po)->Name(c_po::__selector11_); uPtr(page1Tab_1_po)->SourceLineNumber(41); uPtr(page1Tab_1_po)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(page1Tab_1_po, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(temp_eb70))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(page1Tab_1_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), tab1_item); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(page1Tab_1_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp37); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(page1Tab_1_po)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp_eb70); uPtr(tab1_item)->Text(uString::Const("\353\202\230\354\235\230\354\203\201\355\222\210\352\262\200\354\203\211")); uPtr(tab1_item)->Color1(uString::Const("#ffffff")); uPtr(tab1_item)->Name(c_po::__selector12_); uPtr(tab1_item)->SourceLineNumber(42); uPtr(tab1_item)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(tab1_item)->Background(temp36); temp37->SourceLineNumber(43); temp37->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp38); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp39); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp41); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp42); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp44); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp45); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp47); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp38, poItem); temp38->SourceLineNumber(44); temp38->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp39, temp40); temp39->SourceLineNumber(45); temp39->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp41, uString::Const("#000000")); temp41->SourceLineNumber(46); temp41->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp42, temp43); temp42->SourceLineNumber(48); temp42->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp44, uString::Const("#ffffff")); temp44->SourceLineNumber(49); temp44->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp45, temp46); temp45->SourceLineNumber(51); temp45->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp47, uString::Const("#ffffff")); temp47->SourceLineNumber(52); temp47->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp11->SourceLineNumber(41); temp11->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(page2Tab_1_po)->Name(c_po::__selector13_); uPtr(page2Tab_1_po)->SourceLineNumber(55); uPtr(page2Tab_1_po)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(page2Tab_1_po, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(temp_eb71))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(page2Tab_1_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), tab2_cart); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(page2Tab_1_po)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp_eb71); uPtr(tab2_cart)->Text(uString::Const("\354\236\245\353\260\224\352\265\254\353\213\210")); uPtr(tab2_cart)->Color1(uString::Const("#000000")); uPtr(tab2_cart)->Name(c_po::__selector14_); uPtr(tab2_cart)->SourceLineNumber(56); uPtr(tab2_cart)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(tab2_cart)->Background(temp59); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(tab2_cart)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp48); temp48->SourceLineNumber(57); temp48->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp48->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp49); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp48->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp50); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp48->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp52); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp48->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp53); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp48->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp55); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp48->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp56); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp48->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp58); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp49, poCart); temp49->SourceLineNumber(58); temp49->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp50, temp51); temp50->SourceLineNumber(59); temp50->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp52, uString::Const("#ffffff")); temp52->SourceLineNumber(60); temp52->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp53, temp54); temp53->SourceLineNumber(62); temp53->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp55, uString::Const("#000000")); temp55->SourceLineNumber(63); temp55->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp56, temp57); temp56->SourceLineNumber(65); temp56->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp58, uString::Const("#ffffff")); temp58->SourceLineNumber(66); temp58->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp12->SourceLineNumber(55); temp12->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(page3Tab_1_po)->Name(c_po::__selector15_); uPtr(page3Tab_1_po)->SourceLineNumber(71); uPtr(page3Tab_1_po)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(page3Tab_1_po, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(temp_eb72))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(page3Tab_1_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), tab3_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(page3Tab_1_po)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp_eb72); uPtr(tab3_po)->Text(uString::Const("\354\203\201\355\222\210\353\260\234\354\243\274")); uPtr(tab3_po)->Color1(uString::Const("#000000")); uPtr(tab3_po)->Name(c_po::__selector16_); uPtr(tab3_po)->SourceLineNumber(72); uPtr(tab3_po)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(tab3_po)->Background(temp71); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(tab3_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp60); temp60->SourceLineNumber(73); temp60->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp60->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp61); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp60->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp62); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp60->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp64); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp60->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp65); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp60->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp67); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp60->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp68); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp60->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp70); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp61, poOrder); temp61->SourceLineNumber(74); temp61->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp62, temp63); temp62->SourceLineNumber(75); temp62->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp64, uString::Const("#ffffff")); temp64->SourceLineNumber(76); temp64->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp65, temp66); temp65->SourceLineNumber(78); temp65->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp67, uString::Const("#ffffff")); temp67->SourceLineNumber(79); temp67->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp68, temp69); temp68->SourceLineNumber(81); temp68->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp70, uString::Const("#000000")); temp70->SourceLineNumber(82); temp70->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp13->SourceLineNumber(71); temp13->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(navigation_1_po)->Interaction(0); uPtr(navigation_1_po)->Alignment(0); uPtr(navigation_1_po)->Name(c_po::__selector17_); uPtr(navigation_1_po)->SourceLineNumber(90); uPtr(navigation_1_po)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(navigation_1_po, 4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(navigation_1_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), poItem); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(navigation_1_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), poCart); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(navigation_1_po)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), poOrder); uPtr(poItem)->Alignment(0); uPtr(poItem)->Padding(::g::Uno::Float4__New2(0.0f, 10.0f, 0.0f, 10.0f)); uPtr(poItem)->Name(c_po::__selector18_); uPtr(poItem)->SourceLineNumber(92); uPtr(poItem)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(poItem)->Background(temp86); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(poItem)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp73); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(poItem)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp74); temp73->DefaultPath(uString::Const("poItem1")); temp73->SourceLineNumber(95); temp73->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp73->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), router_item); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp73->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), poItem1); uPtr(router_item)->Name(c_po::__selector19_); uPtr(router_item)->SourceLineNumber(96); uPtr(router_item)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp74->Threshold(0.5f); temp74->SourceLineNumber(180); temp74->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp75); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp76); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp77); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp79); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp80); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp82); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp83); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp85); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp75, page1Tab_1_po); temp75->SourceLineNumber(181); temp75->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp76, uCRef(::g::Uno::Float4__New2(0.5176471f, 0.345098f, 0.8196079f, 1.0f))); temp76->SourceLineNumber(182); temp76->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp77, temp78); temp77->SourceLineNumber(184); temp77->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp79, uString::Const("#000000")); temp79->SourceLineNumber(185); temp79->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp80, temp81); temp80->SourceLineNumber(187); temp80->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp82, uString::Const("#ffffff")); temp82->SourceLineNumber(188); temp82->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp83, temp84); temp83->SourceLineNumber(190); temp83->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp85, uString::Const("#ffffff")); temp85->SourceLineNumber(191); temp85->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(poCart)->Alignment(0); uPtr(poCart)->Padding(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(poCart)->Name(c_po::__selector20_); uPtr(poCart)->SourceLineNumber(198); uPtr(poCart)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(poCart)->Background(temp100); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(poCart)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp87); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(poCart)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp88); temp87->DefaultPath(uString::Const("poCart1")); temp87->SourceLineNumber(200); temp87->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp87->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), router_cart); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp87->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), poCart1); uPtr(router_cart)->Name(c_po::__selector21_); uPtr(router_cart)->SourceLineNumber(201); uPtr(router_cart)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp88->Threshold(0.5f); temp88->SourceLineNumber(399); temp88->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp88->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp89); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp88->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp90); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp88->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp91); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp88->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp93); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp88->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp94); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp88->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp96); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp88->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp97); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp88->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp99); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp89, page2Tab_1_po); temp89->SourceLineNumber(400); temp89->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp90, uCRef(::g::Uno::Float4__New2(0.5176471f, 0.345098f, 0.8196079f, 1.0f))); temp90->SourceLineNumber(401); temp90->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp91, temp92); temp91->SourceLineNumber(403); temp91->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp93, uString::Const("#ffffff")); temp93->SourceLineNumber(404); temp93->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp94, temp95); temp94->SourceLineNumber(406); temp94->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp96, uString::Const("#000000")); temp96->SourceLineNumber(407); temp96->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp97, temp98); temp97->SourceLineNumber(409); temp97->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp99, uString::Const("#ffffff")); temp99->SourceLineNumber(410); temp99->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(poOrder)->Alignment(0); uPtr(poOrder)->Padding(::g::Uno::Float4__New2(0.0f, 10.0f, 0.0f, 10.0f)); uPtr(poOrder)->Name(c_po::__selector22_); uPtr(poOrder)->SourceLineNumber(416); uPtr(poOrder)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(poOrder)->Background(temp114); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(poOrder)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp101); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(poOrder)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp102); temp101->DefaultPath(uString::Const("poOrder1")); temp101->SourceLineNumber(418); temp101->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp101->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), router_order); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp101->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), poOrder1); uPtr(router_order)->Name(c_po::__selector23_); uPtr(router_order)->SourceLineNumber(419); uPtr(router_order)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp102->Threshold(0.5f); temp102->SourceLineNumber(811); temp102->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp103); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp104); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp105); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp107); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp108); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp110); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp111); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp113); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp103, page3Tab_1_po); temp103->SourceLineNumber(812); temp103->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp104, uCRef(::g::Uno::Float4__New2(0.5176471f, 0.345098f, 0.8196079f, 1.0f))); temp104->SourceLineNumber(813); temp104->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp105, temp106); temp105->SourceLineNumber(815); temp105->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp107, uString::Const("#ffffff")); temp107->SourceLineNumber(816); temp107->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp108, temp109); temp108->SourceLineNumber(818); temp108->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp110, uString::Const("#ffffff")); temp110->SourceLineNumber(819); temp110->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp111, temp112); temp111->SourceLineNumber(821); temp111->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp113, uString::Const("#000000")); temp113->SourceLineNumber(822); temp113->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp115->SourceLineNumber(829); temp115->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp115, 3); uPtr(__g_nametable1)->This(this); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), router); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), indicator_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), temp_eb69); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), page1Tab_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), tab1_item); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), temp_eb70); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), page2Tab_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), tab2_cart); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), temp_eb71); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), page3Tab_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), tab3_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), temp_eb72); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), navigation_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), poItem); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), router_item); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), poCart); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), router_cart); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), poOrder); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Objects()), ::g::Uno::Collections::ICollection_typeof()->MakeType(uObject_typeof(), NULL)), router_order); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Properties()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Property_typeof(), NULL)), this_Options_inst); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Properties()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Property_typeof(), NULL)), this_Selected_inst); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Properties()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Property_typeof(), NULL)), this_Options2_inst); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__g_nametable1)->Properties()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Property_typeof(), NULL)), this_Selected2_inst); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp14); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), indicator_1_po); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp17); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp18); } // public object get_Options() [instance] uObject* c_po::Options() { return _field_Options; } // public void set_Options(object value) [instance] void c_po::Options(uObject* value) { SetOptions(value, NULL); } // public object get_Options2() [instance] uObject* c_po::Options2() { return _field_Options2; } // public void set_Options2(object value) [instance] void c_po::Options2(uObject* value) { SetOptions2(value, NULL); } // public object get_Selected() [instance] uObject* c_po::Selected() { return _field_Selected; } // public void set_Selected(object value) [instance] void c_po::Selected(uObject* value) { SetSelected(value, NULL); } // public object get_Selected2() [instance] uObject* c_po::Selected2() { return _field_Selected2; } // public void set_Selected2(object value) [instance] void c_po::Selected2(uObject* value) { SetSelected2(value, NULL); } // public void SetOptions(object value, Uno.UX.IPropertyListener origin) [instance] void c_po::SetOptions(uObject* value, uObject* origin) { if (value != _field_Options) { _field_Options = value; OnPropertyChanged1(::g::Uno::UX::Selector__op_Implicit(uString::Const("Options")), origin); } } // public void SetOptions2(object value, Uno.UX.IPropertyListener origin) [instance] void c_po::SetOptions2(uObject* value, uObject* origin) { if (value != _field_Options2) { _field_Options2 = value; OnPropertyChanged1(::g::Uno::UX::Selector__op_Implicit(uString::Const("Options2")), origin); } } // public void SetSelected(object value, Uno.UX.IPropertyListener origin) [instance] void c_po::SetSelected(uObject* value, uObject* origin) { if (value != _field_Selected) { _field_Selected = value; OnPropertyChanged1(::g::Uno::UX::Selector__op_Implicit(uString::Const("Selected")), origin); } } // public void SetSelected2(object value, Uno.UX.IPropertyListener origin) [instance] void c_po::SetSelected2(uObject* value, uObject* origin) { if (value != _field_Selected2) { _field_Selected2 = value; OnPropertyChanged1(::g::Uno::UX::Selector__op_Implicit(uString::Const("Selected2")), origin); } } // public c_po New(Fuse.Navigation.Router router) [static] c_po* c_po::New5(::g::Fuse::Navigation::Router* router1) { c_po* obj1 = (c_po*)uNew(c_po_typeof()); obj1->ctor_8(router1); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template // { // static Template() static void c_po__Template__cctor__fn(uType* __type) { c_po__Template::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[36/*"Visibility"*/]); c_po__Template::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po__Template::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Items")); c_po__Template::__selector3_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("poItem1")); } static void c_po__Template_build(uType* type) { type->SetDependencies( ::g::HSMRO_bundle_typeof(), ::g::MainView_typeof()); type->SetFields(2, ::g::c_po_typeof(), offsetof(c_po__Template, __parent1), uFieldFlagsWeak, ::g::c_po_typeof(), offsetof(c_po__Template, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template, temp_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template, temp1_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po__Template, temp2_Items_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po__Template, temp3_Items_inst), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template, temp_eb73), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template, temp_eb74), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template::__selector2_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template::__selector3_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 14; options.DependencyCount = 2; options.ObjectSize = sizeof(c_po__Template); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template", options); type->fp_build_ = c_po__Template_build; type->fp_cctor_ = c_po__Template__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template__New1_fn; return type; } // public Template(c_po parent, c_po parentInstance) void c_po__Template__ctor_1_fn(c_po__Template* __this, ::g::c_po* parent, ::g::c_po* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template__New1_fn(c_po__Template* __this, uObject** __retval) { ::g::Fuse::Controls::Page* __self1 = ::g::Fuse::Controls::Page::New4(); ::g::Fuse::Reactive::Data* temp4 = ::g::Fuse::Reactive::Data::New1(uString::Const("backBtn_ios")); ::g::Fuse::Controls::Button* temp = ::g::Fuse::Controls::Button::New5(); __this->temp_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp, c_po__Template::__selector0_); ::g::Fuse::Reactive::Data* temp5 = ::g::Fuse::Reactive::Data::New1(uString::Const("device")); ::g::Fuse::Controls::TextInput* temp1 = ::g::Fuse::Controls::TextInput::New3(); __this->temp1_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(temp1, c_po__Template::__selector1_); ::g::Fuse::Reactive::Data* temp6 = ::g::Fuse::Reactive::Data::New1(uString::Const("search")); ::g::Fuse::Reactive::Data* temp7 = ::g::Fuse::Reactive::Data::New1(uString::Const("searchBtnClick")); ::g::Fuse::Reactive::WhileCount* temp2 = ::g::Fuse::Reactive::WhileCount::New2(); __this->temp2_Items_inst = ::g::HSMRO_FuseReactiveWhileCount_Items_Property::New1(temp2, c_po__Template::__selector2_); ::g::Fuse::Reactive::Data* temp8 = ::g::Fuse::Reactive::Data::New1(uString::Const("myItems")); ::g::Fuse::Reactive::Each* temp3 = ::g::Fuse::Reactive::Each::New4(); __this->temp3_Items_inst = ::g::HSMRO_FuseReactiveEach_Items_Property::New1(temp3, c_po__Template::__selector2_); ::g::Fuse::Reactive::Data* temp9 = ::g::Fuse::Reactive::Data::New1(uString::Const("myItems")); ::g::Fuse::Controls::DockPanel* temp10 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::DockPanel* temp11 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Image* temp12 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Controls::Text* temp13 = ::g::Fuse::Controls::Text::New3(); __this->temp_eb73 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp4); ::g::Fuse::Reactive::DataBinding* temp14 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp_Visibility_inst, (uObject*)temp5, 3); ::g::Fuse::Controls::Rectangle* temp15 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp16 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp1_Value_inst, (uObject*)temp6, 3); ::g::Fuse::Drawing::Stroke* temp17 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Controls::Button* temp18 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::Image* temp19 = ::g::Fuse::Controls::Image::New3(); __this->temp_eb74 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp7); ::g::Fuse::Controls::ScrollView* temp20 = ::g::Fuse::Controls::ScrollView::New4(); ::g::Fuse::Controls::DockPanel* temp21 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Text* temp22 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp23 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp2_Items_inst, (uObject*)temp8, 3); c_po__Template__Template1* MyItem = c_po__Template__Template1::New2(__this, __self1); c_po__Template__Template2* temp24 = c_po__Template__Template2::New2(__this, __self1); c_po__Template__Template3* temp25 = c_po__Template__Template3::New2(__this, __self1); ::g::Fuse::Reactive::DataBinding* temp26 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp3_Items_inst, (uObject*)temp9, 3); ::g::Fuse::Controls::Rectangle* temp27 = ::g::Fuse::Controls::Rectangle::New3(); __self1->Name(c_po__Template::__selector3_); __self1->SourceLineNumber(97); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp10->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp10->Alignment(0); temp10->SourceLineNumber(99); temp10->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp11); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp20); temp11->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp11->Alignment(4); temp11->SourceLineNumber(100); temp11->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp11, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp15); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp18); temp->Width(::g::Uno::UX::Size__New1(80.0f, 1)); temp->Alignment(4); temp->Margin(::g::Uno::Float4__New2(10.0f, 0.0f, 0.0f, 0.0f)); temp->SourceLineNumber(101); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp, 0); ::g::Fuse::Gestures::Clicked::AddHandler(temp, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb73))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp12); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp13); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb73); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp14); temp12->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.3490196f)); temp12->Height(::g::Uno::UX::Size__New1(20.0f, 1)); temp12->Alignment(9); temp12->SourceLineNumber(102); temp12->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp12->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::backeb15b2d1())); temp13->Value(uString::Const("BACK")); temp13->TextWrapping(0); temp13->FontSize(18.0f); temp13->TextAlignment(0); temp13->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.3490196f)); temp13->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp13->Alignment(0); temp13->Margin(::g::Uno::Float4__New2(20.0f, 5.0f, 0.0f, 0.0f)); temp13->SourceLineNumber(103); temp13->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->SourceLineNumber(101); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp5->SourceLineNumber(101); temp5->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp15->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp15->SourceLineNumber(105); temp15->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp15, 4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp17); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); temp1->PlaceholderText(uString::Const("\355\222\210\353\252\205, \352\267\234\352\262\251, \354\240\234\354\241\260\354\202\254 \352\262\200\354\203\211 (2\354\236\220 \354\235\264\354\203\201 \355\225\204\354\210\230)")); temp1->PlaceholderColor(::g::Uno::Float4__New2(0.7490196f, 0.7490196f, 0.7490196f, 1.0f)); temp1->FontSize(12.0f); temp1->TextAlignment(0); temp1->Alignment(0); temp1->Padding(::g::Uno::Float4__New2(10.0f, 0.0f, 0.0f, 0.0f)); temp1->SourceLineNumber(106); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp1, 0); temp1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp16); temp6->SourceLineNumber(106); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp17->Color(::g::Uno::Float4__New2(0.8117647f, 0.8117647f, 0.8117647f, 1.0f)); temp17->Width(1.0f); temp18->SourceLineNumber(109); temp18->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp18, 1); ::g::Fuse::Gestures::Clicked::AddHandler(temp18, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb74))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp18->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp19); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp18->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb74); temp19->Width(::g::Uno::UX::Size__New1(40.0f, 1)); temp19->Height(::g::Uno::UX::Size__New1(40.0f, 1)); temp19->Alignment(10); temp19->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp19->SourceLineNumber(110); temp19->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp19->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::searcha5959f16())); temp7->SourceLineNumber(109); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp20->SnapMinTransform(true); temp20->SnapMaxTransform(false); temp20->Height(::g::Uno::UX::Size__New1(85.0f, 4)); temp20->Alignment(0); temp20->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp20->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp20->SourceLineNumber(115); temp20->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp20, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp21); temp21->Alignment(0); temp21->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp21->SourceLineNumber(116); temp21->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp27); temp2->EqualTo(0); temp2->SourceLineNumber(117); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Nodes()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp22); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp23); temp22->Value(uString::Const("\352\262\200\354\203\211\352\262\260\352\263\274\352\260\200 \354\227\206\354\212\265\353\213\210\353\213\244.")); temp22->FontSize(15.0f); temp22->Alignment(10); temp22->Margin(::g::Uno::Float4__New2(0.0f, 20.0f, 0.0f, 0.0f)); temp22->SourceLineNumber(118); temp22->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp22, 2); temp22->Font(::g::MainView::AGOTHIC14()); temp8->SourceLineNumber(117); temp8->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp3->SourceLineNumber(120); temp3->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), MyItem); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp24); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp25); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp26); temp9->SourceLineNumber(120); temp9->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp27->Height(::g::Uno::UX::Size__New1(100.0f, 1)); temp27->Alignment(0); temp27->Opacity(1.0f); temp27->SourceLineNumber(174); temp27->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp27, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp10); return *__retval = __self1, void(); } // public Template New(c_po parent, c_po parentInstance) void c_po__Template__New2_fn(::g::c_po* parent, ::g::c_po* parentInstance, c_po__Template** __retval) { *__retval = c_po__Template::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template::__selector0_; ::g::Uno::UX::Selector c_po__Template::__selector1_; ::g::Uno::UX::Selector c_po__Template::__selector2_; ::g::Uno::UX::Selector c_po__Template::__selector3_; // public Template(c_po parent, c_po parentInstance) [instance] void c_po__Template::ctor_1(::g::c_po* parent, ::g::c_po* parentInstance) { ctor_(uString::Const("poItem1"), false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template New(c_po parent, c_po parentInstance) [static] c_po__Template* c_po__Template::New2(::g::c_po* parent, ::g::c_po* parentInstance) { c_po__Template* obj1 = (c_po__Template*)uNew(c_po__Template_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template1 // { // static Template1() static void c_po__Template1__cctor__fn(uType* __type) { c_po__Template1::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[1/*"Color"*/]); c_po__Template1::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po__Template1::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Items")); c_po__Template1::__selector3_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[36/*"Visibility"*/]); c_po__Template1::__selector4_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("poCart1")); c_po__Template1::__selector5_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("saveRect2")); c_po__Template1::__selector6_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("saveText2")); c_po__Template1::__selector7_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("removeRect2")); c_po__Template1::__selector8_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("removeText2")); c_po__Template1::__selector9_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("orderRect2")); c_po__Template1::__selector10_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("orderText2")); c_po__Template1::__selector11_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("TOTAL_AMT2")); c_po__Template1::__selector12_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("cartRect2")); c_po__Template1::__selector13_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("cartText2")); } static void c_po__Template1_build(uType* type) { type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::HSMRO_bundle_typeof(), ::g::MainView_typeof()); type->SetFields(2, ::g::c_po_typeof(), offsetof(c_po__Template1, __parent1), uFieldFlagsWeak, ::g::c_po_typeof(), offsetof(c_po__Template1, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, saveRect2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, saveText2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, saveRectStroke2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, removeRect2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, removeText2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, removeRectStroke2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, orderRect2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, orderText2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, orderRectStroke2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1, TOTAL_AMT2_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, cartRect2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, cartText2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1, cartRectStroke2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po__Template1, temp_Items_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template1, temp1_Visibility_inst), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template1, saveRect2), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template1, saveText2), 0, ::g::Fuse::Drawing::Stroke_typeof(), offsetof(c_po__Template1, saveRectStroke2), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1, temp_eb76), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template1, removeRect2), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template1, removeText2), 0, ::g::Fuse::Drawing::Stroke_typeof(), offsetof(c_po__Template1, removeRectStroke2), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1, temp_eb77), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template1, orderRect2), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template1, orderText2), 0, ::g::Fuse::Drawing::Stroke_typeof(), offsetof(c_po__Template1, orderRectStroke2), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1, temp_eb78), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template1, TOTAL_AMT2), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template1, cartRect2), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template1, cartText2), 0, ::g::Fuse::Drawing::Stroke_typeof(), offsetof(c_po__Template1, cartRectStroke2), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1, temp_eb79), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1, temp_eb84), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector2_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector3_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector4_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector5_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector6_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector7_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector8_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector9_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector10_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector11_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector12_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1::__selector13_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template1_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 51; options.DependencyCount = 3; options.ObjectSize = sizeof(c_po__Template1); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template1", options); type->fp_build_ = c_po__Template1_build; type->fp_cctor_ = c_po__Template1__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template1__New1_fn; return type; } // public Template1(c_po parent, c_po parentInstance) void c_po__Template1__ctor_1_fn(c_po__Template1* __this, ::g::c_po* parent, ::g::c_po* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template1__New1_fn(c_po__Template1* __this, uObject** __retval) { ::g::Fuse::Controls::Page* __self1 = ::g::Fuse::Controls::Page::New4(); __this->saveRect2 = ::g::Fuse::Controls::Rectangle::New3(); __this->saveRect2_Color_inst = ::g::HSMRO_FuseControlsShape_Color_Property::New1(__this->saveRect2, c_po__Template1::__selector0_); __this->saveText2 = ::g::Fuse::Controls::Text::New3(); __this->saveText2_Color_inst = ::g::HSMRO_FuseControlsTextControl_Color_Property::New1(__this->saveText2, c_po__Template1::__selector0_); __this->saveRectStroke2 = ::g::Fuse::Drawing::Stroke::New2(); __this->saveRectStroke2_Color_inst = ::g::HSMRO_FuseDrawingStroke_Color_Property::New1(__this->saveRectStroke2, c_po__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp2 = ::g::Fuse::Reactive::Data::New1(::STRINGS[45/*"saveItem2"*/]); __this->removeRect2 = ::g::Fuse::Controls::Rectangle::New3(); __this->removeRect2_Color_inst = ::g::HSMRO_FuseControlsShape_Color_Property::New1(__this->removeRect2, c_po__Template1::__selector0_); __this->removeText2 = ::g::Fuse::Controls::Text::New3(); __this->removeText2_Color_inst = ::g::HSMRO_FuseControlsTextControl_Color_Property::New1(__this->removeText2, c_po__Template1::__selector0_); __this->removeRectStroke2 = ::g::Fuse::Drawing::Stroke::New2(); __this->removeRectStroke2_Color_inst = ::g::HSMRO_FuseDrawingStroke_Color_Property::New1(__this->removeRectStroke2, c_po__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp3 = ::g::Fuse::Reactive::Data::New1(::STRINGS[60/*"deleteItem2"*/]); __this->orderRect2 = ::g::Fuse::Controls::Rectangle::New3(); __this->orderRect2_Color_inst = ::g::HSMRO_FuseControlsShape_Color_Property::New1(__this->orderRect2, c_po__Template1::__selector0_); __this->orderText2 = ::g::Fuse::Controls::Text::New3(); __this->orderText2_Color_inst = ::g::HSMRO_FuseControlsTextControl_Color_Property::New1(__this->orderText2, c_po__Template1::__selector0_); __this->orderRectStroke2 = ::g::Fuse::Drawing::Stroke::New2(); __this->orderRectStroke2_Color_inst = ::g::HSMRO_FuseDrawingStroke_Color_Property::New1(__this->orderRectStroke2, c_po__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp4 = ::g::Fuse::Reactive::Data::New1(uString::Const("order2Click")); __this->TOTAL_AMT2 = ::g::Fuse::Controls::Text::New3(); __this->TOTAL_AMT2_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->TOTAL_AMT2, c_po__Template1::__selector1_); ::g::Fuse::Reactive::Data* temp5 = ::g::Fuse::Reactive::Data::New1(uString::Const("TOTAL_AMT2")); __this->cartRect2 = ::g::Fuse::Controls::Rectangle::New3(); __this->cartRect2_Color_inst = ::g::HSMRO_FuseControlsShape_Color_Property::New1(__this->cartRect2, c_po__Template1::__selector0_); __this->cartText2 = ::g::Fuse::Controls::Text::New3(); __this->cartText2_Color_inst = ::g::HSMRO_FuseControlsTextControl_Color_Property::New1(__this->cartText2, c_po__Template1::__selector0_); __this->cartRectStroke2 = ::g::Fuse::Drawing::Stroke::New2(); __this->cartRectStroke2_Color_inst = ::g::HSMRO_FuseDrawingStroke_Color_Property::New1(__this->cartRectStroke2, c_po__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp6 = ::g::Fuse::Reactive::Data::New1(uString::Const("refresh2Click")); ::g::Fuse::Reactive::Each* temp = ::g::Fuse::Reactive::Each::New4(); __this->temp_Items_inst = ::g::HSMRO_FuseReactiveEach_Items_Property::New1(temp, c_po__Template1::__selector2_); ::g::Fuse::Reactive::Data* temp7 = ::g::Fuse::Reactive::Data::New1(uString::Const("items_cart")); ::g::Fuse::Reactive::Data* temp8 = ::g::Fuse::Reactive::Data::New1(uString::Const("backBtn_ios")); ::g::Fuse::Controls::Button* temp1 = ::g::Fuse::Controls::Button::New5(); __this->temp1_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp1, c_po__Template1::__selector3_); ::g::Fuse::Reactive::Data* temp9 = ::g::Fuse::Reactive::Data::New1(uString::Const("device")); ::g::Fuse::Controls::DockPanel* temp10 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::DockPanel* temp11 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Button* temp12 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::DockPanel* temp13 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Image* temp14 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Gestures::WhilePressed* temp15 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Scale* temp16 = ::g::Fuse::Animations::Scale::New2(); ::g::Fuse::Animations::Change* temp17 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->saveRect2_Color_inst); ::g::Fuse::Animations::Change* temp18 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->saveText2_Color_inst); ::g::Fuse::Animations::Change* temp19 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->saveRectStroke2_Color_inst); __this->temp_eb76 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp2); ::g::Fuse::Controls::Button* temp20 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::DockPanel* temp21 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Image* temp22 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Gestures::WhilePressed* temp23 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Scale* temp24 = ::g::Fuse::Animations::Scale::New2(); ::g::Fuse::Animations::Change* temp25 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->removeRect2_Color_inst); ::g::Fuse::Animations::Change* temp26 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->removeText2_Color_inst); ::g::Fuse::Animations::Change* temp27 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->removeRectStroke2_Color_inst); __this->temp_eb77 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp3); ::g::Fuse::Controls::Button* temp28 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::DockPanel* temp29 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Image* temp30 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Gestures::WhilePressed* temp31 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Scale* temp32 = ::g::Fuse::Animations::Scale::New2(); ::g::Fuse::Animations::Change* temp33 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->orderRect2_Color_inst); ::g::Fuse::Animations::Change* temp34 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->orderText2_Color_inst); ::g::Fuse::Animations::Change* temp35 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->orderRectStroke2_Color_inst); __this->temp_eb78 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp4); ::g::Fuse::Controls::Rectangle* temp36 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::DockPanel* temp37 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Text* temp38 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp39 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp40 = ::g::Fuse::Reactive::DataBinding::New1(__this->TOTAL_AMT2_Value_inst, (uObject*)temp5, 3); ::g::Fuse::Drawing::Stroke* temp41 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Controls::Button* temp42 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::DockPanel* temp43 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Image* temp44 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Gestures::WhilePressed* temp45 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Scale* temp46 = ::g::Fuse::Animations::Scale::New2(); ::g::Fuse::Animations::Change* temp47 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartRect2_Color_inst); ::g::Fuse::Animations::Change* temp48 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartText2_Color_inst); ::g::Fuse::Animations::Change* temp49 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartRectStroke2_Color_inst); __this->temp_eb79 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp6); ::g::Fuse::Controls::ScrollView* temp50 = ::g::Fuse::Controls::ScrollView::New4(); ::g::Fuse::Controls::DockPanel* temp51 = ::g::Fuse::Controls::DockPanel::New4(); ::g::CogWheelReload* temp52 = ::g::CogWheelReload::New4(); c_po__Template1__Template2* temp53 = c_po__Template1__Template2::New2(__this, __self1); c_po__Template1__Template3* temp54 = c_po__Template1__Template3::New2(__this, __self1); c_po__Template1__Template4* temp55 = c_po__Template1__Template4::New2(__this, __self1); ::g::Fuse::Reactive::DataBinding* temp56 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp_Items_inst, (uObject*)temp7, 3); ::g::Fuse::Controls::Rectangle* temp57 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::DockPanel* temp58 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Text* temp59 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Image* temp60 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Controls::Text* temp61 = ::g::Fuse::Controls::Text::New3(); __this->temp_eb84 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp8); ::g::Fuse::Reactive::DataBinding* temp62 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp1_Visibility_inst, (uObject*)temp9, 3); __self1->Name(c_po__Template1::__selector4_); __self1->SourceLineNumber(202); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp10->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp10->Alignment(0); temp10->SourceLineNumber(203); temp10->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp11); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp50); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp58); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); temp11->Alignment(4); temp11->SourceLineNumber(204); temp11->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp11, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp12); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp20); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp28); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp36); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp42); temp12->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp12->Alignment(10); temp12->Margin(::g::Uno::Float4__New2(5.0f, 0.0f, 5.0f, 0.0f)); temp12->SourceLineNumber(205); temp12->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp12, 0); ::g::Fuse::Gestures::Clicked::AddHandler(temp12, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb76))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp12->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->saveRect2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp12->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb76); uPtr(__this->saveRect2)->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->saveRect2)->Width(::g::Uno::UX::Size__New1(60.0f, 1)); uPtr(__this->saveRect2)->Name(c_po__Template1::__selector5_); uPtr(__this->saveRect2)->SourceLineNumber(206); uPtr(__this->saveRect2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->saveRect2)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), __this->saveRectStroke2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->saveRect2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp13); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->saveRect2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp15); temp13->Alignment(10); temp13->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp13->SourceLineNumber(207); temp13->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp13->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp14); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp13->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->saveText2); temp14->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp14->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp14->Alignment(9); temp14->SourceLineNumber(208); temp14->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp14, 0); temp14->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::savea678f1d3())); uPtr(__this->saveText2)->Value(::STRINGS[64/*"저장"*/]); uPtr(__this->saveText2)->TextWrapping(0); uPtr(__this->saveText2)->FontSize(13.0f); uPtr(__this->saveText2)->TextAlignment(0); uPtr(__this->saveText2)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->saveText2)->Alignment(9); uPtr(__this->saveText2)->Margin(::g::Uno::Float4__New2(0.0f, 3.0f, 0.0f, 0.0f)); uPtr(__this->saveText2)->Name(c_po__Template1::__selector6_); uPtr(__this->saveText2)->SourceLineNumber(209); uPtr(__this->saveText2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->saveText2, 0); uPtr(__this->saveText2)->Font(::g::MainView::AGOTHIC14()); uPtr(__this->saveRectStroke2)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->saveRectStroke2)->Width(1.0f); temp15->SourceLineNumber(212); temp15->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp16); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp17); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp18); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp19); temp16->Factor(0.95f); temp16->Duration(0.08); temp16->Easing(::g::Fuse::Animations::Easing::QuadraticOut()); ::g::Fuse::Animations::Change__set_Value_fn(temp17, uCRef(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp18, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp19, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); temp2->SourceLineNumber(205); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp20->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp20->Alignment(10); temp20->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 5.0f, 0.0f)); temp20->SourceLineNumber(220); temp20->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp20, 0); ::g::Fuse::Gestures::Clicked::AddHandler(temp20, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb77))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->removeRect2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb77); uPtr(__this->removeRect2)->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->removeRect2)->Width(::g::Uno::UX::Size__New1(60.0f, 1)); uPtr(__this->removeRect2)->Name(c_po__Template1::__selector7_); uPtr(__this->removeRect2)->SourceLineNumber(221); uPtr(__this->removeRect2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->removeRect2)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), __this->removeRectStroke2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->removeRect2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp21); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->removeRect2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp23); temp21->Alignment(10); temp21->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp21->SourceLineNumber(222); temp21->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp22); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->removeText2); temp22->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp22->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp22->Alignment(9); temp22->SourceLineNumber(223); temp22->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp22, 0); temp22->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::binaab12e07())); uPtr(__this->removeText2)->Value(::STRINGS[65/*"삭제"*/]); uPtr(__this->removeText2)->TextWrapping(0); uPtr(__this->removeText2)->FontSize(13.0f); uPtr(__this->removeText2)->TextAlignment(0); uPtr(__this->removeText2)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->removeText2)->Alignment(9); uPtr(__this->removeText2)->Margin(::g::Uno::Float4__New2(0.0f, 3.0f, 0.0f, 0.0f)); uPtr(__this->removeText2)->Name(c_po__Template1::__selector8_); uPtr(__this->removeText2)->SourceLineNumber(224); uPtr(__this->removeText2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->removeText2, 0); uPtr(__this->removeText2)->Font(::g::MainView::AGOTHIC14()); uPtr(__this->removeRectStroke2)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->removeRectStroke2)->Width(1.0f); temp23->SourceLineNumber(227); temp23->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp23->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp24); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp23->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp25); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp23->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp26); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp23->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp27); temp24->Factor(0.95f); temp24->Duration(0.08); temp24->Easing(::g::Fuse::Animations::Easing::QuadraticOut()); ::g::Fuse::Animations::Change__set_Value_fn(temp25, uCRef(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp26, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp27, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); temp3->SourceLineNumber(220); temp3->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp28->Width(::g::Uno::UX::Size__New1(80.0f, 1)); temp28->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp28->Alignment(10); temp28->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 5.0f, 0.0f)); temp28->SourceLineNumber(235); temp28->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp28, 1); ::g::Fuse::Gestures::Clicked::AddHandler(temp28, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb78))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp28->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->orderRect2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp28->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb78); uPtr(__this->orderRect2)->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->orderRect2)->Alignment(0); uPtr(__this->orderRect2)->Name(c_po__Template1::__selector9_); uPtr(__this->orderRect2)->SourceLineNumber(236); uPtr(__this->orderRect2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->orderRect2)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), __this->orderRectStroke2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->orderRect2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp29); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->orderRect2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp31); temp29->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp29->SourceLineNumber(237); temp29->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp29->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp30); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp29->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->orderText2); temp30->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp30->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp30->Alignment(9); temp30->SourceLineNumber(238); temp30->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp30, 0); temp30->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::send_ordere8ca2327())); uPtr(__this->orderText2)->Value(uString::Const("\354\203\201\355\222\210\353\260\234\354\243\274")); uPtr(__this->orderText2)->TextWrapping(0); uPtr(__this->orderText2)->FontSize(13.0f); uPtr(__this->orderText2)->TextAlignment(0); uPtr(__this->orderText2)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->orderText2)->Alignment(9); uPtr(__this->orderText2)->Margin(::g::Uno::Float4__New2(0.0f, 3.0f, 0.0f, 0.0f)); uPtr(__this->orderText2)->Name(c_po__Template1::__selector10_); uPtr(__this->orderText2)->SourceLineNumber(239); uPtr(__this->orderText2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->orderText2, 0); uPtr(__this->orderText2)->Font(::g::MainView::AGOTHIC14()); uPtr(__this->orderRectStroke2)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->orderRectStroke2)->Width(1.0f); temp31->SourceLineNumber(242); temp31->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp31->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp32); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp31->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp33); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp31->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp34); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp31->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp35); temp32->Factor(0.95f); temp32->Duration(0.08); temp32->Easing(::g::Fuse::Animations::Easing::QuadraticOut()); ::g::Fuse::Animations::Change__set_Value_fn(temp33, uCRef(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp34, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp35, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); temp4->SourceLineNumber(235); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp36->Width(::g::Uno::UX::Size__New1(115.0f, 1)); temp36->Alignment(10); temp36->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 5.0f, 0.0f)); temp36->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp36->SourceLineNumber(250); temp36->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp36, 1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp36->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp41); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp36->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp37); temp37->SourceLineNumber(251); temp37->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp38); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp39); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->TOTAL_AMT2); temp38->Value(uString::Const("\354\264\235")); temp38->FontSize(13.0f); temp38->TextAlignment(0); temp38->Alignment(1); temp38->SourceLineNumber(252); temp38->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp38, 0); temp38->Font(::g::MainView::AGOTHIC14()); temp39->Value(uString::Const("\354\233\220")); temp39->FontSize(13.0f); temp39->TextAlignment(2); temp39->Alignment(3); temp39->SourceLineNumber(253); temp39->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp39, 1); temp39->Font(::g::MainView::AGOTHIC14()); uPtr(__this->TOTAL_AMT2)->FontSize(13.0f); uPtr(__this->TOTAL_AMT2)->TextAlignment(2); uPtr(__this->TOTAL_AMT2)->Alignment(3); uPtr(__this->TOTAL_AMT2)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 3.0f, 0.0f)); uPtr(__this->TOTAL_AMT2)->Name(c_po__Template1::__selector11_); uPtr(__this->TOTAL_AMT2)->SourceLineNumber(254); uPtr(__this->TOTAL_AMT2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->TOTAL_AMT2, 1); uPtr(__this->TOTAL_AMT2)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->TOTAL_AMT2)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp40); temp5->SourceLineNumber(254); temp5->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp41->Color(::g::Uno::Float4__New2(0.8117647f, 0.8117647f, 0.8117647f, 1.0f)); temp41->Width(1.0f); temp42->Width(::g::Uno::UX::Size__New1(80.0f, 1)); temp42->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp42->Alignment(10); temp42->Visibility(2); temp42->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 5.0f, 0.0f)); temp42->SourceLineNumber(259); temp42->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp42, 4); ::g::Fuse::Gestures::Clicked::AddHandler(temp42, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb79))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp42->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->cartRect2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp42->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb79); uPtr(__this->cartRect2)->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->cartRect2)->Name(c_po__Template1::__selector12_); uPtr(__this->cartRect2)->SourceLineNumber(260); uPtr(__this->cartRect2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect2)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), __this->cartRectStroke2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp43); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp45); temp43->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp43->SourceLineNumber(261); temp43->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp43->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp44); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp43->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->cartText2); temp44->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp44->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp44->Alignment(9); temp44->SourceLineNumber(262); temp44->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp44, 0); temp44->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::refresh4c06b0ab())); uPtr(__this->cartText2)->Value(uString::Const("\354\203\210\353\241\234\352\263\240\354\271\250")); uPtr(__this->cartText2)->TextWrapping(0); uPtr(__this->cartText2)->FontSize(13.0f); uPtr(__this->cartText2)->TextAlignment(0); uPtr(__this->cartText2)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->cartText2)->Alignment(9); uPtr(__this->cartText2)->Margin(::g::Uno::Float4__New2(0.0f, 3.0f, 0.0f, 0.0f)); uPtr(__this->cartText2)->Name(c_po__Template1::__selector13_); uPtr(__this->cartText2)->SourceLineNumber(263); uPtr(__this->cartText2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->cartText2, 0); uPtr(__this->cartRectStroke2)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->cartRectStroke2)->Width(1.0f); temp45->SourceLineNumber(266); temp45->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp46); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp47); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp48); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp49); temp46->Factor(0.95f); temp46->Duration(0.08); temp46->Easing(::g::Fuse::Animations::Easing::QuadraticOut()); ::g::Fuse::Animations::Change__set_Value_fn(temp47, uCRef(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp48, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp49, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); temp6->SourceLineNumber(259); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp50->SnapMinTransform(false); temp50->Height(::g::Uno::UX::Size__New1(89.0f, 4)); temp50->Alignment(0); temp50->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp50->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp50->SourceLineNumber(289); temp50->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp50, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp50->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp51); temp51->Alignment(0); temp51->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp51->SourceLineNumber(290); temp51->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp51->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp52); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp51->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp51->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp57); temp52->SourceLineNumber(291); temp52->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp52, 2); temp->SourceLineNumber(292); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp53); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp54); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp55); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp56); temp7->SourceLineNumber(292); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp57->Height(::g::Uno::UX::Size__New1(100.0f, 1)); temp57->Alignment(0); temp57->Opacity(1.0f); temp57->SourceLineNumber(385); temp57->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp57, 2); temp58->SourceLineNumber(388); temp58->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp58, 3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp58->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp59); temp59->Value(uString::Const("\354\225\204\353\236\230\353\241\234 \353\213\271\352\270\260\353\251\264 \354\203\210\353\241\234\352\263\240\354\271\250")); temp59->FontSize(12.0f); temp59->TextAlignment(1); temp59->Color(::g::Uno::Float4__New2(0.4666667f, 0.4784314f, 0.6745098f, 1.0f)); temp59->Alignment(2); temp59->SourceLineNumber(389); temp59->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp59->Font(::g::MainView::AGOTHIC14()); temp1->Width(::g::Uno::UX::Size__New1(100.0f, 1)); temp1->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp1->Alignment(4); temp1->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp1->SourceLineNumber(391); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp1, 0); ::g::Fuse::Gestures::Clicked::AddHandler(temp1, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb84))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp60); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp61); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb84); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp62); temp60->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.3490196f)); temp60->Height(::g::Uno::UX::Size__New1(20.0f, 1)); temp60->Alignment(9); temp60->SourceLineNumber(392); temp60->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp60->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::backeb15b2d1())); temp61->Value(uString::Const("BACK")); temp61->TextWrapping(0); temp61->FontSize(18.0f); temp61->TextAlignment(0); temp61->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.3490196f)); temp61->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp61->Alignment(0); temp61->Margin(::g::Uno::Float4__New2(20.0f, 5.0f, 0.0f, 0.0f)); temp61->SourceLineNumber(393); temp61->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp61->Font(::g::MainView::AGOTHIC14()); temp8->SourceLineNumber(391); temp8->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp9->SourceLineNumber(391); temp9->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp10); return *__retval = __self1, void(); } // public Template1 New(c_po parent, c_po parentInstance) void c_po__Template1__New2_fn(::g::c_po* parent, ::g::c_po* parentInstance, c_po__Template1** __retval) { *__retval = c_po__Template1::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template1::__selector0_; ::g::Uno::UX::Selector c_po__Template1::__selector1_; ::g::Uno::UX::Selector c_po__Template1::__selector2_; ::g::Uno::UX::Selector c_po__Template1::__selector3_; ::g::Uno::UX::Selector c_po__Template1::__selector4_; ::g::Uno::UX::Selector c_po__Template1::__selector5_; ::g::Uno::UX::Selector c_po__Template1::__selector6_; ::g::Uno::UX::Selector c_po__Template1::__selector7_; ::g::Uno::UX::Selector c_po__Template1::__selector8_; ::g::Uno::UX::Selector c_po__Template1::__selector9_; ::g::Uno::UX::Selector c_po__Template1::__selector10_; ::g::Uno::UX::Selector c_po__Template1::__selector11_; ::g::Uno::UX::Selector c_po__Template1::__selector12_; ::g::Uno::UX::Selector c_po__Template1::__selector13_; // public Template1(c_po parent, c_po parentInstance) [instance] void c_po__Template1::ctor_1(::g::c_po* parent, ::g::c_po* parentInstance) { ctor_(uString::Const("poCart1"), false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template1 New(c_po parent, c_po parentInstance) [static] c_po__Template1* c_po__Template1::New2(::g::c_po* parent, ::g::c_po* parentInstance) { c_po__Template1* obj1 = (c_po__Template1*)uNew(c_po__Template1_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template.Template1 // { // static Template1() static void c_po__Template__Template1__cctor__fn(uType* __type) { c_po__Template__Template1::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po__Template__Template1::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[1/*"Color"*/]); c_po__Template__Template1::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[2/*"MyItem"*/]); c_po__Template__Template1::__selector3_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[3/*"MyItemDtl"*/]); c_po__Template__Template1::__selector4_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[4/*"cartRect"*/]); c_po__Template__Template1::__selector5_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[5/*"cartText"*/]); } static void c_po__Template__Template1_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[1] = uString::Const("Color"); ::STRINGS[2] = uString::Const("MyItem"); ::STRINGS[3] = uString::Const("MyItemDtl"); ::STRINGS[4] = uString::Const("cartRect"); ::STRINGS[5] = uString::Const("cartText"); ::STRINGS[6] = uString::Const("BP_ITEM_CD1"); ::STRINGS[7] = uString::Const("ITEM_NM1"); ::STRINGS[8] = uString::Const("SPEC1"); ::STRINGS[9] = uString::Const("MAKER1"); ::STRINGS[10] = uString::Const("EA1"); ::STRINGS[11] = uString::Const("PRICE1"); ::STRINGS[12] = uString::Const("REMARK1"); ::STRINGS[13] = uString::Const("ITEM_CD1"); ::STRINGS[14] = uString::Const("shopBtnClick"); ::STRINGS[15] = uString::Const("PO_QTY1"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::STRINGS[17] = uString::Const("auto, auto, auto, auto, auto"); ::STRINGS[18] = uString::Const("1*, 2*, 1*, 2*"); ::STRINGS[19] = uString::Const("100"); ::STRINGS[20] = uString::Const("\355\222\210\353\252\251\354\275\224\353\223\234"); ::STRINGS[21] = uString::Const("\355\222\210\353\252\205"); ::STRINGS[22] = uString::Const("\352\267\234\352\262\251"); ::STRINGS[23] = uString::Const("\354\240\234\354\241\260\354\202\254"); ::STRINGS[24] = uString::Const("\353\213\250\354\234\204"); ::STRINGS[25] = uString::Const("\353\213\250\352\260\200"); ::STRINGS[26] = uString::Const("\353\271\204\352\263\240"); ::STRINGS[27] = uString::Const("\354\236\245\353\260\224\352\265\254\353\213\210\353\213\264\352\270\260"); ::STRINGS[28] = uString::Const("(\354\236\205\353\240\245)"); ::STRINGS[29] = uString::Const("\353\260\234\354\243\274\354\210\230\353\237\211"); ::TYPES[0] = ::g::Fuse::Animations::Change_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL); ::TYPES[1] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); ::TYPES[3] = ::g::Fuse::Gestures::ClickedHandler_typeof(); ::TYPES[4] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Drawing::Stroke_typeof(), NULL); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::MainView_typeof()); type->SetFields(2, ::g::c_po__Template_typeof(), offsetof(c_po__Template__Template1, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template__Template1, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp1_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp2_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp4_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp5_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp6_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp7_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template__Template1, cartRect_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template__Template1, cartText_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template__Template1, cartRectStroke_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template__Template1, temp8_Value_inst), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template__Template1, MyItemDtl), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template__Template1, cartRect), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template__Template1, cartText), 0, ::g::Fuse::Drawing::Stroke_typeof(), offsetof(c_po__Template__Template1, cartRectStroke), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template__Template1, temp_eb75), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template__Template1::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template__Template1::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template__Template1::__selector2_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template__Template1::__selector3_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template__Template1::__selector4_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template__Template1::__selector5_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template__Template1_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 27; options.DependencyCount = 2; options.ObjectSize = sizeof(c_po__Template__Template1); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template.Template1", options); type->fp_build_ = c_po__Template__Template1_build; type->fp_cctor_ = c_po__Template__Template1__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template__Template1__New1_fn; return type; } // public Template1(c_po.Template parent, Fuse.Controls.Page parentInstance) void c_po__Template__Template1__ctor_1_fn(c_po__Template__Template1* __this, ::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template__Template1__New1_fn(c_po__Template__Template1* __this, uObject** __retval) { ::g::Fuse::Controls::Rectangle* __self1 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::Text* temp = ::g::Fuse::Controls::Text::New3(); __this->temp_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp9 = ::g::Fuse::Reactive::Data::New1(::STRINGS[6/*"BP_ITEM_CD1"*/]); ::g::Fuse::Controls::Text* temp1 = ::g::Fuse::Controls::Text::New3(); __this->temp1_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp1, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp10 = ::g::Fuse::Reactive::Data::New1(::STRINGS[7/*"ITEM_NM1"*/]); ::g::Fuse::Controls::Text* temp2 = ::g::Fuse::Controls::Text::New3(); __this->temp2_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp2, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp11 = ::g::Fuse::Reactive::Data::New1(::STRINGS[8/*"SPEC1"*/]); ::g::Fuse::Controls::Text* temp3 = ::g::Fuse::Controls::Text::New3(); __this->temp3_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp3, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp12 = ::g::Fuse::Reactive::Data::New1(::STRINGS[9/*"MAKER1"*/]); ::g::Fuse::Controls::Text* temp4 = ::g::Fuse::Controls::Text::New3(); __this->temp4_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp4, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp13 = ::g::Fuse::Reactive::Data::New1(::STRINGS[10/*"EA1"*/]); ::g::Fuse::Controls::Text* temp5 = ::g::Fuse::Controls::Text::New3(); __this->temp5_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp5, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp14 = ::g::Fuse::Reactive::Data::New1(::STRINGS[11/*"PRICE1"*/]); ::g::Fuse::Controls::Text* temp6 = ::g::Fuse::Controls::Text::New3(); __this->temp6_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp6, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp15 = ::g::Fuse::Reactive::Data::New1(::STRINGS[12/*"REMARK1"*/]); ::g::Fuse::Controls::Text* temp7 = ::g::Fuse::Controls::Text::New3(); __this->temp7_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp7, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp16 = ::g::Fuse::Reactive::Data::New1(::STRINGS[13/*"ITEM_CD1"*/]); __this->cartRect = ::g::Fuse::Controls::Rectangle::New3(); __this->cartRect_Color_inst = ::g::HSMRO_FuseControlsShape_Color_Property::New1(__this->cartRect, c_po__Template__Template1::__selector1_); __this->cartText = ::g::Fuse::Controls::Text::New3(); __this->cartText_Color_inst = ::g::HSMRO_FuseControlsTextControl_Color_Property::New1(__this->cartText, c_po__Template__Template1::__selector1_); __this->cartRectStroke = ::g::Fuse::Drawing::Stroke::New2(); __this->cartRectStroke_Color_inst = ::g::HSMRO_FuseDrawingStroke_Color_Property::New1(__this->cartRectStroke, c_po__Template__Template1::__selector1_); ::g::Fuse::Reactive::Data* temp17 = ::g::Fuse::Reactive::Data::New1(::STRINGS[14/*"shopBtnClick"*/]); ::g::Fuse::Controls::TextInput* temp8 = ::g::Fuse::Controls::TextInput::New3(); __this->temp8_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(temp8, c_po__Template__Template1::__selector0_); ::g::Fuse::Reactive::Data* temp18 = ::g::Fuse::Reactive::Data::New1(::STRINGS[15/*"PO_QTY1"*/]); __this->MyItemDtl = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::DockPanel* temp19 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Grid* temp20 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::Text* temp21 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp22 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp_Value_inst, (uObject*)temp9, 3); ::g::Fuse::Controls::Text* temp23 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp24 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp1_Value_inst, (uObject*)temp10, 3); ::g::Fuse::Controls::Text* temp25 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp26 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp2_Value_inst, (uObject*)temp11, 3); ::g::Fuse::Controls::Text* temp27 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp28 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp3_Value_inst, (uObject*)temp12, 3); ::g::Fuse::Controls::Text* temp29 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp30 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp4_Value_inst, (uObject*)temp13, 3); ::g::Fuse::Controls::Text* temp31 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp32 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp5_Value_inst, (uObject*)temp14, 3); ::g::Fuse::Controls::Text* temp33 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp34 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp6_Value_inst, (uObject*)temp15, 3); ::g::Fuse::Reactive::DataBinding* temp35 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp7_Value_inst, (uObject*)temp16, 3); ::g::Fuse::Controls::DockPanel* temp36 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Button* temp37 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Gestures::WhilePressed* temp38 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Scale* temp39 = ::g::Fuse::Animations::Scale::New2(); ::g::Fuse::Animations::Change* temp40 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartRect_Color_inst); ::g::Fuse::Animations::Change* temp41 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartText_Color_inst); ::g::Fuse::Animations::Change* temp42 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartRectStroke_Color_inst); __this->temp_eb75 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp17); ::g::Fuse::Controls::Rectangle* temp43 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp44 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp8_Value_inst, (uObject*)temp18, 3); ::g::Fuse::Controls::Text* temp45 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Drawing::Stroke* temp46 = ::g::Fuse::Drawing::Stroke::New2(); __self1->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); __self1->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 0.9098039f)); __self1->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 7.0f)); __self1->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 0.0f)); __self1->Name(c_po__Template__Template1::__selector2_); __self1->SourceLineNumber(122); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__self1, 2); uPtr(__this->MyItemDtl)->Width(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->MyItemDtl)->Name(c_po__Template__Template1::__selector3_); uPtr(__this->MyItemDtl)->SourceLineNumber(123); uPtr(__this->MyItemDtl)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->MyItemDtl)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp19); temp19->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp19->Alignment(0); temp19->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 0.0f, 5.0f)); temp19->SourceLineNumber(125); temp19->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp19, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp19->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp20); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp19->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp7); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp19->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp36); temp20->Rows(::STRINGS[17/*"auto, auto,...*/]); temp20->RowCount(5); temp20->Columns(::STRINGS[18/*"1*, 2*, 1*,...*/]); temp20->ColumnCount(4); temp20->DefaultColumn(::STRINGS[19/*"100"*/]); temp20->CellSpacing(3.0f); temp20->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp20->Alignment(0); temp20->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp20->SourceLineNumber(126); temp20->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp20, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp21); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp23); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp25); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp27); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp29); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp31); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp5); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp33); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp6); temp21->Value(::STRINGS[20/*"품목코드"*/]); temp21->FontSize(12.0f); temp21->Alignment(9); temp21->SourceLineNumber(127); temp21->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp21->Font(::g::MainView::AGOTHIC14()); temp->FontSize(12.0f); temp->Alignment(9); temp->SourceLineNumber(128); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp22); temp9->SourceLineNumber(128); temp9->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp23->Value(::STRINGS[21/*"품명"*/]); temp23->FontSize(12.0f); temp23->Alignment(9); temp23->SourceLineNumber(129); temp23->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp23->Font(::g::MainView::AGOTHIC14()); temp1->TextWrapping(1); temp1->FontSize(12.0f); temp1->Alignment(9); temp1->SourceLineNumber(130); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp24); temp10->SourceLineNumber(130); temp10->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp25->Value(::STRINGS[22/*"규격"*/]); temp25->FontSize(12.0f); temp25->TextAlignment(2); temp25->Alignment(9); temp25->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp25->SourceLineNumber(131); temp25->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp25->Font(::g::MainView::AGOTHIC14()); temp2->TextWrapping(1); temp2->FontSize(12.0f); temp2->TextAlignment(0); temp2->Alignment(9); temp2->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp2->SourceLineNumber(132); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp2->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp26); temp11->SourceLineNumber(132); temp11->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp27->Value(::STRINGS[23/*"제조사"*/]); temp27->FontSize(12.0f); temp27->TextAlignment(2); temp27->Alignment(9); temp27->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp27->SourceLineNumber(133); temp27->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp27->Font(::g::MainView::AGOTHIC14()); temp3->TextWrapping(1); temp3->FontSize(12.0f); temp3->TextAlignment(0); temp3->Alignment(9); temp3->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp3->SourceLineNumber(134); temp3->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp3->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp28); temp12->SourceLineNumber(134); temp12->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp29->Value(::STRINGS[24/*"단위"*/]); temp29->FontSize(12.0f); temp29->TextAlignment(2); temp29->Alignment(9); temp29->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp29->SourceLineNumber(135); temp29->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp29->Font(::g::MainView::AGOTHIC14()); temp4->FontSize(12.0f); temp4->TextAlignment(2); temp4->Alignment(9); temp4->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp4->SourceLineNumber(136); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp4->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp30); temp13->SourceLineNumber(136); temp13->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp31->Value(::STRINGS[25/*"단가"*/]); temp31->FontSize(12.0f); temp31->TextAlignment(2); temp31->Alignment(9); temp31->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp31->SourceLineNumber(137); temp31->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp31->Font(::g::MainView::AGOTHIC14()); temp5->FontSize(12.0f); temp5->TextAlignment(2); temp5->Alignment(9); temp5->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp5->SourceLineNumber(138); temp5->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp5->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp5->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp32); temp14->SourceLineNumber(138); temp14->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp33->Value(::STRINGS[26/*"비고"*/]); temp33->FontSize(12.0f); temp33->TextAlignment(2); temp33->Alignment(9); temp33->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp33->SourceLineNumber(139); temp33->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp33->Font(::g::MainView::AGOTHIC14()); temp6->FontSize(12.0f); temp6->TextAlignment(2); temp6->Alignment(9); temp6->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp6->SourceLineNumber(140); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp6, 3); temp6->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp6->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp34); temp15->SourceLineNumber(140); temp15->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp7->FontSize(12.0f); temp7->Width(::g::Uno::UX::Size__New1(1.0f, 1)); temp7->Height(::g::Uno::UX::Size__New1(1.0f, 1)); temp7->Alignment(13); temp7->Visibility(2); temp7->SourceLineNumber(142); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp7->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp7->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp35); temp16->SourceLineNumber(142); temp16->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp36->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp36->Alignment(0); temp36->Margin(::g::Uno::Float4__New2(0.0f, 10.0f, 0.0f, 0.0f)); temp36->SourceLineNumber(143); temp36->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp36, 2); ::g::Fuse::Controls::Grid::SetColumnSpan(temp36, 4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp36->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->cartRect); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp36->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp8); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp36->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp45); uPtr(__this->cartRect)->CornerRadius(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); uPtr(__this->cartRect)->Width(::g::Uno::UX::Size__New1(80.0f, 1)); uPtr(__this->cartRect)->Height(::g::Uno::UX::Size__New1(25.0f, 1)); uPtr(__this->cartRect)->Name(c_po__Template__Template1::__selector4_); uPtr(__this->cartRect)->SourceLineNumber(144); uPtr(__this->cartRect)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->cartRect, 1); ::g::Fuse::Gestures::Clicked::AddHandler(__this->cartRect, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb75))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), __this->cartRectStroke); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp37); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp38); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb75); temp37->Alignment(0); temp37->SourceLineNumber(145); temp37->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp37, 1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp37->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->cartText); uPtr(__this->cartText)->Value(::STRINGS[27/*"장바구니담기"*/]); uPtr(__this->cartText)->FontSize(11.0f); uPtr(__this->cartText)->Alignment(10); uPtr(__this->cartText)->Name(c_po__Template__Template1::__selector5_); uPtr(__this->cartText)->SourceLineNumber(146); uPtr(__this->cartText)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->cartText)->Font(::g::MainView::AGOTHIC14()); uPtr(__this->cartRectStroke)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->cartRectStroke)->Width(1.0f); temp38->SourceLineNumber(150); temp38->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp38->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp39); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp38->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp40); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp38->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp41); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp38->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp42); temp39->Factor(0.95f); temp39->Duration(0.08); temp39->Easing(::g::Fuse::Animations::Easing::QuadraticOut()); ::g::Fuse::Animations::Change__set_Value_fn(temp40, uCRef(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp41, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp42, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); temp17->SourceLineNumber(144); temp17->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp8->PlaceholderText(::STRINGS[28/*"(입력)"*/]); temp8->PlaceholderColor(::g::Uno::Float4__New2(0.854902f, 0.145098f, 0.1568628f, 0.5490196f)); temp8->FontSize(14.0f); temp8->TextAlignment(1); temp8->InputHint(4); temp8->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp8->Alignment(9); temp8->Margin(::g::Uno::Float4__New2(10.0f, 0.0f, 0.0f, 0.0f)); temp8->SourceLineNumber(157); temp8->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp8, 1); temp8->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp43); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp44); temp43->Color(::g::Uno::Float4__New2(0.8117647f, 0.8117647f, 0.8117647f, 1.0f)); temp43->Width(::g::Uno::UX::Size__New1(80.0f, 1)); temp43->Height(::g::Uno::UX::Size__New1(1.0f, 1)); temp43->Alignment(13); temp43->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp43->SourceLineNumber(158); temp43->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp18->SourceLineNumber(157); temp18->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp45->Value(::STRINGS[29/*"발주수량"*/]); temp45->FontSize(15.0f); temp45->TextAlignment(0); temp45->Alignment(9); temp45->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp45->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp45->SourceLineNumber(160); temp45->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp45, 1); temp45->Font(::g::MainView::AGOTHIC14()); temp46->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.1529412f)); temp46->Width(1.0f); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp46); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->MyItemDtl); return *__retval = __self1, void(); } // public Template1 New(c_po.Template parent, Fuse.Controls.Page parentInstance) void c_po__Template__Template1__New2_fn(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template__Template1** __retval) { *__retval = c_po__Template__Template1::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template__Template1::__selector0_; ::g::Uno::UX::Selector c_po__Template__Template1::__selector1_; ::g::Uno::UX::Selector c_po__Template__Template1::__selector2_; ::g::Uno::UX::Selector c_po__Template__Template1::__selector3_; ::g::Uno::UX::Selector c_po__Template__Template1::__selector4_; ::g::Uno::UX::Selector c_po__Template__Template1::__selector5_; // public Template1(c_po.Template parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template__Template1::ctor_1(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template1 New(c_po.Template parent, Fuse.Controls.Page parentInstance) [static] c_po__Template__Template1* c_po__Template__Template1::New2(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template__Template1* obj1 = (c_po__Template__Template1*)uNew(c_po__Template__Template1_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template10 // { // static Template10() static void c_po__Template2__Template10__cctor__fn(uType* __type) { c_po__Template2__Template10::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); } static void c_po__Template2__Template10_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[30] = uString::Const("APPR_USR_ID3"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); type->SetDependencies( ::g::MainView_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template10, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template10, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template10, __self_Value_inst1), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template10::__selector0_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template10_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 6; options.DependencyCount = 1; options.ObjectSize = sizeof(c_po__Template2__Template10); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template10", options); type->fp_build_ = c_po__Template2__Template10_build; type->fp_cctor_ = c_po__Template2__Template10__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template10__New1_fn; return type; } // public Template10(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template10__ctor_1_fn(c_po__Template2__Template10* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template10__New1_fn(c_po__Template2__Template10* __this, uObject** __retval) { ::g::Fuse::Controls::Text* __self1 = ::g::Fuse::Controls::Text::New3(); __this->__self_Value_inst1 = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__self1, c_po__Template2__Template10::__selector0_); ::g::Fuse::Reactive::Data* temp = ::g::Fuse::Reactive::Data::New1(::STRINGS[30/*"APPR_USR_ID3"*/]); ::g::Fuse::Reactive::DataBinding* temp1 = ::g::Fuse::Reactive::DataBinding::New1(__this->__self_Value_inst1, (uObject*)temp, 3); __self1->LineSpacing(0.0f); __self1->FontSize(13.0f); __self1->TextAlignment(1); __self1->Alignment(10); __self1->SourceLineNumber(754); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->SourceLineNumber(754); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); __self1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp1); return *__retval = __self1, void(); } // public Template10 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template10__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template10** __retval) { *__retval = c_po__Template2__Template10::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template10::__selector0_; // public Template10(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template10::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template10 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template10* c_po__Template2__Template10::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template10* obj1 = (c_po__Template2__Template10*)uNew(c_po__Template2__Template10_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template11 // { // static Template11() static void c_po__Template2__Template11__cctor__fn(uType* __type) { c_po__Template2__Template11::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); } static void c_po__Template2__Template11_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[31] = uString::Const("APPR_USR_NM3"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); type->SetDependencies( ::g::MainView_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template11, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template11, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template11, __self_Value_inst1), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template11::__selector0_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template11_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 6; options.DependencyCount = 1; options.ObjectSize = sizeof(c_po__Template2__Template11); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template11", options); type->fp_build_ = c_po__Template2__Template11_build; type->fp_cctor_ = c_po__Template2__Template11__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template11__New1_fn; return type; } // public Template11(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template11__ctor_1_fn(c_po__Template2__Template11* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template11__New1_fn(c_po__Template2__Template11* __this, uObject** __retval) { ::g::Fuse::Controls::Text* __self1 = ::g::Fuse::Controls::Text::New3(); __this->__self_Value_inst1 = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__self1, c_po__Template2__Template11::__selector0_); ::g::Fuse::Reactive::Data* temp = ::g::Fuse::Reactive::Data::New1(::STRINGS[31/*"APPR_USR_NM3"*/]); ::g::Fuse::Reactive::DataBinding* temp1 = ::g::Fuse::Reactive::DataBinding::New1(__this->__self_Value_inst1, (uObject*)temp, 3); __self1->FontSize(13.0f); __self1->TextAlignment(1); __self1->Alignment(10); __self1->SourceLineNumber(755); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->SourceLineNumber(755); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); __self1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp1); return *__retval = __self1, void(); } // public Template11 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template11__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template11** __retval) { *__retval = c_po__Template2__Template11::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template11::__selector0_; // public Template11(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template11::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template11 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template11* c_po__Template2__Template11::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template11* obj1 = (c_po__Template2__Template11*)uNew(c_po__Template2__Template11_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template12 // { // static Template12() static void c_po__Template2__Template12__cctor__fn(uType* __type) { c_po__Template2__Template12::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); } static void c_po__Template2__Template12_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[32] = uString::Const("APPR_JIKGUB3"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); type->SetDependencies( ::g::MainView_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template12, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template12, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template12, __self_Value_inst1), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template12::__selector0_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template12_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 6; options.DependencyCount = 1; options.ObjectSize = sizeof(c_po__Template2__Template12); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template12", options); type->fp_build_ = c_po__Template2__Template12_build; type->fp_cctor_ = c_po__Template2__Template12__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template12__New1_fn; return type; } // public Template12(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template12__ctor_1_fn(c_po__Template2__Template12* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template12__New1_fn(c_po__Template2__Template12* __this, uObject** __retval) { ::g::Fuse::Controls::Text* __self1 = ::g::Fuse::Controls::Text::New3(); __this->__self_Value_inst1 = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__self1, c_po__Template2__Template12::__selector0_); ::g::Fuse::Reactive::Data* temp = ::g::Fuse::Reactive::Data::New1(::STRINGS[32/*"APPR_JIKGUB3"*/]); ::g::Fuse::Reactive::DataBinding* temp1 = ::g::Fuse::Reactive::DataBinding::New1(__this->__self_Value_inst1, (uObject*)temp, 3); __self1->FontSize(13.0f); __self1->TextAlignment(1); __self1->Alignment(10); __self1->SourceLineNumber(756); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->SourceLineNumber(756); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); __self1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp1); return *__retval = __self1, void(); } // public Template12 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template12__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template12** __retval) { *__retval = c_po__Template2__Template12::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template12::__selector0_; // public Template12(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template12::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template12 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template12* c_po__Template2__Template12::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template12* obj1 = (c_po__Template2__Template12*)uNew(c_po__Template2__Template12_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template13 // { // static Template13() static void c_po__Template2__Template13__cctor__fn(uType* __type) { c_po__Template2__Template13::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); } static void c_po__Template2__Template13_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[33] = uString::Const("APPR_DEPT_NM3"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); type->SetDependencies( ::g::MainView_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template13, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template13, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template13, __self_Value_inst1), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template13::__selector0_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template13_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 6; options.DependencyCount = 1; options.ObjectSize = sizeof(c_po__Template2__Template13); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template13", options); type->fp_build_ = c_po__Template2__Template13_build; type->fp_cctor_ = c_po__Template2__Template13__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template13__New1_fn; return type; } // public Template13(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template13__ctor_1_fn(c_po__Template2__Template13* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template13__New1_fn(c_po__Template2__Template13* __this, uObject** __retval) { ::g::Fuse::Controls::Text* __self1 = ::g::Fuse::Controls::Text::New3(); __this->__self_Value_inst1 = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__self1, c_po__Template2__Template13::__selector0_); ::g::Fuse::Reactive::Data* temp = ::g::Fuse::Reactive::Data::New1(::STRINGS[33/*"APPR_DEPT_NM3"*/]); ::g::Fuse::Reactive::DataBinding* temp1 = ::g::Fuse::Reactive::DataBinding::New1(__this->__self_Value_inst1, (uObject*)temp, 3); __self1->FontSize(13.0f); __self1->TextAlignment(1); __self1->Alignment(10); __self1->SourceLineNumber(757); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->SourceLineNumber(757); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); __self1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp1); return *__retval = __self1, void(); } // public Template13 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template13__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template13** __retval) { *__retval = c_po__Template2__Template13::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template13::__selector0_; // public Template13(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template13::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template13 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template13* c_po__Template2__Template13::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template13* obj1 = (c_po__Template2__Template13*)uNew(c_po__Template2__Template13_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template14 // { // static Template14() static void c_po__Template2__Template14__cctor__fn(uType* __type) { } static void c_po__Template2__Template14_build(uType* type) { ::STRINGS[34] = uString::Const("remove_line"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[3] = ::g::Fuse::Gestures::ClickedHandler_typeof(); ::TYPES[1] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); type->SetDependencies( ::g::HSMRO_bundle_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template14, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template14, __parentInstance1), uFieldFlagsWeak, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2__Template14, temp_eb98), 0); } ::g::Uno::UX::Template_type* c_po__Template2__Template14_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 5; options.DependencyCount = 1; options.ObjectSize = sizeof(c_po__Template2__Template14); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template14", options); type->fp_build_ = c_po__Template2__Template14_build; type->fp_cctor_ = c_po__Template2__Template14__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template14__New1_fn; return type; } // public Template14(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template14__ctor_1_fn(c_po__Template2__Template14* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template14__New1_fn(c_po__Template2__Template14* __this, uObject** __retval) { ::g::Fuse::Controls::Button* __self1 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Reactive::Data* temp = ::g::Fuse::Reactive::Data::New1(::STRINGS[34/*"remove_line"*/]); ::g::Fuse::Controls::Image* temp1 = ::g::Fuse::Controls::Image::New3(); __this->temp_eb98 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp); __self1->Alignment(10); __self1->Padding(::g::Uno::Float4__New2(0.0f, 5.0f, 0.0f, 5.0f)); __self1->SourceLineNumber(758); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(__self1, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb98))); temp1->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp1->Alignment(10); temp1->Padding(::g::Uno::Float4__New2(3.0f, 3.0f, 3.0f, 3.0f)); temp1->SourceLineNumber(759); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp1->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::remove08a6bdbe())); temp->SourceLineNumber(758); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb98); return *__retval = __self1, void(); } // public Template14 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template14__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template14** __retval) { *__retval = c_po__Template2__Template14::New2(parent, parentInstance); } // public Template14(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template14::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template14 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template14* c_po__Template2__Template14::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template14* obj1 = (c_po__Template2__Template14*)uNew(c_po__Template2__Template14_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template1.Template2 // { // static Template2() static void c_po__Template1__Template2__cctor__fn(uType* __type) { c_po__Template1__Template2::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[35/*"Opacity"*/]); c_po__Template1__Template2::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po__Template1__Template2::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[1/*"Color"*/]); c_po__Template1__Template2::__selector3_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[36/*"Visibility"*/]); c_po__Template1__Template2::__selector4_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[37/*"Height"*/]); c_po__Template1__Template2::__selector5_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[2/*"MyItem"*/]); c_po__Template1__Template2::__selector6_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[3/*"MyItemDtl"*/]); c_po__Template1__Template2::__selector7_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[38/*"checkCircle"*/]); c_po__Template1__Template2::__selector8_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[39/*"checkImage"*/]); c_po__Template1__Template2::__selector9_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[40/*"toggleCheck"*/]); c_po__Template1__Template2::__selector10_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[41/*"grid2"*/]); c_po__Template1__Template2::__selector11_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[42/*"PO_QTY2"*/]); c_po__Template1__Template2::__selector12_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[43/*"changeQtyText"*/]); c_po__Template1__Template2::__selector13_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[44/*"CheckValue"*/]); c_po__Template1__Template2::__selector14_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[45/*"saveItem2"*/]); c_po__Template1__Template2::__selector15_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[46/*"DeleteNode"*/]); c_po__Template1__Template2::__selector16_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[47/*"DeleteSwipe"*/]); } static void c_po__Template1__Template2_build(uType* type) { ::STRINGS[35] = uString::Const("Opacity"); ::STRINGS[0] = uString::Const("Value"); ::STRINGS[1] = uString::Const("Color"); ::STRINGS[36] = uString::Const("Visibility"); ::STRINGS[37] = uString::Const("Height"); ::STRINGS[2] = uString::Const("MyItem"); ::STRINGS[3] = uString::Const("MyItemDtl"); ::STRINGS[38] = uString::Const("checkCircle"); ::STRINGS[39] = uString::Const("checkImage"); ::STRINGS[40] = uString::Const("toggleCheck"); ::STRINGS[41] = uString::Const("grid2"); ::STRINGS[42] = uString::Const("PO_QTY2"); ::STRINGS[43] = uString::Const("changeQtyText"); ::STRINGS[44] = uString::Const("CheckValue"); ::STRINGS[45] = uString::Const("saveItem2"); ::STRINGS[46] = uString::Const("DeleteNode"); ::STRINGS[47] = uString::Const("DeleteSwipe"); ::STRINGS[48] = uString::Const("calcTotalAmt"); ::STRINGS[49] = uString::Const("BP_ITEM_CD2"); ::STRINGS[50] = uString::Const("ITEM_NM2"); ::STRINGS[51] = uString::Const("SPEC2"); ::STRINGS[52] = uString::Const("MAKER2"); ::STRINGS[53] = uString::Const("EA2"); ::STRINGS[54] = uString::Const("PRICE2"); ::STRINGS[55] = uString::Const(" \354\233\220"); ::STRINGS[56] = uString::Const("changeQty2"); ::STRINGS[57] = uString::Const("PO_AMT2"); ::STRINGS[58] = uString::Const("ITEM_CD2"); ::STRINGS[59] = uString::Const("Check2"); ::STRINGS[60] = uString::Const("deleteItem2"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::STRINGS[61] = uString::Const("Y"); ::STRINGS[17] = uString::Const("auto, auto, auto, auto, auto"); ::STRINGS[18] = uString::Const("1*, 2*, 1*, 2*"); ::STRINGS[20] = uString::Const("\355\222\210\353\252\251\354\275\224\353\223\234"); ::STRINGS[21] = uString::Const("\355\222\210\353\252\205"); ::STRINGS[22] = uString::Const("\352\267\234\352\262\251"); ::STRINGS[23] = uString::Const("\354\240\234\354\241\260\354\202\254"); ::STRINGS[24] = uString::Const("\353\213\250\354\234\204"); ::STRINGS[25] = uString::Const("\353\213\250\352\260\200"); ::STRINGS[29] = uString::Const("\353\260\234\354\243\274\354\210\230\353\237\211"); ::STRINGS[62] = uString::Const("\353\260\234\354\243\274\352\270\210\354\225\241"); ::STRINGS[63] = uString::Const("\353\260\234\354\243\274\354\210\230\353\237\211 \353\263\200\352\262\275 \355\233\204 \353\260\230\353\223\234\354\213\234 \354\240\200\354\236\245\355\225\230\354\204\270\354\232\224. (\354\231\274\354\252\275\354\234\274\353\241\234 \353\260\200\352\270\260 \353\230\220\353\212\224 \354\203\201\353\213\250 \354\240\200\354\236\245)"); ::STRINGS[64] = uString::Const("\354\240\200\354\236\245"); ::STRINGS[65] = uString::Const("\354\202\255\354\240\234"); ::TYPES[6] = ::g::Fuse::Animations::Change_typeof()->MakeType(::g::Uno::Float_typeof(), NULL); ::TYPES[7] = ::g::Fuse::Animations::Change_typeof()->MakeType(::g::Uno::String_typeof(), NULL); ::TYPES[0] = ::g::Fuse::Animations::Change_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL); ::TYPES[8] = ::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL); ::TYPES[4] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Drawing::Stroke_typeof(), NULL); ::TYPES[1] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); ::TYPES[9] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Triggers::Actions::TriggerAction_typeof(), NULL); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); ::TYPES[10] = ::g::Fuse::VisualEventHandler_typeof(); ::TYPES[11] = ::g::Uno::UX::ValueChangedHandler_typeof()->MakeType(::g::Uno::String_typeof(), NULL); ::TYPES[3] = ::g::Fuse::Gestures::ClickedHandler_typeof(); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::HSMRO_bundle_typeof(), ::g::MainView_typeof(), ::g::Fuse::TranslationModes_typeof()); type->SetFields(2, ::g::c_po__Template1_typeof(), offsetof(c_po__Template1__Template2, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template1__Template2, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float_typeof(), NULL), offsetof(c_po__Template1__Template2, checkImage_Opacity_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, CheckValue_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1__Template2, MyItem_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, temp_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, temp1_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, temp2_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, temp3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, temp4_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, temp5_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, PO_QTY2_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template1__Template2, changeQtyText_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, temp6_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template1__Template2, temp7_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::UX::Size_typeof(), NULL), offsetof(c_po__Template1__Template2, saveItem2_Height_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::UX::Size_typeof(), NULL), offsetof(c_po__Template1__Template2, temp8_Height_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template1__Template2, BackFill_Color_inst), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template1__Template2, MyItem), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template1__Template2, MyItemDtl), 0, ::g::Fuse::Controls::Circle_typeof(), offsetof(c_po__Template1__Template2, checkCircle), 0, ::g::Fuse::Controls::Image_typeof(), offsetof(c_po__Template1__Template2, checkImage), 0, ::g::Fuse::Triggers::WhileTrue_typeof(), offsetof(c_po__Template1__Template2, toggleCheck), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1__Template2, temp_eb80), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template1__Template2, grid2), 0, ::g::Fuse::Controls::TextInput_typeof(), offsetof(c_po__Template1__Template2, PO_QTY2), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1__Template2, temp_eb81), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template1__Template2, changeQtyText), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template1__Template2, CheckValue), 0, ::g::Fuse::Drawing::Stroke_typeof(), offsetof(c_po__Template1__Template2, BackFill), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template1__Template2, saveItem2), 0, ::g::Fuse::Controls::Panel_typeof(), offsetof(c_po__Template1__Template2, DeleteNode), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1__Template2, temp_eb82), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template1__Template2, temp_eb83), 0, ::g::Fuse::Gestures::SwipeGesture_typeof(), offsetof(c_po__Template1__Template2, DeleteSwipe), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector2_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector3_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector4_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector5_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector6_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector7_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector8_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector9_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector10_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector11_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector12_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector13_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector14_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector15_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template1__Template2::__selector16_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template1__Template2_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 54; options.DependencyCount = 4; options.ObjectSize = sizeof(c_po__Template1__Template2); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template1.Template2", options); type->fp_build_ = c_po__Template1__Template2_build; type->fp_cctor_ = c_po__Template1__Template2__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template1__Template2__New1_fn; return type; } // public Template2(c_po.Template1 parent, Fuse.Controls.Page parentInstance) void c_po__Template1__Template2__ctor_1_fn(c_po__Template1__Template2* __this, ::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template1__Template2__New1_fn(c_po__Template1__Template2* __this, uObject** __retval) { ::g::Fuse::Controls::Panel* __self1 = ::g::Fuse::Controls::Panel::New3(); __this->checkImage = ::g::Fuse::Controls::Image::New3(); __this->checkImage_Opacity_inst = ::g::HSMRO_FuseElementsElement_Opacity_Property::New1(__this->checkImage, c_po__Template1__Template2::__selector0_); __this->CheckValue = ::g::Fuse::Controls::Text::New3(); __this->CheckValue_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->CheckValue, c_po__Template1__Template2::__selector1_); __this->MyItem = ::g::Fuse::Controls::Rectangle::New3(); __this->MyItem_Color_inst = ::g::HSMRO_FuseControlsShape_Color_Property::New1(__this->MyItem, c_po__Template1__Template2::__selector2_); ::g::Fuse::Reactive::Data* temp9 = ::g::Fuse::Reactive::Data::New1(::STRINGS[48/*"calcTotalAmt"*/]); ::g::Fuse::Controls::Text* temp = ::g::Fuse::Controls::Text::New3(); __this->temp_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Data* temp10 = ::g::Fuse::Reactive::Data::New1(::STRINGS[49/*"BP_ITEM_CD2"*/]); ::g::Fuse::Controls::Text* temp1 = ::g::Fuse::Controls::Text::New3(); __this->temp1_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp1, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Data* temp11 = ::g::Fuse::Reactive::Data::New1(::STRINGS[50/*"ITEM_NM2"*/]); ::g::Fuse::Controls::Text* temp2 = ::g::Fuse::Controls::Text::New3(); __this->temp2_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp2, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Data* temp12 = ::g::Fuse::Reactive::Data::New1(::STRINGS[51/*"SPEC2"*/]); ::g::Fuse::Controls::Text* temp3 = ::g::Fuse::Controls::Text::New3(); __this->temp3_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp3, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Data* temp13 = ::g::Fuse::Reactive::Data::New1(::STRINGS[52/*"MAKER2"*/]); ::g::Fuse::Controls::Text* temp4 = ::g::Fuse::Controls::Text::New3(); __this->temp4_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp4, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Data* temp14 = ::g::Fuse::Reactive::Data::New1(::STRINGS[53/*"EA2"*/]); ::g::Fuse::Reactive::Data* temp15 = ::g::Fuse::Reactive::Data::New1(::STRINGS[54/*"PRICE2"*/]); uString* temp16 = ::STRINGS[55/*" 원"*/]; ::g::Fuse::Reactive::Constant* temp17 = ::g::Fuse::Reactive::Constant::New1(temp16); ::g::Fuse::Controls::Text* temp5 = ::g::Fuse::Controls::Text::New3(); __this->temp5_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp5, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Add* temp18 = ::g::Fuse::Reactive::Add::New1(temp15, temp17); __this->PO_QTY2 = ::g::Fuse::Controls::TextInput::New3(); __this->PO_QTY2_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(__this->PO_QTY2, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Data* temp19 = ::g::Fuse::Reactive::Data::New1(::STRINGS[42/*"PO_QTY2"*/]); ::g::Fuse::Reactive::Data* temp20 = ::g::Fuse::Reactive::Data::New1(::STRINGS[56/*"changeQty2"*/]); __this->changeQtyText = ::g::Fuse::Controls::Text::New3(); __this->changeQtyText_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(__this->changeQtyText, c_po__Template1__Template2::__selector3_); ::g::Fuse::Reactive::Data* temp21 = ::g::Fuse::Reactive::Data::New1(::STRINGS[57/*"PO_AMT2"*/]); uString* temp22 = ::STRINGS[55/*" 원"*/]; ::g::Fuse::Reactive::Constant* temp23 = ::g::Fuse::Reactive::Constant::New1(temp22); ::g::Fuse::Controls::Text* temp6 = ::g::Fuse::Controls::Text::New3(); __this->temp6_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp6, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Add* temp24 = ::g::Fuse::Reactive::Add::New1(temp21, temp23); ::g::Fuse::Controls::Text* temp7 = ::g::Fuse::Controls::Text::New3(); __this->temp7_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp7, c_po__Template1__Template2::__selector1_); ::g::Fuse::Reactive::Data* temp25 = ::g::Fuse::Reactive::Data::New1(::STRINGS[58/*"ITEM_CD2"*/]); ::g::Fuse::Reactive::Data* temp26 = ::g::Fuse::Reactive::Data::New1(::STRINGS[59/*"Check2"*/]); ::g::Fuse::Reactive::Data* temp27 = ::g::Fuse::Reactive::Data::New1(::STRINGS[45/*"saveItem2"*/]); __this->MyItemDtl = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Reactive::Constant* temp28 = ::g::Fuse::Reactive::Constant::New1(__this->MyItemDtl); ::g::Fuse::Elements::HeightFunction* temp29 = ::g::Fuse::Elements::HeightFunction::New1(temp28); int32_t temp30 = 2; ::g::Fuse::Reactive::Constant* temp31 = ::g::Fuse::Reactive::Constant::New1(uBox<int32_t>(::g::Uno::Int_typeof(), temp30)); ::g::Fuse::Reactive::Divide* temp32 = ::g::Fuse::Reactive::Divide::New1(temp29, temp31); double temp33 = 2.5; ::g::Fuse::Reactive::Constant* temp34 = ::g::Fuse::Reactive::Constant::New1(uBox(::g::Uno::Double_typeof(), temp33)); __this->saveItem2 = ::g::Fuse::Controls::Rectangle::New3(); __this->saveItem2_Height_inst = ::g::HSMRO_FuseElementsElement_Height_Property::New1(__this->saveItem2, c_po__Template1__Template2::__selector4_); ::g::Fuse::Reactive::Add* temp35 = ::g::Fuse::Reactive::Add::New1(temp32, temp34); ::g::Fuse::Reactive::Data* temp36 = ::g::Fuse::Reactive::Data::New1(::STRINGS[60/*"deleteItem2"*/]); ::g::Fuse::Reactive::Constant* temp37 = ::g::Fuse::Reactive::Constant::New1(__this->MyItemDtl); ::g::Fuse::Elements::HeightFunction* temp38 = ::g::Fuse::Elements::HeightFunction::New1(temp37); int32_t temp39 = 2; ::g::Fuse::Reactive::Constant* temp40 = ::g::Fuse::Reactive::Constant::New1(uBox<int32_t>(::g::Uno::Int_typeof(), temp39)); ::g::Fuse::Reactive::Divide* temp41 = ::g::Fuse::Reactive::Divide::New1(temp38, temp40); int32_t temp42 = 2; ::g::Fuse::Reactive::Constant* temp43 = ::g::Fuse::Reactive::Constant::New1(uBox<int32_t>(::g::Uno::Int_typeof(), temp42)); ::g::Fuse::Controls::Rectangle* temp8 = ::g::Fuse::Controls::Rectangle::New3(); __this->temp8_Height_inst = ::g::HSMRO_FuseElementsElement_Height_Property::New1(temp8, c_po__Template1__Template2::__selector4_); ::g::Fuse::Reactive::Add* temp44 = ::g::Fuse::Reactive::Add::New1(temp41, temp43); __this->DeleteSwipe = ::g::Fuse::Gestures::SwipeGesture::New2(); __this->BackFill = ::g::Fuse::Drawing::Stroke::New2(); __this->BackFill_Color_inst = ::g::HSMRO_FuseDrawingStroke_Color_Property::New1(__this->BackFill, c_po__Template1__Template2::__selector2_); __this->checkCircle = ::g::Fuse::Controls::Circle::New3(); ::g::Fuse::Drawing::Stroke* temp45 = ::g::Fuse::Drawing::Stroke::New2(); __this->toggleCheck = ::g::Fuse::Triggers::WhileTrue::New2(); ::g::Fuse::Animations::Change* temp46 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[6/*Fuse.Animations.Change<float>*/], __this->checkImage_Opacity_inst); ::g::Fuse::Animations::Change* temp47 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[7/*Fuse.Animations.Change<string>*/], __this->CheckValue_Value_inst); ::g::Fuse::Animations::Change* temp48 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->MyItem_Color_inst); ::g::Fuse::Gestures::Clicked* temp49 = ::g::Fuse::Gestures::Clicked::New2(); ::g::Fuse::Triggers::Actions::Toggle* temp50 = ::g::Fuse::Triggers::Actions::Toggle::New2(); ::g::Fuse::Triggers::Actions::Callback* temp51 = ::g::Fuse::Triggers::Actions::Callback::New2(); __this->temp_eb80 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp9); __this->grid2 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Grid* temp52 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::Text* temp53 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp54 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp_Value_inst, (uObject*)temp10, 3); ::g::Fuse::Controls::Text* temp55 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp56 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp1_Value_inst, (uObject*)temp11, 3); ::g::Fuse::Controls::Text* temp57 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp58 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp2_Value_inst, (uObject*)temp12, 3); ::g::Fuse::Controls::Text* temp59 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp60 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp3_Value_inst, (uObject*)temp13, 3); ::g::Fuse::Controls::Text* temp61 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp62 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp4_Value_inst, (uObject*)temp14, 3); ::g::Fuse::Controls::Text* temp63 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp64 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp5_Value_inst, (uObject*)temp18, 3); ::g::Fuse::Controls::Text* temp65 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Rectangle* temp66 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp67 = ::g::Fuse::Reactive::DataBinding::New1(__this->PO_QTY2_Value_inst, (uObject*)temp19, 3); __this->temp_eb81 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp20); ::g::Fuse::Gestures::Clicked* temp68 = ::g::Fuse::Gestures::Clicked::New2(); ::g::Fuse::Triggers::Actions::Set* temp69 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::TYPES[8/*Fuse.Triggers.Actions.Set<Fuse.Elements.Visibility>*/], __this->changeQtyText_Visibility_inst); ::g::Fuse::Controls::Text* temp70 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp71 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp6_Value_inst, (uObject*)temp24, 3); ::g::Fuse::Reactive::DataBinding* temp72 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp7_Value_inst, (uObject*)temp25, 3); ::g::Fuse::Reactive::DataBinding* temp73 = ::g::Fuse::Reactive::DataBinding::New1(__this->CheckValue_Value_inst, (uObject*)temp26, 3); ::g::Fuse::Controls::DockPanel* temp74 = ::g::Fuse::Controls::DockPanel::New4(); __this->DeleteNode = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Controls::StackPanel* temp75 = ::g::Fuse::Controls::StackPanel::New4(); ::g::Fuse::Controls::Image* temp76 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Controls::Text* temp77 = ::g::Fuse::Controls::Text::New3(); __this->temp_eb82 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp27); ::g::Fuse::Gestures::Tapped* temp78 = ::g::Fuse::Gestures::Tapped::New2(); ::g::Fuse::Reactive::DataBinding* temp79 = ::g::Fuse::Reactive::DataBinding::New1(__this->saveItem2_Height_inst, (uObject*)temp35, 3); ::g::Fuse::Controls::Panel* temp80 = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Controls::StackPanel* temp81 = ::g::Fuse::Controls::StackPanel::New4(); ::g::Fuse::Controls::Image* temp82 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Controls::Text* temp83 = ::g::Fuse::Controls::Text::New3(); __this->temp_eb83 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp36); ::g::Fuse::Reactive::DataBinding* temp84 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp8_Height_inst, (uObject*)temp44, 3); ::g::Fuse::Gestures::SwipingAnimation* temp85 = ::g::Fuse::Gestures::SwipingAnimation::New2(__this->DeleteSwipe); ::g::Fuse::Animations::Move* temp86 = ::g::Fuse::Animations::Move::New2(); ::g::Fuse::Gestures::Swiped* temp87 = ::g::Fuse::Gestures::Swiped::New2(__this->DeleteSwipe); ::g::Fuse::Animations::Change* temp88 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->BackFill_Color_inst); ::g::Fuse::Triggers::RemovingAnimation* temp89 = ::g::Fuse::Triggers::RemovingAnimation::New2(); ::g::Fuse::Animations::Move* temp90 = ::g::Fuse::Animations::Move::New2(); __self1->SourceLineNumber(293); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__self1, 2); uPtr(__this->MyItem)->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->MyItem)->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); uPtr(__this->MyItem)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 7.0f)); uPtr(__this->MyItem)->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 0.0f)); uPtr(__this->MyItem)->Name(c_po__Template1__Template2::__selector5_); uPtr(__this->MyItem)->SourceLineNumber(294); uPtr(__this->MyItem)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->MyItem, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->MyItem)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), __this->BackFill); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->MyItem)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->MyItemDtl); uPtr(__this->MyItemDtl)->Width(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->MyItemDtl)->Name(c_po__Template1__Template2::__selector6_); uPtr(__this->MyItemDtl)->SourceLineNumber(296); uPtr(__this->MyItemDtl)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->MyItemDtl)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->checkCircle); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->MyItemDtl)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->grid2); uPtr(__this->checkCircle)->Width(::g::Uno::UX::Size__New1(20.0f, 1)); uPtr(__this->checkCircle)->Height(::g::Uno::UX::Size__New1(20.0f, 1)); uPtr(__this->checkCircle)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->checkCircle)->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->checkCircle)->Name(c_po__Template1__Template2::__selector7_); uPtr(__this->checkCircle)->SourceLineNumber(298); uPtr(__this->checkCircle)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->checkCircle, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->checkCircle)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp45); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->checkCircle)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->checkImage); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->checkCircle)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->toggleCheck); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->checkCircle)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp49); uPtr(__this->checkImage)->Width(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->checkImage)->Height(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->checkImage)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->checkImage)->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->checkImage)->Opacity(0.0f); uPtr(__this->checkImage)->Name(c_po__Template1__Template2::__selector8_); uPtr(__this->checkImage)->SourceLineNumber(299); uPtr(__this->checkImage)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->checkImage)->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::checkf49575a4())); temp45->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.1529412f)); temp45->Width(1.0f); uPtr(__this->toggleCheck)->Name(c_po__Template1__Template2::__selector9_); uPtr(__this->toggleCheck)->SourceLineNumber(301); uPtr(__this->toggleCheck)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck)->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp46); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck)->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp47); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck)->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp48); ::g::Fuse::Animations::Change__set_Value_fn(temp46, uCRef(1.0f)); ::g::Fuse::Animations::Change__set_Value_fn(temp47, ::STRINGS[61/*"Y"*/]); ::g::Fuse::Animations::Change__set_Value_fn(temp48, uCRef(::g::Uno::Float4__New2(0.8509804f, 0.8f, 0.9294118f, 1.0f))); temp49->SourceLineNumber(306); temp49->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp49->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp50); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp49->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp51); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp49->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb80); temp50->SourceLineNumber(307); temp50->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp50->Target((uObject*)__this->toggleCheck); temp51->SourceLineNumber(308); temp51->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp51->add_Handler(uDelegate::New(::TYPES[10/*Fuse.VisualEventHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb80))); temp9->SourceLineNumber(308); temp9->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->grid2)->Width(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->grid2)->Alignment(0); uPtr(__this->grid2)->Padding(::g::Uno::Float4__New2(0.0f, 5.0f, 5.0f, 0.0f)); uPtr(__this->grid2)->Name(c_po__Template1__Template2::__selector10_); uPtr(__this->grid2)->SourceLineNumber(311); uPtr(__this->grid2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->grid2, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->grid2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp52); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->grid2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp7); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->grid2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->CheckValue); temp52->Rows(::STRINGS[17/*"auto, auto,...*/]); temp52->RowCount(5); temp52->Columns(::STRINGS[18/*"1*, 2*, 1*,...*/]); temp52->ColumnCount(4); temp52->CellSpacing(3.0f); temp52->Width(::g::Uno::UX::Size__New1(90.0f, 4)); temp52->Alignment(0); temp52->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp52->SourceLineNumber(312); temp52->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp52, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp53); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp55); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp57); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp59); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp61); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp63); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp5); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp65); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp66); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp68); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp70); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp6); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp52->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->changeQtyText); temp53->Value(::STRINGS[20/*"품목코드"*/]); temp53->FontSize(12.0f); temp53->Alignment(9); temp53->SourceLineNumber(313); temp53->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp53->Font(::g::MainView::AGOTHIC14()); temp->FontSize(12.0f); temp->Alignment(9); temp->SourceLineNumber(314); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp54); temp10->SourceLineNumber(314); temp10->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp55->Value(::STRINGS[21/*"품명"*/]); temp55->FontSize(12.0f); temp55->Alignment(9); temp55->SourceLineNumber(315); temp55->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp55->Font(::g::MainView::AGOTHIC14()); temp1->TextWrapping(1); temp1->FontSize(12.0f); temp1->Alignment(9); temp1->SourceLineNumber(316); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp56); temp11->SourceLineNumber(316); temp11->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp57->Value(::STRINGS[22/*"규격"*/]); temp57->FontSize(12.0f); temp57->TextAlignment(2); temp57->Alignment(9); temp57->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp57->SourceLineNumber(317); temp57->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp57->Font(::g::MainView::AGOTHIC14()); temp2->TextWrapping(1); temp2->FontSize(12.0f); temp2->TextAlignment(0); temp2->Alignment(9); temp2->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp2->SourceLineNumber(318); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp2->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp58); temp12->SourceLineNumber(318); temp12->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp59->Value(::STRINGS[23/*"제조사"*/]); temp59->FontSize(12.0f); temp59->TextAlignment(2); temp59->Alignment(9); temp59->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp59->SourceLineNumber(319); temp59->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp59->Font(::g::MainView::AGOTHIC14()); temp3->TextWrapping(1); temp3->FontSize(12.0f); temp3->TextAlignment(0); temp3->Alignment(9); temp3->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp3->SourceLineNumber(320); temp3->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp3->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp60); temp13->SourceLineNumber(320); temp13->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp61->Value(::STRINGS[24/*"단위"*/]); temp61->FontSize(12.0f); temp61->TextAlignment(2); temp61->Alignment(9); temp61->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp61->SourceLineNumber(321); temp61->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp61->Font(::g::MainView::AGOTHIC14()); temp4->TextWrapping(1); temp4->FontSize(12.0f); temp4->TextAlignment(2); temp4->Alignment(9); temp4->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp4->SourceLineNumber(322); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp4->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp62); temp14->SourceLineNumber(322); temp14->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp63->Value(::STRINGS[25/*"단가"*/]); temp63->FontSize(12.0f); temp63->TextAlignment(2); temp63->Alignment(9); temp63->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp63->SourceLineNumber(323); temp63->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp63->Font(::g::MainView::AGOTHIC14()); temp5->FontSize(12.0f); temp5->TextAlignment(2); temp5->Alignment(3); temp5->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp5->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp5->SourceLineNumber(324); temp5->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp5->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp5->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp64); temp18->SourceLineNumber(324); temp18->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp15->SourceLineNumber(324); temp15->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp17->SourceLineNumber(324); temp17->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp65->Value(::STRINGS[29/*"발주수량"*/]); temp65->FontSize(12.0f); temp65->TextAlignment(2); temp65->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp65->Alignment(9); temp65->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp65->SourceLineNumber(325); temp65->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp65->Font(::g::MainView::AGOTHIC14()); temp66->Color(::g::Uno::Float4__New2(1.0f, 0.9568627f, 0.627451f, 1.0f)); temp66->Width(::g::Uno::UX::Size__New1(95.0f, 4)); temp66->Height(::g::Uno::UX::Size__New1(100.0f, 4)); temp66->Alignment(9); temp66->SourceLineNumber(326); temp66->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp66->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->PO_QTY2); uPtr(__this->PO_QTY2)->FontSize(15.0f); uPtr(__this->PO_QTY2)->TextAlignment(2); uPtr(__this->PO_QTY2)->InputHint(5); uPtr(__this->PO_QTY2)->Width(::g::Uno::UX::Size__New1(95.0f, 4)); uPtr(__this->PO_QTY2)->Height(::g::Uno::UX::Size__New1(30.0f, 1)); uPtr(__this->PO_QTY2)->Alignment(3); uPtr(__this->PO_QTY2)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); uPtr(__this->PO_QTY2)->Layer(3); uPtr(__this->PO_QTY2)->LayoutRole(0); uPtr(__this->PO_QTY2)->Name(c_po__Template1__Template2::__selector11_); uPtr(__this->PO_QTY2)->SourceLineNumber(327); uPtr(__this->PO_QTY2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->PO_QTY2)->add_ValueChanged(uDelegate::New(::TYPES[11/*Uno.UX.ValueChangedHandler<string>*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb81))); uPtr(__this->PO_QTY2)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->PO_QTY2)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp67); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->PO_QTY2)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb81); temp19->SourceLineNumber(327); temp19->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp20->SourceLineNumber(327); temp20->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp68->SourceLineNumber(329); temp68->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp68->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp69); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp69, uCRef<int32_t>(0)); temp69->SourceLineNumber(330); temp69->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp70->Value(::STRINGS[62/*"발주금액"*/]); temp70->FontSize(12.0f); temp70->TextAlignment(2); temp70->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp70->Alignment(9); temp70->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp70->SourceLineNumber(332); temp70->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp70->Font(::g::MainView::AGOTHIC14()); temp6->FontSize(12.0f); temp6->TextAlignment(2); temp6->Alignment(11); temp6->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp6->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp6->SourceLineNumber(333); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp6->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp6->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp71); temp24->SourceLineNumber(333); temp24->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp21->SourceLineNumber(333); temp21->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp23->SourceLineNumber(333); temp23->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->changeQtyText)->Value(::STRINGS[63/*"발주수량 변경 후 반...*/]); uPtr(__this->changeQtyText)->FontSize(11.0f); uPtr(__this->changeQtyText)->TextAlignment(2); uPtr(__this->changeQtyText)->Color(::g::Uno::Float4__New2(0.9098039f, 0.01568628f, 0.1647059f, 0.6078432f)); uPtr(__this->changeQtyText)->Alignment(9); uPtr(__this->changeQtyText)->Visibility(2); uPtr(__this->changeQtyText)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 5.0f)); uPtr(__this->changeQtyText)->Name(c_po__Template1__Template2::__selector12_); uPtr(__this->changeQtyText)->SourceLineNumber(334); uPtr(__this->changeQtyText)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(__this->changeQtyText, 4); uPtr(__this->changeQtyText)->Font(::g::MainView::AGOTHIC14()); temp7->FontSize(12.0f); temp7->Width(::g::Uno::UX::Size__New1(1.0f, 1)); temp7->Height(::g::Uno::UX::Size__New1(1.0f, 1)); temp7->Alignment(13); temp7->Visibility(1); temp7->SourceLineNumber(336); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp7->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp7->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp72); temp25->SourceLineNumber(336); temp25->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->CheckValue)->FontSize(12.0f); uPtr(__this->CheckValue)->Width(::g::Uno::UX::Size__New1(1.0f, 1)); uPtr(__this->CheckValue)->Height(::g::Uno::UX::Size__New1(1.0f, 1)); uPtr(__this->CheckValue)->Alignment(13); uPtr(__this->CheckValue)->Visibility(1); uPtr(__this->CheckValue)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->CheckValue)->Name(c_po__Template1__Template2::__selector13_); uPtr(__this->CheckValue)->SourceLineNumber(337); uPtr(__this->CheckValue)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->CheckValue)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->CheckValue)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp73); temp26->SourceLineNumber(337); temp26->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->BackFill)->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.1529412f)); uPtr(__this->BackFill)->Width(1.0f); temp74->SourceLineNumber(344); temp74->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->saveItem2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp74->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp8); uPtr(__this->saveItem2)->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->saveItem2)->Color(::g::Uno::Float4__New2(0.3882353f, 0.6431373f, 0.7764706f, 0.8117647f)); uPtr(__this->saveItem2)->Alignment(0); uPtr(__this->saveItem2)->Name(c_po__Template1__Template2::__selector14_); uPtr(__this->saveItem2)->SourceLineNumber(345); uPtr(__this->saveItem2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->saveItem2, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->saveItem2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DeleteNode); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->saveItem2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp78); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->saveItem2)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp79); uPtr(__this->DeleteNode)->Alignment(3); uPtr(__this->DeleteNode)->Name(c_po__Template1__Template2::__selector15_); uPtr(__this->DeleteNode)->SourceLineNumber(346); uPtr(__this->DeleteNode)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(__this->DeleteNode, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb82))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DeleteNode)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp75); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DeleteNode)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb82); temp75->Alignment(10); temp75->SourceLineNumber(347); temp75->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp75->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp76); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp75->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp77); temp76->Width(::g::Uno::UX::Size__New1(25.0f, 1)); temp76->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp76->SourceLineNumber(348); temp76->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp76->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::savea678f1d3())); temp77->Value(::STRINGS[64/*"저장"*/]); temp77->FontSize(13.0f); temp77->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp77->Alignment(10); temp77->Margin(::g::Uno::Float4__New2(20.0f, 0.0f, 20.0f, 0.0f)); temp77->SourceLineNumber(349); temp77->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp77->Font(::g::MainView::AGOTHIC14()); temp27->SourceLineNumber(346); temp27->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp78->SourceLineNumber(352); temp78->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp35->SourceLineNumber(345); temp35->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp32->SourceLineNumber(345); temp32->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp29->SourceLineNumber(345); temp29->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp28->SourceLineNumber(345); temp28->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp31->SourceLineNumber(345); temp31->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp34->SourceLineNumber(345); temp34->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp8->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp8->Color(::g::Uno::Float4__New2(0.9372549f, 0.4862745f, 0.4862745f, 1.0f)); temp8->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp8->SourceLineNumber(357); temp8->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp8, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp80); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp84); temp80->Alignment(3); temp80->SourceLineNumber(358); temp80->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(temp80, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb83))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp80->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp81); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp80->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb83); temp81->Alignment(10); temp81->SourceLineNumber(359); temp81->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp81->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp82); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp81->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp83); temp82->Width(::g::Uno::UX::Size__New1(25.0f, 1)); temp82->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp82->SourceLineNumber(360); temp82->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp82->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::binaab12e07())); temp83->Value(::STRINGS[65/*"삭제"*/]); temp83->FontSize(13.0f); temp83->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp83->Alignment(10); temp83->Margin(::g::Uno::Float4__New2(20.0f, 0.0f, 20.0f, 0.0f)); temp83->SourceLineNumber(361); temp83->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp83->Font(::g::MainView::AGOTHIC14()); temp36->SourceLineNumber(358); temp36->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp44->SourceLineNumber(357); temp44->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp41->SourceLineNumber(357); temp41->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp38->SourceLineNumber(357); temp38->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp37->SourceLineNumber(357); temp37->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp40->SourceLineNumber(357); temp40->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp43->SourceLineNumber(357); temp43->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->DeleteSwipe)->Type(1); uPtr(__this->DeleteSwipe)->Direction(0); uPtr(__this->DeleteSwipe)->Name(c_po__Template1__Template2::__selector16_); uPtr(__this->DeleteSwipe)->SourceLineNumber(366); uPtr(__this->DeleteSwipe)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->DeleteSwipe)->LengthNode(__this->DeleteNode); temp85->SourceLineNumber(367); temp85->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp85->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp86); temp86->X(-1.0f); temp86->RelativeTo(::g::Fuse::TranslationModes::Size()); temp86->RelativeNode(__this->DeleteNode); temp86->Target(__this->MyItem); temp87->How(1); temp87->SourceLineNumber(370); temp87->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp87->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp88); ::g::Fuse::Animations::Change__set_Value_fn(temp88, uCRef(::g::Uno::Float4__New2(0.9f, 1.0f, 0.9f, 1.0f))); temp88->Duration(0.2); temp89->SourceLineNumber(373); temp89->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp89->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp90); temp90->X(-1.0f); temp90->Duration(0.4); temp90->RelativeTo(::g::Fuse::TranslationModes::Size()); temp90->Easing(::g::Fuse::Animations::Easing::CircularOut()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->MyItem); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp74); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DeleteSwipe); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp85); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp87); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp89); return *__retval = __self1, void(); } // public Template2 New(c_po.Template1 parent, Fuse.Controls.Page parentInstance) void c_po__Template1__Template2__New2_fn(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template1__Template2** __retval) { *__retval = c_po__Template1__Template2::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template1__Template2::__selector0_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector1_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector2_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector3_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector4_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector5_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector6_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector7_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector8_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector9_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector10_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector11_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector12_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector13_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector14_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector15_; ::g::Uno::UX::Selector c_po__Template1__Template2::__selector16_; // public Template2(c_po.Template1 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template1__Template2::ctor_1(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template2 New(c_po.Template1 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template1__Template2* c_po__Template1__Template2::New2(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template1__Template2* obj1 = (c_po__Template1__Template2*)uNew(c_po__Template1__Template2_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template.Template2 // { // static Template2() static void c_po__Template__Template2__cctor__fn(uType* __type) { } static void c_po__Template__Template2_build(uType* type) { ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::Fuse::Triggers::LayoutTransition_typeof()); type->SetFields(2, ::g::c_po__Template_typeof(), offsetof(c_po__Template__Template2, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template__Template2, __parentInstance1), uFieldFlagsWeak); } ::g::Uno::UX::Template_type* c_po__Template__Template2_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 4; options.DependencyCount = 2; options.ObjectSize = sizeof(c_po__Template__Template2); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template.Template2", options); type->fp_build_ = c_po__Template__Template2_build; type->fp_cctor_ = c_po__Template__Template2__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template__Template2__New1_fn; return type; } // public Template2(c_po.Template parent, Fuse.Controls.Page parentInstance) void c_po__Template__Template2__ctor_1_fn(c_po__Template__Template2* __this, ::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template__Template2__New1_fn(c_po__Template__Template2* __this, uObject** __retval) { ::g::Fuse::Triggers::LayoutAnimation* __self1 = ::g::Fuse::Triggers::LayoutAnimation::New2(); ::g::Fuse::Animations::Move* temp = ::g::Fuse::Animations::Move::New2(); __self1->SourceLineNumber(167); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->Y(1.0f); temp->Duration(0.8); temp->RelativeTo(::g::Fuse::Triggers::LayoutTransition::PositionLayoutChange()); temp->Easing(::g::Fuse::Animations::Easing::ElasticIn()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp); return *__retval = __self1, void(); } // public Template2 New(c_po.Template parent, Fuse.Controls.Page parentInstance) void c_po__Template__Template2__New2_fn(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template__Template2** __retval) { *__retval = c_po__Template__Template2::New2(parent, parentInstance); } // public Template2(c_po.Template parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template__Template2::ctor_1(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template2 New(c_po.Template parent, Fuse.Controls.Page parentInstance) [static] c_po__Template__Template2* c_po__Template__Template2::New2(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template__Template2* obj1 = (c_po__Template__Template2*)uNew(c_po__Template__Template2_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2 // { // static Template2() static void c_po__Template2__cctor__fn(uType* __type) { c_po__Template2::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po__Template2::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("MinValue")); c_po__Template2::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("MaxValue")); c_po__Template2::__selector3_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[36/*"Visibility"*/]); c_po__Template2::__selector4_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[1/*"Color"*/]); c_po__Template2::__selector5_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[35/*"Opacity"*/]); c_po__Template2::__selector6_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("Items")); c_po__Template2::__selector7_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("poOrder1")); c_po__Template2::__selector8_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("dtpk1")); c_po__Template2::__selector9_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("router_cal")); c_po__Template2::__selector10_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("cartRect3")); c_po__Template2::__selector11_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("cartText3")); c_po__Template2::__selector12_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("checkCircle3")); c_po__Template2::__selector13_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("checkImage3")); c_po__Template2::__selector14_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("toggleCheck3")); c_po__Template2::__selector15_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("combobox")); c_po__Template2::__selector16_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("header")); c_po__Template2::__selector17_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("selected")); c_po__Template2::__selector18_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("dropdown")); c_po__Template2::__selector19_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("DLVY_TEL")); c_po__Template2::__selector20_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("DLVY_PHONE")); c_po__Template2::__selector21_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("DLVY_ADDR")); c_po__Template2::__selector22_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("DLVY_ID")); c_po__Template2::__selector23_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("TOTAL_AMT3")); c_po__Template2::__selector24_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("DLVY_HOPE_DT3")); c_po__Template2::__selector25_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("222")); c_po__Template2::__selector26_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("apprPopup")); c_po__Template2::__selector27_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("combobox2")); c_po__Template2::__selector28_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("header2")); c_po__Template2::__selector29_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("selected2")); c_po__Template2::__selector30_ = ::g::Uno::UX::Selector__op_Implicit(uString::Const("dropdown2")); } static void c_po__Template2_build(uType* type) { type->SetDependencies( ::g::Fuse::Drawing::Brushes_typeof(), ::g::Fuse::Animations::Easing_typeof(), ::g::HSMRO_bundle_typeof(), ::g::MainView_typeof(), ::g::Fuse::TranslationModes_typeof()); type->SetFields(2, ::g::c_po_typeof(), offsetof(c_po__Template2, __parent1), uFieldFlagsWeak, ::g::c_po_typeof(), offsetof(c_po__Template2, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::DateTime_typeof(), NULL), offsetof(c_po__Template2, dtpk1_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::DateTime_typeof(), NULL), offsetof(c_po__Template2, dtpk1_MinValue_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::DateTime_typeof(), NULL), offsetof(c_po__Template2, dtpk1_MaxValue_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Bool_typeof(), NULL), offsetof(c_po__Template2, temp_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Bool_typeof(), NULL), offsetof(c_po__Template2, temp1_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2, temp2_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template2, cartRect3_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template2, cartText3_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template2, cartRectStroke3_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp4_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp5_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp6_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp7_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp8_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float_typeof(), NULL), offsetof(c_po__Template2, checkImage3_Opacity_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, DLVY_TEL_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, DLVY_PHONE_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, DLVY_ADDR_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, selected_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp9_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp10_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp11_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp12_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2, temp13_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template2, header_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po__Template2, temp14_Items_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float_typeof(), NULL), offsetof(c_po__Template2, dropdown_Opacity_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2, dropdown_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Bool_typeof(), NULL), offsetof(c_po__Template2, temp15_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp16_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2, temp17_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp18_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, DLVY_ID_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp19_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, TOTAL_AMT3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, DLVY_HOPE_DT3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, _222_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po__Template2, temp20_Items_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2, temp21_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2, temp22_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, selected2_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template2, header2_Color_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po__Template2, temp23_Items_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float_typeof(), NULL), offsetof(c_po__Template2, dropdown2_Opacity_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2, dropdown2_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Bool_typeof(), NULL), offsetof(c_po__Template2, temp24_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(uObject_typeof(), NULL), offsetof(c_po__Template2, temp25_Items_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp26_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp27_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp28_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp29_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2, temp30_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2, apprPopup_Visibility_inst), 0, ::g::Fuse::Controls::DatePicker_typeof(), offsetof(c_po__Template2, dtpk1), 0, ::g::Fuse::Navigation::Router_typeof(), offsetof(c_po__Template2, router_cal), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb85), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template2, cartRect3), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, cartText3), 0, ::g::Fuse::Drawing::Stroke_typeof(), offsetof(c_po__Template2, cartRectStroke3), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb86), 0, ::g::Fuse::Controls::Circle_typeof(), offsetof(c_po__Template2, checkCircle3), 0, ::g::Fuse::Controls::Image_typeof(), offsetof(c_po__Template2, checkImage3), 0, ::g::Fuse::Triggers::WhileTrue_typeof(), offsetof(c_po__Template2, toggleCheck3), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template2, combobox), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template2, header), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, selected), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb87), 0, ::g::Fuse::Controls::Panel_typeof(), offsetof(c_po__Template2, dropdown), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, DLVY_TEL), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, DLVY_PHONE), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, DLVY_ADDR), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, DLVY_ID), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, TOTAL_AMT3), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, DLVY_HOPE_DT3), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb89), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb90), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, _222), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb94), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb95), 0, ::g::Fuse::Controls::ScrollView_typeof(), offsetof(c_po__Template2, apprPopup), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template2, combobox2), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template2, header2), 0, ::g::Fuse::Controls::Text_typeof(), offsetof(c_po__Template2, selected2), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb96), 0, ::g::Fuse::Controls::Panel_typeof(), offsetof(c_po__Template2, dropdown2), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2, temp_eb99), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector2_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector3_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector4_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector5_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector6_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector7_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector8_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector9_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector10_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector11_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector12_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector13_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector14_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector15_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector16_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector17_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector18_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector19_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector20_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector21_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector22_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector23_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector24_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector25_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector26_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector27_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector28_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector29_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2::__selector30_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 122; options.DependencyCount = 5; options.ObjectSize = sizeof(c_po__Template2); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2", options); type->fp_build_ = c_po__Template2_build; type->fp_cctor_ = c_po__Template2__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__New1_fn; return type; } // public Template2(c_po parent, c_po parentInstance) void c_po__Template2__ctor_1_fn(c_po__Template2* __this, ::g::c_po* parent, ::g::c_po* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__New1_fn(c_po__Template2* __this, uObject** __retval) { ::g::Fuse::Controls::Page* __self1 = ::g::Fuse::Controls::Page::New4(); __this->dtpk1 = ::g::Fuse::Controls::DatePicker::New4(); __this->dtpk1_Value_inst = ::g::HSMRO_FuseControlsDatePickerBase_Value_Property::New1(__this->dtpk1, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp31 = ::g::Fuse::Reactive::Data::New1(uString::Const("someDate")); __this->dtpk1_MinValue_inst = ::g::HSMRO_FuseControlsDatePickerBase_MinValue_Property::New1(__this->dtpk1, c_po__Template2::__selector1_); ::g::Fuse::Reactive::Data* temp32 = ::g::Fuse::Reactive::Data::New1(uString::Const("minDate")); __this->dtpk1_MaxValue_inst = ::g::HSMRO_FuseControlsDatePickerBase_MaxValue_Property::New1(__this->dtpk1, c_po__Template2::__selector2_); ::g::Fuse::Reactive::Data* temp33 = ::g::Fuse::Reactive::Data::New1(uString::Const("maxDate")); ::g::Fuse::Triggers::WhileTrue* temp = ::g::Fuse::Triggers::WhileTrue::New2(); __this->temp_Value_inst = ::g::HSMRO_FuseTriggersWhileBool_Value_Property::New1(temp, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp34 = ::g::Fuse::Reactive::Data::New1(uString::Const("dtpk3_visible")); ::g::Fuse::Triggers::WhileTrue* temp1 = ::g::Fuse::Triggers::WhileTrue::New2(); __this->temp1_Value_inst = ::g::HSMRO_FuseTriggersWhileBool_Value_Property::New1(temp1, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp35 = ::g::Fuse::Reactive::Data::New1(uString::Const("dtpk3_visible_ios")); ::g::Fuse::Reactive::Data* temp36 = ::g::Fuse::Reactive::Data::New1(uString::Const("backBtn_ios")); ::g::Fuse::Controls::Button* temp2 = ::g::Fuse::Controls::Button::New5(); __this->temp2_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp2, c_po__Template2::__selector3_); ::g::Fuse::Reactive::Data* temp37 = ::g::Fuse::Reactive::Data::New1(uString::Const("device")); __this->cartRect3 = ::g::Fuse::Controls::Rectangle::New3(); __this->cartRect3_Color_inst = ::g::HSMRO_FuseControlsShape_Color_Property::New1(__this->cartRect3, c_po__Template2::__selector4_); __this->cartText3 = ::g::Fuse::Controls::Text::New3(); __this->cartText3_Color_inst = ::g::HSMRO_FuseControlsTextControl_Color_Property::New1(__this->cartText3, c_po__Template2::__selector4_); __this->cartRectStroke3 = ::g::Fuse::Drawing::Stroke::New2(); __this->cartRectStroke3_Color_inst = ::g::HSMRO_FuseDrawingStroke_Color_Property::New1(__this->cartRectStroke3, c_po__Template2::__selector4_); ::g::Fuse::Reactive::Data* temp38 = ::g::Fuse::Reactive::Data::New1(uString::Const("refresh3Click")); ::g::Fuse::Controls::Text* temp3 = ::g::Fuse::Controls::Text::New3(); __this->temp3_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp3, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp39 = ::g::Fuse::Reactive::Data::New1(uString::Const("DEPT_NM1")); ::g::Fuse::Controls::Text* temp4 = ::g::Fuse::Controls::Text::New3(); __this->temp4_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp4, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp40 = ::g::Fuse::Reactive::Data::New1(uString::Const("USR_NM1")); ::g::Fuse::Controls::Text* temp5 = ::g::Fuse::Controls::Text::New3(); __this->temp5_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp5, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp41 = ::g::Fuse::Reactive::Data::New1(uString::Const("TELNO1")); ::g::Fuse::Controls::Text* temp6 = ::g::Fuse::Controls::Text::New3(); __this->temp6_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp6, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp42 = ::g::Fuse::Reactive::Data::New1(uString::Const("HANDTEL1")); ::g::Fuse::Controls::Text* temp7 = ::g::Fuse::Controls::Text::New3(); __this->temp7_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp7, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp43 = ::g::Fuse::Reactive::Data::New1(uString::Const("BP_ADDR1")); ::g::Fuse::Controls::Text* temp8 = ::g::Fuse::Controls::Text::New3(); __this->temp8_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp8, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp44 = ::g::Fuse::Reactive::Data::New1(uString::Const("JIKGUB1")); __this->checkImage3 = ::g::Fuse::Controls::Image::New3(); __this->checkImage3_Opacity_inst = ::g::HSMRO_FuseElementsElement_Opacity_Property::New1(__this->checkImage3, c_po__Template2::__selector5_); __this->DLVY_TEL = ::g::Fuse::Controls::Text::New3(); __this->DLVY_TEL_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->DLVY_TEL, c_po__Template2::__selector0_); __this->DLVY_PHONE = ::g::Fuse::Controls::Text::New3(); __this->DLVY_PHONE_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->DLVY_PHONE, c_po__Template2::__selector0_); __this->DLVY_ADDR = ::g::Fuse::Controls::Text::New3(); __this->DLVY_ADDR_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->DLVY_ADDR, c_po__Template2::__selector0_); __this->selected = ::g::Fuse::Controls::Text::New3(); __this->selected_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->selected, c_po__Template2::__selector0_); ::g::Fuse::Animations::Change* temp9 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[7/*Fuse.Animations.Change<string>*/], __this->DLVY_TEL_Value_inst); __this->temp9_Value_inst = ::g::HSMRO_FuseAnimationsChangestring_Value_Property::New1(temp9, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp45 = ::g::Fuse::Reactive::Data::New1(uString::Const("TELNO1")); ::g::Fuse::Animations::Change* temp10 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[7/*Fuse.Animations.Change<string>*/], __this->DLVY_PHONE_Value_inst); __this->temp10_Value_inst = ::g::HSMRO_FuseAnimationsChangestring_Value_Property::New1(temp10, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp46 = ::g::Fuse::Reactive::Data::New1(uString::Const("HANDTEL1")); ::g::Fuse::Animations::Change* temp11 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[7/*Fuse.Animations.Change<string>*/], __this->DLVY_ADDR_Value_inst); __this->temp11_Value_inst = ::g::HSMRO_FuseAnimationsChangestring_Value_Property::New1(temp11, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp47 = ::g::Fuse::Reactive::Data::New1(uString::Const("BP_ADDR1")); ::g::Fuse::Animations::Change* temp12 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[7/*Fuse.Animations.Change<string>*/], __this->selected_Value_inst); __this->temp12_Value_inst = ::g::HSMRO_FuseAnimationsChangestring_Value_Property::New1(temp12, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp48 = ::g::Fuse::Reactive::Data::New1(uString::Const("USR_NM1")); ::g::Fuse::Controls::Text* temp13 = ::g::Fuse::Controls::Text::New3(); __this->temp13_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp13, c_po__Template2::__selector3_); ::g::Fuse::Reactive::Data* temp49 = ::g::Fuse::Reactive::Data::New1(uString::Const("chk_bp_cd_req_user")); ::g::Fuse::Reactive::Data* temp50 = ::g::Fuse::Reactive::Data::New1(uString::Const("selected")); __this->header = ::g::Fuse::Controls::DockPanel::New4(); __this->header_Color_inst = ::g::HSMRO_FuseControlsPanel_Color_Property::New1(__this->header, c_po__Template2::__selector4_); ::g::Fuse::Reactive::Data* temp51 = ::g::Fuse::Reactive::Data::New1(uString::Const("toggleOpen")); ::g::Fuse::Reactive::Each* temp14 = ::g::Fuse::Reactive::Each::New4(); __this->temp14_Items_inst = ::g::HSMRO_FuseReactiveEach_Items_Property::New1(temp14, c_po__Template2::__selector6_); ::g::Fuse::Reactive::Data* temp52 = ::g::Fuse::Reactive::Data::New1(uString::Const("insu_list")); __this->dropdown = ::g::Fuse::Controls::Panel::New3(); __this->dropdown_Opacity_inst = ::g::HSMRO_FuseElementsElement_Opacity_Property::New1(__this->dropdown, c_po__Template2::__selector5_); __this->dropdown_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(__this->dropdown, c_po__Template2::__selector3_); ::g::Fuse::Triggers::WhileFalse* temp15 = ::g::Fuse::Triggers::WhileFalse::New2(); __this->temp15_Value_inst = ::g::HSMRO_FuseTriggersWhileBool_Value_Property::New1(temp15, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp53 = ::g::Fuse::Reactive::Data::New1(uString::Const("isOpen")); ::g::Fuse::Controls::TextInput* temp16 = ::g::Fuse::Controls::TextInput::New3(); __this->temp16_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(temp16, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp54 = ::g::Fuse::Reactive::Data::New1(uString::Const("CLAIM_NAME")); ::g::Fuse::Controls::DockPanel* temp17 = ::g::Fuse::Controls::DockPanel::New4(); __this->temp17_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp17, c_po__Template2::__selector3_); ::g::Fuse::Reactive::Data* temp55 = ::g::Fuse::Reactive::Data::New1(uString::Const("chk_bp_cd_req_user")); ::g::Fuse::Reactive::Data* temp56 = ::g::Fuse::Reactive::Data::New1(uString::Const("DLVY_TEL")); ::g::Fuse::Reactive::Data* temp57 = ::g::Fuse::Reactive::Data::New1(uString::Const("DLVY_PHONE")); ::g::Fuse::Reactive::Data* temp58 = ::g::Fuse::Reactive::Data::New1(uString::Const("DLVY_ADDR")); ::g::Fuse::Controls::TextInput* temp18 = ::g::Fuse::Controls::TextInput::New3(); __this->temp18_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(temp18, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp59 = ::g::Fuse::Reactive::Data::New1(uString::Const("DLVY_REMARK")); __this->DLVY_ID = ::g::Fuse::Controls::Text::New3(); __this->DLVY_ID_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->DLVY_ID, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp60 = ::g::Fuse::Reactive::Data::New1(uString::Const("DLVY_ID")); uString* temp61 = uString::Const("\342\226\272\353\260\234\354\243\274\353\202\264\354\227\255 ("); ::g::Fuse::Reactive::Constant* temp62 = ::g::Fuse::Reactive::Constant::New1(temp61); ::g::Fuse::Reactive::Data* temp63 = ::g::Fuse::Reactive::Data::New1(uString::Const("PO_CNT3")); uString* temp64 = uString::Const("\352\261\264)"); ::g::Fuse::Reactive::Constant* temp65 = ::g::Fuse::Reactive::Constant::New1(temp64); ::g::Fuse::Reactive::Add* temp66 = ::g::Fuse::Reactive::Add::New1(temp63, temp65); ::g::Fuse::Controls::Text* temp19 = ::g::Fuse::Controls::Text::New3(); __this->temp19_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp19, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Add* temp67 = ::g::Fuse::Reactive::Add::New1(temp62, temp66); __this->TOTAL_AMT3 = ::g::Fuse::Controls::Text::New3(); __this->TOTAL_AMT3_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->TOTAL_AMT3, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp68 = ::g::Fuse::Reactive::Data::New1(uString::Const("TOTAL_AMT3")); __this->DLVY_HOPE_DT3 = ::g::Fuse::Controls::Text::New3(); __this->DLVY_HOPE_DT3_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->DLVY_HOPE_DT3, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp69 = ::g::Fuse::Reactive::Data::New1(uString::Const("DLVY_HOPE_DT3")); ::g::Fuse::Reactive::Data* temp70 = ::g::Fuse::Reactive::Data::New1(uString::Const("clk_DLVY_HOPE_DT3")); ::g::Fuse::Reactive::Data* temp71 = ::g::Fuse::Reactive::Data::New1(uString::Const("clk_DLVY_HOPE_DT3")); __this->_222 = ::g::Fuse::Controls::Text::New3(); __this->_222_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->_222, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp72 = ::g::Fuse::Reactive::Data::New1(uString::Const("temp_ios_date")); ::g::Fuse::Reactive::Each* temp20 = ::g::Fuse::Reactive::Each::New4(); __this->temp20_Items_inst = ::g::HSMRO_FuseReactiveEach_Items_Property::New1(temp20, c_po__Template2::__selector6_); ::g::Fuse::Reactive::Data* temp73 = ::g::Fuse::Reactive::Data::New1(uString::Const("items_po")); ::g::Fuse::Reactive::Data* temp74 = ::g::Fuse::Reactive::Data::New1(uString::Const("po_ok_click3")); ::g::Fuse::Controls::Rectangle* temp21 = ::g::Fuse::Controls::Rectangle::New3(); __this->temp21_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp21, c_po__Template2::__selector3_); ::g::Fuse::Reactive::Data* temp75 = ::g::Fuse::Reactive::Data::New1(uString::Const("chk_bp_cd_po")); ::g::Fuse::Reactive::Data* temp76 = ::g::Fuse::Reactive::Data::New1(uString::Const("appr_click3")); ::g::Fuse::Controls::Rectangle* temp22 = ::g::Fuse::Controls::Rectangle::New3(); __this->temp22_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp22, c_po__Template2::__selector3_); ::g::Fuse::Reactive::Data* temp77 = ::g::Fuse::Reactive::Data::New1(uString::Const("chk_bp_cd_appr")); __this->selected2 = ::g::Fuse::Controls::Text::New3(); __this->selected2_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__this->selected2, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp78 = ::g::Fuse::Reactive::Data::New1(uString::Const("selected2")); __this->header2 = ::g::Fuse::Controls::DockPanel::New4(); __this->header2_Color_inst = ::g::HSMRO_FuseControlsPanel_Color_Property::New1(__this->header2, c_po__Template2::__selector4_); ::g::Fuse::Reactive::Data* temp79 = ::g::Fuse::Reactive::Data::New1(uString::Const("toggleOpen2")); ::g::Fuse::Reactive::Each* temp23 = ::g::Fuse::Reactive::Each::New4(); __this->temp23_Items_inst = ::g::HSMRO_FuseReactiveEach_Items_Property::New1(temp23, c_po__Template2::__selector6_); ::g::Fuse::Reactive::Data* temp80 = ::g::Fuse::Reactive::Data::New1(uString::Const("appr_list")); __this->dropdown2 = ::g::Fuse::Controls::Panel::New3(); __this->dropdown2_Opacity_inst = ::g::HSMRO_FuseElementsElement_Opacity_Property::New1(__this->dropdown2, c_po__Template2::__selector5_); __this->dropdown2_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(__this->dropdown2, c_po__Template2::__selector3_); ::g::Fuse::Triggers::WhileFalse* temp24 = ::g::Fuse::Triggers::WhileFalse::New2(); __this->temp24_Value_inst = ::g::HSMRO_FuseTriggersWhileBool_Value_Property::New1(temp24, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp81 = ::g::Fuse::Reactive::Data::New1(uString::Const("isOpen2")); ::g::Fuse::Reactive::Each* temp25 = ::g::Fuse::Reactive::Each::New4(); __this->temp25_Items_inst = ::g::HSMRO_FuseReactiveEach_Items_Property::New1(temp25, c_po__Template2::__selector6_); ::g::Fuse::Reactive::Data* temp82 = ::g::Fuse::Reactive::Data::New1(uString::Const("items_appr_line")); ::g::Fuse::Reactive::Data* temp83 = ::g::Fuse::Reactive::Data::New1(uString::Const("TOTAL_AMT3")); uString* temp84 = ::STRINGS[55/*" 원"*/]; ::g::Fuse::Reactive::Constant* temp85 = ::g::Fuse::Reactive::Constant::New1(temp84); ::g::Fuse::Controls::Text* temp26 = ::g::Fuse::Controls::Text::New3(); __this->temp26_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp26, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Add* temp86 = ::g::Fuse::Reactive::Add::New1(temp83, temp85); ::g::Fuse::Controls::Text* temp27 = ::g::Fuse::Controls::Text::New3(); __this->temp27_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp27, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp87 = ::g::Fuse::Reactive::Data::New1(uString::Const("USR_NM1")); ::g::Fuse::Controls::Text* temp28 = ::g::Fuse::Controls::Text::New3(); __this->temp28_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp28, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp88 = ::g::Fuse::Reactive::Data::New1(uString::Const("APPR_DT3")); ::g::Fuse::Controls::TextView* temp29 = ::g::Fuse::Controls::TextView::New3(); __this->temp29_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(temp29, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp89 = ::g::Fuse::Reactive::Data::New1(uString::Const("APP_H3")); ::g::Fuse::Controls::TextView* temp30 = ::g::Fuse::Controls::TextView::New3(); __this->temp30_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(temp30, c_po__Template2::__selector0_); ::g::Fuse::Reactive::Data* temp90 = ::g::Fuse::Reactive::Data::New1(uString::Const("APP_D3")); ::g::Fuse::Reactive::Data* temp91 = ::g::Fuse::Reactive::Data::New1(uString::Const("appr_ok_click3")); __this->apprPopup = ::g::Fuse::Controls::ScrollView::New4(); __this->apprPopup_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(__this->apprPopup, c_po__Template2::__selector3_); ::g::Fuse::Reactive::Data* temp92 = ::g::Fuse::Reactive::Data::New1(uString::Const("apprPopup")); ::g::Fuse::Controls::NativeViewHost* temp93 = ::g::Fuse::Controls::NativeViewHost::New3(); ::g::Fuse::Reactive::DataBinding* temp94 = ::g::Fuse::Reactive::DataBinding::New1(__this->dtpk1_Value_inst, (uObject*)temp31, 3); ::g::Fuse::Reactive::DataBinding* temp95 = ::g::Fuse::Reactive::DataBinding::New1(__this->dtpk1_MinValue_inst, (uObject*)temp32, 3); ::g::Fuse::Reactive::DataBinding* temp96 = ::g::Fuse::Reactive::DataBinding::New1(__this->dtpk1_MaxValue_inst, (uObject*)temp33, 3); ::g::Fuse::Reactive::DataBinding* temp97 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp_Value_inst, (uObject*)temp34, 3); ::g::Fuse::Controls::ClientPanel* temp98 = ::g::Fuse::Controls::ClientPanel::New5(); __this->router_cal = ::g::Fuse::Navigation::Router::New2(); ::g::Fuse::Controls::Navigator* temp99 = ::g::Fuse::Controls::Navigator::New4(); c_po__Template2__Template3* calendar = c_po__Template2__Template3::New2(__this, __self1); ::g::Fuse::Reactive::DataBinding* temp100 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp1_Value_inst, (uObject*)temp35, 3); ::g::Fuse::Controls::ScrollView* temp101 = ::g::Fuse::Controls::ScrollView::New4(); ::g::Fuse::Controls::DockPanel* temp102 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::DockPanel* temp103 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Image* temp104 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Controls::Text* temp105 = ::g::Fuse::Controls::Text::New3(); __this->temp_eb85 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp36); ::g::Fuse::Reactive::DataBinding* temp106 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp2_Visibility_inst, (uObject*)temp37, 3); ::g::Fuse::Controls::Button* temp107 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::DockPanel* temp108 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Image* temp109 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Gestures::WhilePressed* temp110 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Scale* temp111 = ::g::Fuse::Animations::Scale::New2(); ::g::Fuse::Animations::Change* temp112 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartRect3_Color_inst); ::g::Fuse::Animations::Change* temp113 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartText3_Color_inst); ::g::Fuse::Animations::Change* temp114 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->cartRectStroke3_Color_inst); __this->temp_eb86 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp38); ::g::Fuse::Controls::Rectangle* temp115 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::DockPanel* temp116 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::DockPanel* temp117 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Grid* temp118 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::Text* temp119 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp120 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp121 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp3_Value_inst, (uObject*)temp39, 3); ::g::Fuse::Reactive::DataBinding* temp122 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp4_Value_inst, (uObject*)temp40, 3); ::g::Fuse::Controls::Text* temp123 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp124 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp125 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp5_Value_inst, (uObject*)temp41, 3); ::g::Fuse::Reactive::DataBinding* temp126 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp6_Value_inst, (uObject*)temp42, 3); ::g::Fuse::Controls::Text* temp127 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp128 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp7_Value_inst, (uObject*)temp43, 3); ::g::Fuse::Reactive::DataBinding* temp129 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp8_Value_inst, (uObject*)temp44, 3); ::g::Fuse::Drawing::Stroke* temp130 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Controls::Rectangle* temp131 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::DockPanel* temp132 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::DockPanel* temp133 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::DockPanel* temp134 = ::g::Fuse::Controls::DockPanel::New4(); __this->checkCircle3 = ::g::Fuse::Controls::Circle::New3(); ::g::Fuse::Drawing::Stroke* temp135 = ::g::Fuse::Drawing::Stroke::New2(); __this->toggleCheck3 = ::g::Fuse::Triggers::WhileTrue::New2(); ::g::Fuse::Animations::Change* temp136 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[6/*Fuse.Animations.Change<float>*/], __this->checkImage3_Opacity_inst); ::g::Fuse::Reactive::DataBinding* temp137 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp9_Value_inst, (uObject*)temp45, 3); ::g::Fuse::Reactive::DataBinding* temp138 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp10_Value_inst, (uObject*)temp46, 3); ::g::Fuse::Reactive::DataBinding* temp139 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp11_Value_inst, (uObject*)temp47, 3); ::g::Fuse::Reactive::DataBinding* temp140 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp12_Value_inst, (uObject*)temp48, 3); ::g::Fuse::Gestures::Clicked* temp141 = ::g::Fuse::Gestures::Clicked::New2(); ::g::Fuse::Triggers::Actions::Toggle* temp142 = ::g::Fuse::Triggers::Actions::Toggle::New2(); ::g::Fuse::Controls::Text* temp143 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Grid* temp144 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::Text* temp145 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp146 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp13_Visibility_inst, (uObject*)temp49, 3); ::g::Fuse::Controls::DockPanel* temp147 = ::g::Fuse::Controls::DockPanel::New4(); __this->combobox = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Reactive::DataBinding* temp148 = ::g::Fuse::Reactive::DataBinding::New1(__this->selected_Value_inst, (uObject*)temp50, 3); ::g::Fuse::Controls::Text* temp149 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Gestures::WhilePressed* temp150 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Change* temp151 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->header_Color_inst); __this->temp_eb87 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp51); ::g::Fuse::Translation* temp152 = ::g::Fuse::Translation::New2(); ::g::Fuse::Controls::ScrollView* temp153 = ::g::Fuse::Controls::ScrollView::New4(); ::g::Fuse::Controls::StackPanel* temp154 = ::g::Fuse::Controls::StackPanel::New4(); c_po__Template2__Template4* item = c_po__Template2__Template4::New2(__this, __self1); ::g::Fuse::Reactive::DataBinding* temp155 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp14_Items_inst, (uObject*)temp52, 3); ::g::Fuse::Animations::Change* temp156 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[6/*Fuse.Animations.Change<float>*/], __this->dropdown_Opacity_inst); ::g::Fuse::Animations::Change* temp157 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::g::Fuse::Animations::Change_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), __this->dropdown_Visibility_inst); ::g::Fuse::Animations::Move* temp158 = ::g::Fuse::Animations::Move::New2(); ::g::Fuse::Reactive::DataBinding* temp159 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp15_Value_inst, (uObject*)temp53, 3); ::g::Fuse::Reactive::DataBinding* temp160 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp16_Value_inst, (uObject*)temp54, 3); ::g::Fuse::Controls::Rectangle* temp161 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp162 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp17_Visibility_inst, (uObject*)temp55, 3); ::g::Fuse::Controls::Text* temp163 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp164 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp165 = ::g::Fuse::Reactive::DataBinding::New1(__this->DLVY_TEL_Value_inst, (uObject*)temp56, 3); ::g::Fuse::Reactive::DataBinding* temp166 = ::g::Fuse::Reactive::DataBinding::New1(__this->DLVY_PHONE_Value_inst, (uObject*)temp57, 3); ::g::Fuse::Controls::Text* temp167 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp168 = ::g::Fuse::Reactive::DataBinding::New1(__this->DLVY_ADDR_Value_inst, (uObject*)temp58, 3); ::g::Fuse::Controls::Text* temp169 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::DockPanel* temp170 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Reactive::DataBinding* temp171 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp18_Value_inst, (uObject*)temp59, 3); ::g::Fuse::Controls::Rectangle* temp172 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp173 = ::g::Fuse::Reactive::DataBinding::New1(__this->DLVY_ID_Value_inst, (uObject*)temp60, 3); ::g::Fuse::Drawing::Stroke* temp174 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Controls::DockPanel* temp175 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Reactive::DataBinding* temp176 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp19_Value_inst, (uObject*)temp67, 3); ::g::Fuse::Controls::Rectangle* temp177 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::DockPanel* temp178 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Text* temp179 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp180 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp181 = ::g::Fuse::Reactive::DataBinding::New1(__this->TOTAL_AMT3_Value_inst, (uObject*)temp68, 3); ::g::Fuse::Drawing::Stroke* temp182 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Controls::DockPanel* temp183 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Text* temp184 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp185 = ::g::Fuse::Reactive::DataBinding::New1(__this->DLVY_HOPE_DT3_Value_inst, (uObject*)temp69, 3); __this->temp_eb89 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp70); ::g::Fuse::Controls::Image* temp186 = ::g::Fuse::Controls::Image::New3(); __this->temp_eb90 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp71); ::g::Fuse::Reactive::DataBinding* temp187 = ::g::Fuse::Reactive::DataBinding::New1(__this->_222_Value_inst, (uObject*)temp72, 3); ::g::Fuse::Controls::DockPanel* temp188 = ::g::Fuse::Controls::DockPanel::New4(); c_po__Template2__Template5* temp189 = c_po__Template2__Template5::New2(__this, __self1); c_po__Template2__Template6* temp190 = c_po__Template2__Template6::New2(__this, __self1); c_po__Template2__Template7* temp191 = c_po__Template2__Template7::New2(__this, __self1); ::g::Fuse::Reactive::DataBinding* temp192 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp20_Items_inst, (uObject*)temp73, 3); ::g::Fuse::Controls::Rectangle* temp193 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::StackPanel* temp194 = ::g::Fuse::Controls::StackPanel::New4(); ::g::Fuse::Controls::Button* temp195 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::Text* temp196 = ::g::Fuse::Controls::Text::New3(); __this->temp_eb94 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp74); ::g::Fuse::Reactive::DataBinding* temp197 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp21_Visibility_inst, (uObject*)temp75, 3); ::g::Fuse::Controls::Button* temp198 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::Text* temp199 = ::g::Fuse::Controls::Text::New3(); __this->temp_eb95 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp76); ::g::Fuse::Reactive::DataBinding* temp200 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp22_Visibility_inst, (uObject*)temp77, 3); ::g::Fuse::Controls::DockPanel* temp201 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Rectangle* temp202 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::DockPanel* temp203 = ::g::Fuse::Controls::DockPanel::New4(); __this->combobox2 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Reactive::DataBinding* temp204 = ::g::Fuse::Reactive::DataBinding::New1(__this->selected2_Value_inst, (uObject*)temp78, 3); ::g::Fuse::Controls::Text* temp205 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Gestures::WhilePressed* temp206 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Change* temp207 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->header2_Color_inst); __this->temp_eb96 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp79); ::g::Fuse::Translation* temp208 = ::g::Fuse::Translation::New2(); ::g::Fuse::Controls::ScrollView* temp209 = ::g::Fuse::Controls::ScrollView::New4(); ::g::Fuse::Controls::StackPanel* temp210 = ::g::Fuse::Controls::StackPanel::New4(); c_po__Template2__Template8* temp211 = c_po__Template2__Template8::New2(__this, __self1); ::g::Fuse::Reactive::DataBinding* temp212 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp23_Items_inst, (uObject*)temp80, 3); ::g::Fuse::Animations::Change* temp213 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[6/*Fuse.Animations.Change<float>*/], __this->dropdown2_Opacity_inst); ::g::Fuse::Animations::Change* temp214 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::g::Fuse::Animations::Change_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), __this->dropdown2_Visibility_inst); ::g::Fuse::Animations::Move* temp215 = ::g::Fuse::Animations::Move::New2(); ::g::Fuse::Reactive::DataBinding* temp216 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp24_Value_inst, (uObject*)temp81, 3); ::g::Fuse::Drawing::Stroke* temp217 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Controls::Rectangle* temp218 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::Grid* temp219 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::Text* temp220 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp221 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp222 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp223 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp224 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp225 = ::g::Fuse::Controls::Text::New3(); c_po__Template2__Template9* temp226 = c_po__Template2__Template9::New2(__this, __self1); c_po__Template2__Template10* temp227 = c_po__Template2__Template10::New2(__this, __self1); c_po__Template2__Template11* temp228 = c_po__Template2__Template11::New2(__this, __self1); c_po__Template2__Template12* temp229 = c_po__Template2__Template12::New2(__this, __self1); c_po__Template2__Template13* temp230 = c_po__Template2__Template13::New2(__this, __self1); c_po__Template2__Template14* temp231 = c_po__Template2__Template14::New2(__this, __self1); ::g::Fuse::Reactive::DataBinding* temp232 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp25_Items_inst, (uObject*)temp82, 3); ::g::Fuse::Drawing::Stroke* temp233 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Controls::Rectangle* temp234 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::DockPanel* temp235 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Grid* temp236 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::Text* temp237 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp238 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp26_Value_inst, (uObject*)temp86, 3); ::g::Fuse::Controls::Text* temp239 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Text* temp240 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp241 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp27_Value_inst, (uObject*)temp87, 3); ::g::Fuse::Reactive::DataBinding* temp242 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp28_Value_inst, (uObject*)temp88, 3); ::g::Fuse::Controls::Text* temp243 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Rectangle* temp244 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp245 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp29_Value_inst, (uObject*)temp89, 3); ::g::Fuse::Drawing::Stroke* temp246 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Drawing::StaticSolidColor* temp247 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.9490196f, 0.9529412f, 0.972549f, 1.0f)); ::g::Fuse::Controls::Text* temp248 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Rectangle* temp249 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp250 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp30_Value_inst, (uObject*)temp90, 3); ::g::Fuse::Drawing::Stroke* temp251 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Drawing::StaticSolidColor* temp252 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.9490196f, 0.9529412f, 0.972549f, 1.0f)); ::g::Fuse::Drawing::Stroke* temp253 = ::g::Fuse::Drawing::Stroke::New2(); ::g::Fuse::Controls::StackPanel* temp254 = ::g::Fuse::Controls::StackPanel::New4(); ::g::Fuse::Controls::Rectangle* temp255 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::Button* temp256 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::Text* temp257 = ::g::Fuse::Controls::Text::New3(); __this->temp_eb99 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp91); ::g::Fuse::Controls::Rectangle* temp258 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::Button* temp259 = ::g::Fuse::Controls::Button::New5(); ::g::Fuse::Controls::Text* temp260 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Gestures::Clicked* temp261 = ::g::Fuse::Gestures::Clicked::New2(); ::g::Fuse::Triggers::Actions::Set* temp262 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::TYPES[8/*Fuse.Triggers.Actions.Set<Fuse.Elements.Visibility>*/], __this->apprPopup_Visibility_inst); ::g::Fuse::Drawing::StaticSolidColor* temp263 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(0.9372549f, 0.9372549f, 0.9372549f, 1.0f)); ::g::Fuse::Reactive::DataBinding* temp264 = ::g::Fuse::Reactive::DataBinding::New1(__this->apprPopup_Visibility_inst, (uObject*)temp92, 3); __self1->Name(c_po__Template2::__selector7_); __self1->SourceLineNumber(420); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->SourceLineNumber(423); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Nodes()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp93); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp97); temp93->SourceLineNumber(424); temp93->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp93->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->dtpk1); uPtr(__this->dtpk1)->Layer(3); uPtr(__this->dtpk1)->Name(c_po__Template2::__selector8_); uPtr(__this->dtpk1)->SourceLineNumber(425); uPtr(__this->dtpk1)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->dtpk1)->Background(::g::Fuse::Drawing::Brushes::White()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dtpk1)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp94); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dtpk1)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp95); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dtpk1)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp96); temp31->SourceLineNumber(425); temp31->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp32->SourceLineNumber(425); temp32->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp33->SourceLineNumber(425); temp33->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp34->SourceLineNumber(423); temp34->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp1->SourceLineNumber(429); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Nodes()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp98); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp100); temp98->Height(::g::Uno::UX::Size__New1(100.0f, 4)); temp98->Visibility(0); temp98->Layer(2); temp98->SourceLineNumber(430); temp98->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp98, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp98->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->router_cal); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp98->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp99); uPtr(__this->router_cal)->Name(c_po__Template2::__selector9_); uPtr(__this->router_cal)->SourceLineNumber(431); uPtr(__this->router_cal)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp99->DefaultPath(::STRINGS[66/*"calendar"*/]); temp99->SourceLineNumber(432); temp99->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp99->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), calendar); temp35->SourceLineNumber(429); temp35->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp101->SnapMinTransform(false); temp101->SnapMaxTransform(false); temp101->Height(::g::Uno::UX::Size__New1(100.0f, 4)); temp101->Alignment(0); temp101->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp101->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp101->SourceLineNumber(438); temp101->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp101, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp101->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp102); temp102->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp102->Alignment(0); temp102->SourceLineNumber(439); temp102->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp103); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp115); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp131); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp175); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp183); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp188); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp102->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp194); temp103->Alignment(4); temp103->SourceLineNumber(440); temp103->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp103, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp103->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp103->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp107); temp2->Width(::g::Uno::UX::Size__New1(80.0f, 1)); temp2->Alignment(4); temp2->Margin(::g::Uno::Float4__New2(10.0f, 0.0f, 0.0f, 0.0f)); temp2->SourceLineNumber(441); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp2, 0); ::g::Fuse::Gestures::Clicked::AddHandler(temp2, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb85))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp104); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp105); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb85); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp106); temp104->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.3490196f)); temp104->Height(::g::Uno::UX::Size__New1(20.0f, 1)); temp104->Alignment(9); temp104->SourceLineNumber(442); temp104->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp104->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::backeb15b2d1())); temp105->Value(uString::Const("BACK")); temp105->TextWrapping(0); temp105->FontSize(18.0f); temp105->TextAlignment(0); temp105->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.3490196f)); temp105->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp105->Alignment(0); temp105->Margin(::g::Uno::Float4__New2(20.0f, 5.0f, 0.0f, 0.0f)); temp105->SourceLineNumber(443); temp105->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp105->Font(::g::MainView::AGOTHIC14()); temp36->SourceLineNumber(441); temp36->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp37->SourceLineNumber(441); temp37->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp107->Width(::g::Uno::UX::Size__New1(80.0f, 1)); temp107->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp107->Alignment(10); temp107->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 5.0f, 0.0f)); temp107->SourceLineNumber(445); temp107->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp107, 1); ::g::Fuse::Gestures::Clicked::AddHandler(temp107, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb86))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp107->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->cartRect3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp107->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb86); uPtr(__this->cartRect3)->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->cartRect3)->Name(c_po__Template2::__selector10_); uPtr(__this->cartRect3)->SourceLineNumber(446); uPtr(__this->cartRect3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect3)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), __this->cartRectStroke3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp108); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->cartRect3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp110); temp108->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp108->SourceLineNumber(447); temp108->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp108->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp109); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp108->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->cartText3); temp109->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp109->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp109->Alignment(9); temp109->SourceLineNumber(448); temp109->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp109, 0); temp109->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::refresh4c06b0ab())); uPtr(__this->cartText3)->Value(uString::Const("\354\203\210\353\241\234\352\263\240\354\271\250")); uPtr(__this->cartText3)->TextWrapping(0); uPtr(__this->cartText3)->FontSize(13.0f); uPtr(__this->cartText3)->TextAlignment(0); uPtr(__this->cartText3)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->cartText3)->Alignment(9); uPtr(__this->cartText3)->Margin(::g::Uno::Float4__New2(0.0f, 3.0f, 0.0f, 0.0f)); uPtr(__this->cartText3)->Name(c_po__Template2::__selector11_); uPtr(__this->cartText3)->SourceLineNumber(449); uPtr(__this->cartText3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->cartText3, 0); uPtr(__this->cartText3)->Font(::g::MainView::AGOTHIC14()); uPtr(__this->cartRectStroke3)->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); uPtr(__this->cartRectStroke3)->Width(1.0f); temp110->SourceLineNumber(452); temp110->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp110->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp111); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp110->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp112); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp110->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp113); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp110->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp114); temp111->Factor(0.95f); temp111->Duration(0.08); temp111->Easing(::g::Fuse::Animations::Easing::QuadraticOut()); ::g::Fuse::Animations::Change__set_Value_fn(temp112, uCRef(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp113, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); ::g::Fuse::Animations::Change__set_Value_fn(temp114, uCRef(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f))); temp38->SourceLineNumber(445); temp38->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp115->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp115->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 0.9098039f)); temp115->Margin(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp115->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp115->SourceLineNumber(461); temp115->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp115, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp115->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp130); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp115->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp116); temp116->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp116->SourceLineNumber(462); temp116->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp116->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp117); temp117->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp117->Alignment(0); temp117->SourceLineNumber(463); temp117->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp117, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp117->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp118); temp118->Rows(uString::Const("auto, auto, auto, auto, auto, auto")); temp118->RowCount(6); temp118->Columns(uString::Const("5*, 5*")); temp118->ColumnCount(2); temp118->CellSpacing(3.0f); temp118->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp118->Alignment(4); temp118->SourceLineNumber(464); temp118->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp118, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp119); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp120); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp123); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp124); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp5); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp6); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp127); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp7); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp118->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp8); temp119->Value(uString::Const("\353\260\234\354\243\274\353\266\200\354\204\234")); temp119->FontSize(10.0f); temp119->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp119->Alignment(13); temp119->SourceLineNumber(465); temp119->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp119->Font(::g::MainView::AGOTHIC14()); temp120->Value(uString::Const("\353\260\234\354\243\274\354\236\220\353\252\205")); temp120->FontSize(10.0f); temp120->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp120->Alignment(13); temp120->SourceLineNumber(466); temp120->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp120->Font(::g::MainView::AGOTHIC14()); temp3->FontSize(13.0f); temp3->Alignment(0); temp3->SourceLineNumber(467); temp3->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp3->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp121); temp39->SourceLineNumber(467); temp39->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->FontSize(13.0f); temp4->Alignment(13); temp4->SourceLineNumber(468); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp4->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp122); temp40->SourceLineNumber(468); temp40->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp123->Value(uString::Const("\354\240\204\355\231\224\353\262\210\355\230\270")); temp123->FontSize(10.0f); temp123->TextAlignment(2); temp123->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp123->Alignment(9); temp123->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp123->SourceLineNumber(469); temp123->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp123->Font(::g::MainView::AGOTHIC14()); temp124->Value(uString::Const("\355\234\264\353\214\200\355\217\260\353\262\210\355\230\270")); temp124->FontSize(10.0f); temp124->TextAlignment(2); temp124->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp124->Alignment(9); temp124->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp124->SourceLineNumber(470); temp124->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp124->Font(::g::MainView::AGOTHIC14()); temp5->FontSize(13.0f); temp5->TextAlignment(2); temp5->Alignment(9); temp5->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp5->SourceLineNumber(471); temp5->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp5->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp5->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp125); temp41->SourceLineNumber(471); temp41->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp6->FontSize(13.0f); temp6->TextAlignment(2); temp6->Alignment(9); temp6->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp6->SourceLineNumber(472); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp6->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp6->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp126); temp42->SourceLineNumber(472); temp42->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp127->Value(uString::Const("\353\260\234\354\243\274\354\236\220\354\243\274\354\206\214")); temp127->FontSize(10.0f); temp127->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp127->Alignment(13); temp127->SourceLineNumber(473); temp127->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp127, 2); temp127->Font(::g::MainView::AGOTHIC14()); temp7->FontSize(13.0f); temp7->Alignment(13); temp7->SourceLineNumber(474); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp7, 2); temp7->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp7->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp128); temp43->SourceLineNumber(474); temp43->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp8->FontSize(13.0f); temp8->Alignment(13); temp8->Visibility(1); temp8->SourceLineNumber(475); temp8->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp8, 2); temp8->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp129); temp44->SourceLineNumber(475); temp44->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp130->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.1529412f)); temp130->Width(1.0f); temp131->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp131->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 0.9098039f)); temp131->Margin(::g::Uno::Float4__New2(5.0f, 10.0f, 5.0f, 5.0f)); temp131->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp131->SourceLineNumber(481); temp131->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp131, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp131->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp174); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp131->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp132); temp132->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp132->SourceLineNumber(482); temp132->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp132->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp133); temp133->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp133->Alignment(0); temp133->SourceLineNumber(483); temp133->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp133, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp133->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp134); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp133->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp144); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp133->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DLVY_ID); temp134->Alignment(7); temp134->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp134->SourceLineNumber(484); temp134->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp134, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp134->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->checkCircle3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp134->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp143); uPtr(__this->checkCircle3)->Width(::g::Uno::UX::Size__New1(20.0f, 1)); uPtr(__this->checkCircle3)->Height(::g::Uno::UX::Size__New1(20.0f, 1)); uPtr(__this->checkCircle3)->Alignment(9); uPtr(__this->checkCircle3)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->checkCircle3)->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->checkCircle3)->Name(c_po__Template2::__selector12_); uPtr(__this->checkCircle3)->SourceLineNumber(485); uPtr(__this->checkCircle3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->checkCircle3, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->checkCircle3)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp135); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->checkCircle3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->checkImage3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->checkCircle3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->toggleCheck3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->checkCircle3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp141); uPtr(__this->checkImage3)->Width(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->checkImage3)->Height(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->checkImage3)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->checkImage3)->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->checkImage3)->Opacity(0.0f); uPtr(__this->checkImage3)->Name(c_po__Template2::__selector13_); uPtr(__this->checkImage3)->SourceLineNumber(486); uPtr(__this->checkImage3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->checkImage3)->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::checkf49575a4())); temp135->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.1529412f)); temp135->Width(1.0f); uPtr(__this->toggleCheck3)->Name(c_po__Template2::__selector14_); uPtr(__this->toggleCheck3)->SourceLineNumber(488); uPtr(__this->toggleCheck3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp136); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp9); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp10); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp11); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp12); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp137); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp138); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp139); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->toggleCheck3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp140); ::g::Fuse::Animations::Change__set_Value_fn(temp136, uCRef(1.0f)); temp45->SourceLineNumber(490); temp45->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp46->SourceLineNumber(491); temp46->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp47->SourceLineNumber(492); temp47->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp48->SourceLineNumber(493); temp48->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp141->SourceLineNumber(496); temp141->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp141->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp142); temp142->SourceLineNumber(497); temp142->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp142->Target((uObject*)__this->toggleCheck3); temp143->Value(uString::Const("\353\260\234\354\243\274\354\236\220\354\231\200 \353\217\231\354\235\274")); temp143->FontSize(11.0f); temp143->Alignment(9); temp143->Margin(::g::Uno::Float4__New2(5.0f, 0.0f, 0.0f, 0.0f)); temp143->SourceLineNumber(500); temp143->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp143, 0); temp143->Font(::g::MainView::AGOTHIC14()); temp144->Rows(uString::Const("auto, auto, auto, auto, auto, auto")); temp144->RowCount(9); temp144->Columns(uString::Const("5*, 5*")); temp144->ColumnCount(2); temp144->CellSpacing(3.0f); temp144->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp144->Alignment(4); temp144->SourceLineNumber(502); temp144->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp144, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp145); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp13); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp147); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp17); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp163); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp164); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DLVY_TEL); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DLVY_PHONE); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp167); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DLVY_ADDR); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp169); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp144->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp170); temp145->Value(uString::Const("\354\235\270\354\210\230\354\236\220\353\252\205")); temp145->FontSize(10.0f); temp145->Color(::g::Uno::Float4__New2(0.7137255f, 0.3529412f, 0.2666667f, 1.0f)); temp145->Alignment(13); temp145->SourceLineNumber(503); temp145->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp145->Font(::g::MainView::AGOTHIC14()); temp13->Value(uString::Const("\354\232\224\354\262\255\354\236\220\353\252\205")); temp13->FontSize(10.0f); temp13->Color(::g::Uno::Float4__New2(0.7137255f, 0.3529412f, 0.2666667f, 1.0f)); temp13->Alignment(13); temp13->X(::g::Uno::UX::Size__New1(10.0f, 1)); temp13->SourceLineNumber(504); temp13->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp13->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp13->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp146); temp49->SourceLineNumber(504); temp49->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp147->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp147->Alignment(1); temp147->Margin(::g::Uno::Float4__New2(0.0f, 5.0f, 0.0f, 5.0f)); temp147->SourceLineNumber(505); temp147->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp147->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->combobox); uPtr(__this->combobox)->Color(::g::Uno::Float4__New2(0.8666667f, 0.8666667f, 0.8666667f, 1.0f)); uPtr(__this->combobox)->Alignment(0); uPtr(__this->combobox)->Name(c_po__Template2::__selector15_); uPtr(__this->combobox)->SourceLineNumber(506); uPtr(__this->combobox)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->combobox, 4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->combobox)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->header); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->combobox)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->dropdown); uPtr(__this->header)->HitTestMode(6); uPtr(__this->header)->Alignment(0); uPtr(__this->header)->Name(c_po__Template2::__selector16_); uPtr(__this->header)->SourceLineNumber(509); uPtr(__this->header)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->header, 4); ::g::Fuse::Gestures::Clicked::AddHandler(__this->header, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb87))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->header)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->selected); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->header)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp149); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->header)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp150); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->header)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb87); uPtr(__this->selected)->FontSize(13.0f); uPtr(__this->selected)->Alignment(9); uPtr(__this->selected)->Margin(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->selected)->Name(c_po__Template2::__selector17_); uPtr(__this->selected)->SourceLineNumber(510); uPtr(__this->selected)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->selected, 0); uPtr(__this->selected)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->selected)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp148); temp50->SourceLineNumber(510); temp50->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp149->Value(uString::Const("\357\203\227")); temp149->FontSize(15.0f); temp149->TextAlignment(1); temp149->Alignment(11); temp149->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp149->SourceLineNumber(511); temp149->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp149, 1); temp149->Font(::g::MainView::FontAwesome()); temp150->SourceLineNumber(512); temp150->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp150->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp151); ::g::Fuse::Animations::Change__set_Value_fn(temp151, uCRef(::g::Uno::Float4__New2(0.7333333f, 0.7333333f, 0.7333333f, 1.0f))); temp151->Duration(0.1); temp151->DurationBack(0.1); temp51->SourceLineNumber(509); temp51->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->dropdown)->Color(::g::Uno::Float4__New2(0.9333333f, 0.9333333f, 0.9333333f, 1.0f)); uPtr(__this->dropdown)->MaxHeight(::g::Uno::UX::Size__New1(300.0f, 1)); uPtr(__this->dropdown)->Alignment(4); uPtr(__this->dropdown)->LayoutRole(2); uPtr(__this->dropdown)->Name(c_po__Template2::__selector18_); uPtr(__this->dropdown)->SourceLineNumber(516); uPtr(__this->dropdown)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dropdown)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp152); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dropdown)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp153); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dropdown)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp15); temp152->Y(1.0f); temp152->SourceLineNumber(517); temp152->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp152->RelativeNode(__this->combobox); temp152->RelativeTo(::g::Fuse::TranslationModes::Size()); temp153->SourceLineNumber(518); temp153->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp153->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp154); temp154->SourceLineNumber(519); temp154->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp154->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp14); temp14->SourceLineNumber(520); temp14->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp14->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), item); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp14->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp155); temp52->SourceLineNumber(520); temp52->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp15->SourceLineNumber(536); temp15->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp156); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp157); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp158); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp15->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp159); ::g::Fuse::Animations::Change__set_Value_fn(temp156, uCRef(0.0f)); temp156->Duration(0.15); temp156->Easing(::g::Fuse::Animations::Easing::CubicOut()); ::g::Fuse::Animations::Change__set_Value_fn(temp157, uCRef<int32_t>(2)); temp157->Delay(0.2); temp158->Y(-300.0f); temp158->Duration(0.2); temp158->Easing(::g::Fuse::Animations::Easing::CubicIn()); temp53->SourceLineNumber(536); temp53->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp17->Width(::g::Uno::UX::Size__New1(90.0f, 4)); temp17->Alignment(1); temp17->X(::g::Uno::UX::Size__New1(10.0f, 1)); temp17->SourceLineNumber(544); temp17->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp17->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp16); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp17->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp161); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp17->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp162); temp16->PlaceholderText(::STRINGS[28/*"(입력)"*/]); temp16->PlaceholderColor(::g::Uno::Float4__New2(0.8039216f, 0.6392157f, 0.6235294f, 1.0f)); temp16->FontSize(13.0f); temp16->Height(::g::Uno::UX::Size__New1(40.0f, 1)); temp16->Alignment(9); temp16->SourceLineNumber(545); temp16->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp16, 2); ::g::Fuse::Controls::Grid::SetColumnSpan(temp16, 2); temp16->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp16->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp160); temp54->SourceLineNumber(545); temp54->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp161->Color(::g::Uno::Float4__New2(0.8666667f, 0.8666667f, 0.8666667f, 1.0f)); temp161->Width(::g::Uno::UX::Size__New1(80.0f, 4)); temp161->Height(::g::Uno::UX::Size__New1(1.0f, 1)); temp161->Alignment(9); temp161->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp161->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp161->Y(::g::Uno::UX::Size__New1(-3.0f, 1)); temp161->SourceLineNumber(546); temp161->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp161, 2); temp55->SourceLineNumber(544); temp55->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp163->Value(uString::Const("\354\240\204\355\231\224\353\262\210\355\230\270")); temp163->FontSize(10.0f); temp163->TextAlignment(2); temp163->Color(::g::Uno::Float4__New2(0.7137255f, 0.3529412f, 0.2666667f, 1.0f)); temp163->Alignment(9); temp163->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp163->SourceLineNumber(548); temp163->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp163->Font(::g::MainView::AGOTHIC14()); temp164->Value(uString::Const("\355\234\264\353\214\200\355\217\260\353\262\210\355\230\270")); temp164->FontSize(10.0f); temp164->TextAlignment(2); temp164->Color(::g::Uno::Float4__New2(0.7137255f, 0.3529412f, 0.2666667f, 1.0f)); temp164->Alignment(9); temp164->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp164->X(::g::Uno::UX::Size__New1(10.0f, 1)); temp164->SourceLineNumber(549); temp164->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp164->Font(::g::MainView::AGOTHIC14()); uPtr(__this->DLVY_TEL)->FontSize(13.0f); uPtr(__this->DLVY_TEL)->TextAlignment(2); uPtr(__this->DLVY_TEL)->Alignment(9); uPtr(__this->DLVY_TEL)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->DLVY_TEL)->Name(c_po__Template2::__selector19_); uPtr(__this->DLVY_TEL)->SourceLineNumber(550); uPtr(__this->DLVY_TEL)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->DLVY_TEL)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DLVY_TEL)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp165); temp56->SourceLineNumber(550); temp56->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->DLVY_PHONE)->FontSize(13.0f); uPtr(__this->DLVY_PHONE)->TextAlignment(2); uPtr(__this->DLVY_PHONE)->Alignment(9); uPtr(__this->DLVY_PHONE)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->DLVY_PHONE)->X(::g::Uno::UX::Size__New1(10.0f, 1)); uPtr(__this->DLVY_PHONE)->Name(c_po__Template2::__selector20_); uPtr(__this->DLVY_PHONE)->SourceLineNumber(551); uPtr(__this->DLVY_PHONE)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->DLVY_PHONE)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DLVY_PHONE)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp166); temp57->SourceLineNumber(551); temp57->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp167->Value(uString::Const("\353\260\260\354\206\241\354\247\200\354\243\274\354\206\214")); temp167->FontSize(10.0f); temp167->Color(::g::Uno::Float4__New2(0.7137255f, 0.3529412f, 0.2666667f, 1.0f)); temp167->Alignment(13); temp167->SourceLineNumber(552); temp167->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp167, 2); temp167->Font(::g::MainView::AGOTHIC14()); uPtr(__this->DLVY_ADDR)->FontSize(13.0f); uPtr(__this->DLVY_ADDR)->Alignment(13); uPtr(__this->DLVY_ADDR)->Name(c_po__Template2::__selector21_); uPtr(__this->DLVY_ADDR)->SourceLineNumber(553); uPtr(__this->DLVY_ADDR)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(__this->DLVY_ADDR, 2); uPtr(__this->DLVY_ADDR)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DLVY_ADDR)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp168); temp58->SourceLineNumber(553); temp58->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp169->Value(::STRINGS[26/*"비고"*/]); temp169->FontSize(10.0f); temp169->Color(::g::Uno::Float4__New2(0.7137255f, 0.3529412f, 0.2666667f, 1.0f)); temp169->Alignment(13); temp169->SourceLineNumber(554); temp169->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp169, 2); temp169->Font(::g::MainView::AGOTHIC14()); temp170->Width(::g::Uno::UX::Size__New1(90.0f, 4)); temp170->Alignment(1); temp170->SourceLineNumber(555); temp170->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp170, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp170->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp18); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp170->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp172); temp18->PlaceholderText(::STRINGS[28/*"(입력)"*/]); temp18->PlaceholderColor(::g::Uno::Float4__New2(0.8078431f, 0.8078431f, 0.8078431f, 1.0f)); temp18->FontSize(13.0f); temp18->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp18->Alignment(0); temp18->Opacity(1.0f); temp18->SourceLineNumber(556); temp18->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp18, 2); ::g::Fuse::Controls::Grid::SetColumnSpan(temp18, 2); temp18->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp18->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp171); temp59->SourceLineNumber(556); temp59->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp172->Color(::g::Uno::Float4__New2(0.8666667f, 0.8666667f, 0.8666667f, 1.0f)); temp172->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp172->Height(::g::Uno::UX::Size__New1(1.0f, 1)); temp172->Alignment(9); temp172->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp172->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp172->Y(::g::Uno::UX::Size__New1(-5.0f, 1)); temp172->SourceLineNumber(557); temp172->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp172, 2); uPtr(__this->DLVY_ID)->FontSize(13.0f); uPtr(__this->DLVY_ID)->TextAlignment(2); uPtr(__this->DLVY_ID)->Alignment(9); uPtr(__this->DLVY_ID)->Visibility(1); uPtr(__this->DLVY_ID)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->DLVY_ID)->Name(c_po__Template2::__selector22_); uPtr(__this->DLVY_ID)->SourceLineNumber(560); uPtr(__this->DLVY_ID)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->DLVY_ID, 2); uPtr(__this->DLVY_ID)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DLVY_ID)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp173); temp60->SourceLineNumber(560); temp60->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp174->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.1529412f)); temp174->Width(1.0f); temp175->Alignment(0); temp175->Margin(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp175->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp175->SourceLineNumber(567); temp175->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp175, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp175->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp19); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp175->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp177); temp19->Margin(::g::Uno::Float4__New2(0.0f, 3.0f, 0.0f, 3.0f)); temp19->SourceLineNumber(568); temp19->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp19, 0); temp19->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp19->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp176); temp67->SourceLineNumber(568); temp67->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp62->SourceLineNumber(568); temp62->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp66->SourceLineNumber(568); temp66->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp63->SourceLineNumber(568); temp63->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp65->SourceLineNumber(568); temp65->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp177->Width(::g::Uno::UX::Size__New1(115.0f, 1)); temp177->Alignment(0); temp177->Margin(::g::Uno::Float4__New2(0.0f, 3.0f, 5.0f, 3.0f)); temp177->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp177->SourceLineNumber(569); temp177->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp177, 1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp177->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp182); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp177->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp178); temp178->SourceLineNumber(570); temp178->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp178->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp179); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp178->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp180); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp178->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->TOTAL_AMT3); temp179->Value(uString::Const("\354\264\235")); temp179->FontSize(13.0f); temp179->TextAlignment(0); temp179->Alignment(1); temp179->SourceLineNumber(571); temp179->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp179, 0); temp179->Font(::g::MainView::AGOTHIC14()); temp180->Value(uString::Const("\354\233\220")); temp180->FontSize(13.0f); temp180->TextAlignment(2); temp180->Alignment(3); temp180->SourceLineNumber(572); temp180->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp180, 1); temp180->Font(::g::MainView::AGOTHIC14()); uPtr(__this->TOTAL_AMT3)->FontSize(13.0f); uPtr(__this->TOTAL_AMT3)->TextAlignment(2); uPtr(__this->TOTAL_AMT3)->Alignment(3); uPtr(__this->TOTAL_AMT3)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 3.0f, 0.0f)); uPtr(__this->TOTAL_AMT3)->Name(c_po__Template2::__selector23_); uPtr(__this->TOTAL_AMT3)->SourceLineNumber(573); uPtr(__this->TOTAL_AMT3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->TOTAL_AMT3, 1); uPtr(__this->TOTAL_AMT3)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->TOTAL_AMT3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp181); temp68->SourceLineNumber(573); temp68->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp182->Color(::g::Uno::Float4__New2(0.8117647f, 0.8117647f, 0.8117647f, 1.0f)); temp182->Width(1.0f); temp183->Alignment(0); temp183->Margin(::g::Uno::Float4__New2(15.0f, 0.0f, 0.0f, 0.0f)); temp183->SourceLineNumber(578); temp183->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp183, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp183->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp184); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp183->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DLVY_HOPE_DT3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp183->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp186); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp183->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->_222); temp184->Value(::STRINGS[91/*"납품요청일"*/]); temp184->FontSize(13.0f); temp184->TextAlignment(0); temp184->Alignment(0); temp184->SourceLineNumber(579); temp184->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp184, 0); temp184->Font(::g::MainView::AGOTHIC14()); uPtr(__this->DLVY_HOPE_DT3)->FontSize(13.0f); uPtr(__this->DLVY_HOPE_DT3)->TextAlignment(0); uPtr(__this->DLVY_HOPE_DT3)->Alignment(0); uPtr(__this->DLVY_HOPE_DT3)->Margin(::g::Uno::Float4__New2(10.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->DLVY_HOPE_DT3)->Name(c_po__Template2::__selector24_); uPtr(__this->DLVY_HOPE_DT3)->SourceLineNumber(580); uPtr(__this->DLVY_HOPE_DT3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->DLVY_HOPE_DT3, 0); ::g::Fuse::Gestures::Clicked::AddHandler(__this->DLVY_HOPE_DT3, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb89))); uPtr(__this->DLVY_HOPE_DT3)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DLVY_HOPE_DT3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp185); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DLVY_HOPE_DT3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb89); temp69->SourceLineNumber(580); temp69->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp70->SourceLineNumber(580); temp70->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp186->StretchDirection(0); temp186->StretchSizing(0); temp186->Width(::g::Uno::UX::Size__New1(30.0f, 1)); temp186->Alignment(9); temp186->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp186->Y(::g::Uno::UX::Size__New1(-5.0f, 1)); temp186->SourceLineNumber(581); temp186->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp186, 0); ::g::Fuse::Gestures::Clicked::AddHandler(temp186, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb90))); temp186->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::date101e6bad3())); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp186->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb90); temp71->SourceLineNumber(581); temp71->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->_222)->Visibility(1); uPtr(__this->_222)->Name(c_po__Template2::__selector25_); uPtr(__this->_222)->SourceLineNumber(582); uPtr(__this->_222)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->_222, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->_222)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp187); temp72->SourceLineNumber(582); temp72->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp188->Alignment(0); temp188->Margin(::g::Uno::Float4__New2(5.0f, 0.0f, 5.0f, 5.0f)); temp188->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp188->SourceLineNumber(584); temp188->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp188, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp188->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp20); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp188->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp193); temp20->SourceLineNumber(585); temp20->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp189); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp190); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp191); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp20->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp192); temp73->SourceLineNumber(585); temp73->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp193->Height(::g::Uno::UX::Size__New1(100.0f, 1)); temp193->Alignment(0); temp193->Opacity(1.0f); temp193->SourceLineNumber(678); temp193->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp193, 2); temp194->Orientation(0); temp194->ItemSpacing(5.0f); temp194->Height(::g::Uno::UX::Size__New1(40.0f, 1)); temp194->Alignment(10); temp194->Margin(::g::Uno::Float4__New2(0.0f, 5.0f, 0.0f, 0.0f)); temp194->SourceLineNumber(680); temp194->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp194, 3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp194->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp21); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp194->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp22); temp21->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp21->Color(::g::Uno::Float4__New2(0.6627451f, 0.8823529f, 0.6392157f, 1.0f)); temp21->Width(::g::Uno::UX::Size__New1(60.0f, 1)); temp21->Alignment(0); temp21->SourceLineNumber(681); temp21->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(temp21, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb94))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp195); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb94); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp21->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp197); temp195->Alignment(0); temp195->SourceLineNumber(682); temp195->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp195, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp195->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp196); temp196->Value(uString::Const("\353\260\234\354\243\274\354\231\204\353\243\214")); temp196->Alignment(10); temp196->SourceLineNumber(683); temp196->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp196->Font(::g::MainView::AGOTHIC14()); temp74->SourceLineNumber(681); temp74->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp75->SourceLineNumber(681); temp75->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp22->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp22->Color(::g::Uno::Float4__New2(0.9333333f, 0.7607843f, 0.7921569f, 1.0f)); temp22->Width(::g::Uno::UX::Size__New1(60.0f, 1)); temp22->Alignment(0); temp22->SourceLineNumber(687); temp22->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp22->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp198); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp22->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp200); temp198->Alignment(0); temp198->SourceLineNumber(688); temp198->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp198, 0); ::g::Fuse::Gestures::Clicked::AddHandler(temp198, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb95))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp198->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp199); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp198->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb95); temp199->Value(uString::Const("\352\262\260\354\236\254\354\247\204\355\226\211")); temp199->Alignment(10); temp199->SourceLineNumber(689); temp199->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp199->Font(::g::MainView::AGOTHIC14()); temp76->SourceLineNumber(688); temp76->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp77->SourceLineNumber(687); temp77->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->apprPopup)->Width(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->apprPopup)->Height(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->apprPopup)->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); uPtr(__this->apprPopup)->Layer(3); uPtr(__this->apprPopup)->Name(c_po__Template2::__selector26_); uPtr(__this->apprPopup)->SourceLineNumber(699); uPtr(__this->apprPopup)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->apprPopup, 4); uPtr(__this->apprPopup)->Background(temp263); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->apprPopup)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp201); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->apprPopup)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp264); temp201->SourceLineNumber(700); temp201->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp201->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp202); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp201->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp218); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp201->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp234); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp201->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp254); temp202->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp202->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp202->SourceLineNumber(701); temp202->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp202, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp202->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp217); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp202->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp203); temp203->Alignment(0); temp203->Margin(::g::Uno::Float4__New2(5.0f, 0.0f, 0.0f, 0.0f)); temp203->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp203->SourceLineNumber(702); temp203->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp203, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp203->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->combobox2); uPtr(__this->combobox2)->Color(::g::Uno::Float4__New2(0.8666667f, 0.8666667f, 0.8666667f, 1.0f)); uPtr(__this->combobox2)->Alignment(0); uPtr(__this->combobox2)->Name(c_po__Template2::__selector27_); uPtr(__this->combobox2)->SourceLineNumber(703); uPtr(__this->combobox2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->combobox2, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->combobox2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->header2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->combobox2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->dropdown2); uPtr(__this->header2)->HitTestMode(6); uPtr(__this->header2)->Alignment(0); uPtr(__this->header2)->Name(c_po__Template2::__selector28_); uPtr(__this->header2)->SourceLineNumber(706); uPtr(__this->header2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->header2, 4); ::g::Fuse::Gestures::Clicked::AddHandler(__this->header2, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb96))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->header2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->selected2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->header2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp205); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->header2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp206); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->header2)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb96); uPtr(__this->selected2)->FontSize(13.0f); uPtr(__this->selected2)->Alignment(9); uPtr(__this->selected2)->Margin(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->selected2)->Name(c_po__Template2::__selector29_); uPtr(__this->selected2)->SourceLineNumber(707); uPtr(__this->selected2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->selected2, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->selected2)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp204); temp78->SourceLineNumber(707); temp78->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp205->Value(uString::Const("\357\203\227")); temp205->FontSize(15.0f); temp205->TextAlignment(1); temp205->Alignment(11); temp205->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp205->SourceLineNumber(708); temp205->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp205, 1); temp205->Font(::g::MainView::FontAwesome()); temp206->SourceLineNumber(709); temp206->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp206->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp207); ::g::Fuse::Animations::Change__set_Value_fn(temp207, uCRef(::g::Uno::Float4__New2(0.7333333f, 0.7333333f, 0.7333333f, 1.0f))); temp207->Duration(0.1); temp207->DurationBack(0.1); temp79->SourceLineNumber(706); temp79->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->dropdown2)->Color(::g::Uno::Float4__New2(0.9333333f, 0.9333333f, 0.9333333f, 1.0f)); uPtr(__this->dropdown2)->MaxHeight(::g::Uno::UX::Size__New1(300.0f, 1)); uPtr(__this->dropdown2)->Alignment(4); uPtr(__this->dropdown2)->LayoutRole(2); uPtr(__this->dropdown2)->Name(c_po__Template2::__selector30_); uPtr(__this->dropdown2)->SourceLineNumber(713); uPtr(__this->dropdown2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dropdown2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp208); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dropdown2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp209); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->dropdown2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp24); temp208->Y(1.0f); temp208->SourceLineNumber(714); temp208->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp208->RelativeNode(__this->combobox2); temp208->RelativeTo(::g::Fuse::TranslationModes::Size()); temp209->SourceLineNumber(715); temp209->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp209->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp210); temp210->SourceLineNumber(716); temp210->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp210->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp23); temp23->SourceLineNumber(717); temp23->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp23->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp211); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp23->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp212); temp80->SourceLineNumber(717); temp80->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp24->SourceLineNumber(733); temp24->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp24->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp213); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp24->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp214); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp24->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp215); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp24->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp216); ::g::Fuse::Animations::Change__set_Value_fn(temp213, uCRef(0.0f)); temp213->Duration(0.15); temp213->Easing(::g::Fuse::Animations::Easing::CubicOut()); ::g::Fuse::Animations::Change__set_Value_fn(temp214, uCRef<int32_t>(2)); temp214->Delay(0.2); temp215->Y(-300.0f); temp215->Duration(0.2); temp215->Easing(::g::Fuse::Animations::Easing::CubicIn()); temp81->SourceLineNumber(733); temp81->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp217->Width(1.0f); temp218->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp218->SourceLineNumber(743); temp218->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp218, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp218->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp233); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp218->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp219); temp219->ColumnCount(6); temp219->Alignment(0); temp219->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp219->Padding(::g::Uno::Float4__New2(2.0f, 2.0f, 2.0f, 2.0f)); temp219->SourceLineNumber(744); temp219->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp219, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp219->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp220); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp219->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp221); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp219->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp222); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp219->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp223); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp219->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp224); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp219->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp225); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp219->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp25); temp220->Value(uString::Const("\352\265\254\353\266\204")); temp220->TextWrapping(0); temp220->FontSize(13.0f); temp220->TextAlignment(1); temp220->Color(::g::Uno::Float4__New2(0.5333334f, 0.3921569f, 0.7137255f, 1.0f)); temp220->Alignment(14); temp220->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 5.0f)); temp220->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp220->SourceLineNumber(745); temp220->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp220->Font(::g::MainView::AGOTHIC14()); temp221->Value(uString::Const("\352\262\260\354\235\230\354\236\220ID")); temp221->TextWrapping(0); temp221->FontSize(13.0f); temp221->TextAlignment(1); temp221->Color(::g::Uno::Float4__New2(0.5333334f, 0.3921569f, 0.7137255f, 1.0f)); temp221->Alignment(14); temp221->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 5.0f)); temp221->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp221->SourceLineNumber(746); temp221->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp221->Font(::g::MainView::AGOTHIC14()); temp222->Value(uString::Const("\352\262\260\354\235\230\354\236\220\353\252\205")); temp222->TextWrapping(0); temp222->FontSize(13.0f); temp222->TextAlignment(1); temp222->Color(::g::Uno::Float4__New2(0.5333334f, 0.3921569f, 0.7137255f, 1.0f)); temp222->Alignment(14); temp222->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 5.0f)); temp222->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp222->SourceLineNumber(747); temp222->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp222->Font(::g::MainView::AGOTHIC14()); temp223->Value(uString::Const("\354\247\201\352\270\211")); temp223->TextWrapping(0); temp223->FontSize(13.0f); temp223->TextAlignment(1); temp223->Color(::g::Uno::Float4__New2(0.5333334f, 0.3921569f, 0.7137255f, 1.0f)); temp223->Alignment(14); temp223->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 5.0f)); temp223->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp223->SourceLineNumber(748); temp223->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp223->Font(::g::MainView::AGOTHIC14()); temp224->Value(uString::Const("\353\266\200\354\204\234\353\252\205")); temp224->TextWrapping(0); temp224->FontSize(13.0f); temp224->TextAlignment(1); temp224->Color(::g::Uno::Float4__New2(0.5333334f, 0.3921569f, 0.7137255f, 1.0f)); temp224->Alignment(14); temp224->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 5.0f)); temp224->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp224->SourceLineNumber(749); temp224->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp224->Font(::g::MainView::AGOTHIC14()); temp225->Value(uString::Const("")); temp225->TextWrapping(0); temp225->FontSize(13.0f); temp225->TextAlignment(1); temp225->Color(::g::Uno::Float4__New2(0.5333334f, 0.3921569f, 0.7137255f, 1.0f)); temp225->Alignment(14); temp225->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 5.0f)); temp225->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp225->SourceLineNumber(750); temp225->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp225->Font(::g::MainView::AGOTHIC14()); temp25->SourceLineNumber(752); temp25->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp25->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp226); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp25->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp227); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp25->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp228); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp25->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp229); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp25->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp230); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp25->Templates()), ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Uno::UX::Template_typeof(), NULL)), temp231); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp25->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp232); temp82->SourceLineNumber(752); temp82->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp233->Color(::g::Uno::Float4__New2(0.5490196f, 0.4509804f, 0.7607843f, 1.0f)); temp233->Width(1.0f); temp234->Margin(::g::Uno::Float4__New2(0.0f, 5.0f, 0.0f, 0.0f)); temp234->Padding(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp234->SourceLineNumber(765); temp234->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp234, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp234->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp253); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp234->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp235); temp235->Alignment(0); temp235->Margin(::g::Uno::Float4__New2(5.0f, 0.0f, 0.0f, 0.0f)); temp235->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp235->SourceLineNumber(766); temp235->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp235, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp235->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp236); temp236->Rows(uString::Const("auto, auto, auto, auto, auto, auto, auto, auto")); temp236->RowCount(8); temp236->Columns(uString::Const("5*, 5*")); temp236->ColumnCount(2); temp236->CellSpacing(3.0f); temp236->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp236->Alignment(4); temp236->SourceLineNumber(767); temp236->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp236, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp237); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp26); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp239); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp240); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp27); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp28); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp243); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp244); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp248); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp236->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp249); temp237->Value(::STRINGS[62/*"발주금액"*/]); temp237->FontSize(10.0f); temp237->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp237->Alignment(13); temp237->SourceLineNumber(768); temp237->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp237, 2); temp237->Font(::g::MainView::AGOTHIC14()); temp26->FontSize(13.0f); temp26->TextAlignment(0); temp26->Width(::g::Uno::UX::Size__New1(50.0f, 4)); temp26->Alignment(1); temp26->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp26->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp26->SourceLineNumber(769); temp26->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp26, 2); temp26->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp26->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp238); temp86->SourceLineNumber(769); temp86->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp83->SourceLineNumber(769); temp83->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp85->SourceLineNumber(769); temp85->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp239->Value(uString::Const("\352\270\260\354\225\210\354\236\220")); temp239->FontSize(10.0f); temp239->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp239->Alignment(13); temp239->SourceLineNumber(770); temp239->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp239->Font(::g::MainView::AGOTHIC14()); temp240->Value(uString::Const("\352\270\260\354\225\210\354\235\274\354\213\234")); temp240->FontSize(10.0f); temp240->TextAlignment(2); temp240->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp240->Alignment(9); temp240->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp240->SourceLineNumber(771); temp240->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp240->Font(::g::MainView::AGOTHIC14()); temp27->FontSize(13.0f); temp27->Alignment(13); temp27->SourceLineNumber(772); temp27->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp27->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp27->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp241); temp87->SourceLineNumber(772); temp87->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp28->FontSize(13.0f); temp28->TextAlignment(2); temp28->Alignment(9); temp28->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp28->SourceLineNumber(773); temp28->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp28->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp28->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp242); temp88->SourceLineNumber(773); temp88->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp243->Value(uString::Const("\354\240\234\353\252\251")); temp243->FontSize(10.0f); temp243->TextAlignment(2); temp243->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp243->Alignment(9); temp243->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp243->SourceLineNumber(774); temp243->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp243, 2); temp243->Font(::g::MainView::AGOTHIC14()); temp244->Alignment(0); temp244->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp244->SourceLineNumber(775); temp244->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp244, 2); temp244->Background(temp247); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp244->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp246); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp244->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp29); temp29->TextWrapping(1); temp29->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp29->Alignment(0); temp29->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp29->SourceLineNumber(776); temp29->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp29->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp29->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp245); temp89->SourceLineNumber(776); temp89->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp246->Color(::g::Uno::Float4__New2(0.5490196f, 0.4509804f, 0.7607843f, 1.0f)); temp246->Width(1.0f); temp248->Value(uString::Const("\353\202\264\354\232\251")); temp248->FontSize(10.0f); temp248->TextAlignment(2); temp248->Color(::g::Uno::Float4__New2(0.5137255f, 0.4470588f, 0.5921569f, 1.0f)); temp248->Alignment(9); temp248->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp248->SourceLineNumber(779); temp248->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp248, 2); temp248->Font(::g::MainView::AGOTHIC14()); temp249->Alignment(0); temp249->SourceLineNumber(780); temp249->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp249, 4); ::g::Fuse::Controls::Grid::SetColumnSpan(temp249, 2); temp249->Background(temp252); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp249->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp251); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp249->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp30); temp30->TextWrapping(1); temp30->TextColor(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.6666667f)); temp30->CaretColor(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.2666667f)); temp30->MinHeight(::g::Uno::UX::Size__New1(100.0f, 1)); temp30->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); temp30->SourceLineNumber(781); temp30->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp30->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp30->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp250); temp90->SourceLineNumber(781); temp90->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp251->Color(::g::Uno::Float4__New2(0.5490196f, 0.4509804f, 0.7607843f, 1.0f)); temp251->Width(1.0f); temp253->Color(::g::Uno::Float4__New2(0.5490196f, 0.4509804f, 0.7607843f, 1.0f)); temp253->Width(1.0f); temp254->Orientation(0); temp254->ItemSpacing(5.0f); temp254->Height(::g::Uno::UX::Size__New1(40.0f, 1)); temp254->Alignment(10); temp254->Margin(::g::Uno::Float4__New2(0.0f, 5.0f, 0.0f, 0.0f)); temp254->SourceLineNumber(788); temp254->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp254, 3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp254->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp255); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp254->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp258); temp255->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp255->Color(::g::Uno::Float4__New2(0.7647059f, 0.7294118f, 0.9568627f, 1.0f)); temp255->Width(::g::Uno::UX::Size__New1(60.0f, 1)); temp255->Alignment(0); temp255->SourceLineNumber(789); temp255->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(temp255, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb99))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp255->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp256); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp255->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb99); temp256->Alignment(0); temp256->SourceLineNumber(790); temp256->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp256, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp256->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp257); temp257->Value(uString::Const("\352\262\260\354\236\254\354\232\224\354\262\255")); temp257->Alignment(10); temp257->SourceLineNumber(791); temp257->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp257->Font(::g::MainView::AGOTHIC14()); temp91->SourceLineNumber(789); temp91->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp258->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp258->Color(::g::Uno::Float4__New2(0.8431373f, 0.827451f, 0.854902f, 1.0f)); temp258->Width(::g::Uno::UX::Size__New1(60.0f, 1)); temp258->Alignment(0); temp258->SourceLineNumber(795); temp258->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp258->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp259); temp259->Alignment(0); temp259->SourceLineNumber(796); temp259->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp259, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp259->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp260); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp259->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp261); temp260->Value(uString::Const("\353\213\253\352\270\260")); temp260->Alignment(10); temp260->SourceLineNumber(797); temp260->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp260->Font(::g::MainView::AGOTHIC14()); temp261->SourceLineNumber(798); temp261->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp261->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp262); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp262, uCRef<int32_t>(2)); temp262->SourceLineNumber(799); temp262->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp92->SourceLineNumber(699); temp92->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp101); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->apprPopup); return *__retval = __self1, void(); } // public Template2 New(c_po parent, c_po parentInstance) void c_po__Template2__New2_fn(::g::c_po* parent, ::g::c_po* parentInstance, c_po__Template2** __retval) { *__retval = c_po__Template2::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2::__selector0_; ::g::Uno::UX::Selector c_po__Template2::__selector1_; ::g::Uno::UX::Selector c_po__Template2::__selector2_; ::g::Uno::UX::Selector c_po__Template2::__selector3_; ::g::Uno::UX::Selector c_po__Template2::__selector4_; ::g::Uno::UX::Selector c_po__Template2::__selector5_; ::g::Uno::UX::Selector c_po__Template2::__selector6_; ::g::Uno::UX::Selector c_po__Template2::__selector7_; ::g::Uno::UX::Selector c_po__Template2::__selector8_; ::g::Uno::UX::Selector c_po__Template2::__selector9_; ::g::Uno::UX::Selector c_po__Template2::__selector10_; ::g::Uno::UX::Selector c_po__Template2::__selector11_; ::g::Uno::UX::Selector c_po__Template2::__selector12_; ::g::Uno::UX::Selector c_po__Template2::__selector13_; ::g::Uno::UX::Selector c_po__Template2::__selector14_; ::g::Uno::UX::Selector c_po__Template2::__selector15_; ::g::Uno::UX::Selector c_po__Template2::__selector16_; ::g::Uno::UX::Selector c_po__Template2::__selector17_; ::g::Uno::UX::Selector c_po__Template2::__selector18_; ::g::Uno::UX::Selector c_po__Template2::__selector19_; ::g::Uno::UX::Selector c_po__Template2::__selector20_; ::g::Uno::UX::Selector c_po__Template2::__selector21_; ::g::Uno::UX::Selector c_po__Template2::__selector22_; ::g::Uno::UX::Selector c_po__Template2::__selector23_; ::g::Uno::UX::Selector c_po__Template2::__selector24_; ::g::Uno::UX::Selector c_po__Template2::__selector25_; ::g::Uno::UX::Selector c_po__Template2::__selector26_; ::g::Uno::UX::Selector c_po__Template2::__selector27_; ::g::Uno::UX::Selector c_po__Template2::__selector28_; ::g::Uno::UX::Selector c_po__Template2::__selector29_; ::g::Uno::UX::Selector c_po__Template2::__selector30_; // public Template2(c_po parent, c_po parentInstance) [instance] void c_po__Template2::ctor_1(::g::c_po* parent, ::g::c_po* parentInstance) { ctor_(uString::Const("poOrder1"), false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template2 New(c_po parent, c_po parentInstance) [static] c_po__Template2* c_po__Template2::New2(::g::c_po* parent, ::g::c_po* parentInstance) { c_po__Template2* obj1 = (c_po__Template2*)uNew(c_po__Template2_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template1.Template3 // { // static Template3() static void c_po__Template1__Template3__cctor__fn(uType* __type) { } static void c_po__Template1__Template3_build(uType* type) { ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::Fuse::Triggers::LayoutTransition_typeof()); type->SetFields(2, ::g::c_po__Template1_typeof(), offsetof(c_po__Template1__Template3, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template1__Template3, __parentInstance1), uFieldFlagsWeak); } ::g::Uno::UX::Template_type* c_po__Template1__Template3_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 4; options.DependencyCount = 2; options.ObjectSize = sizeof(c_po__Template1__Template3); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template1.Template3", options); type->fp_build_ = c_po__Template1__Template3_build; type->fp_cctor_ = c_po__Template1__Template3__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template1__Template3__New1_fn; return type; } // public Template3(c_po.Template1 parent, Fuse.Controls.Page parentInstance) void c_po__Template1__Template3__ctor_1_fn(c_po__Template1__Template3* __this, ::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template1__Template3__New1_fn(c_po__Template1__Template3* __this, uObject** __retval) { ::g::Fuse::Triggers::LayoutAnimation* __self1 = ::g::Fuse::Triggers::LayoutAnimation::New2(); ::g::Fuse::Animations::Move* temp = ::g::Fuse::Animations::Move::New2(); __self1->SourceLineNumber(378); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->Y(1.0f); temp->Duration(0.8); temp->RelativeTo(::g::Fuse::Triggers::LayoutTransition::PositionLayoutChange()); temp->Easing(::g::Fuse::Animations::Easing::ElasticIn()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp); return *__retval = __self1, void(); } // public Template3 New(c_po.Template1 parent, Fuse.Controls.Page parentInstance) void c_po__Template1__Template3__New2_fn(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template1__Template3** __retval) { *__retval = c_po__Template1__Template3::New2(parent, parentInstance); } // public Template3(c_po.Template1 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template1__Template3::ctor_1(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template3 New(c_po.Template1 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template1__Template3* c_po__Template1__Template3::New2(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template1__Template3* obj1 = (c_po__Template1__Template3*)uNew(c_po__Template1__Template3_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template3 // { // static Template3() static void c_po__Template2__Template3__cctor__fn(uType* __type) { c_po__Template2__Template3::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[66/*"calendar"*/]); } static void c_po__Template2__Template3_build(uType* type) { ::STRINGS[66] = uString::Const("calendar"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template3, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template3, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template3::__selector0_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template3_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 5; options.ObjectSize = sizeof(c_po__Template2__Template3); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template3", options); type->fp_build_ = c_po__Template2__Template3_build; type->fp_cctor_ = c_po__Template2__Template3__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template3__New1_fn; return type; } // public Template3(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template3__ctor_1_fn(c_po__Template2__Template3* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template3__New1_fn(c_po__Template2__Template3* __this, uObject** __retval) { ::g::CalendarView* __self1 = ::g::CalendarView::New5(uPtr(__this->__parent1)->router_cal); __self1->Name(c_po__Template2__Template3::__selector0_); __self1->SourceLineNumber(433); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); return *__retval = __self1, void(); } // public Template3 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template3__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template3** __retval) { *__retval = c_po__Template2__Template3::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template3::__selector0_; // public Template3(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template3::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(::STRINGS[66/*"calendar"*/], false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template3 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template3* c_po__Template2__Template3::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template3* obj1 = (c_po__Template2__Template3*)uNew(c_po__Template2__Template3_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template.Template3 // { // static Template3() static void c_po__Template__Template3__cctor__fn(uType* __type) { } static void c_po__Template__Template3_build(uType* type) { ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::Fuse::TranslationModes_typeof()); type->SetFields(2, ::g::c_po__Template_typeof(), offsetof(c_po__Template__Template3, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template__Template3, __parentInstance1), uFieldFlagsWeak); } ::g::Uno::UX::Template_type* c_po__Template__Template3_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 4; options.DependencyCount = 2; options.ObjectSize = sizeof(c_po__Template__Template3); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template.Template3", options); type->fp_build_ = c_po__Template__Template3_build; type->fp_cctor_ = c_po__Template__Template3__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template__Template3__New1_fn; return type; } // public Template3(c_po.Template parent, Fuse.Controls.Page parentInstance) void c_po__Template__Template3__ctor_1_fn(c_po__Template__Template3* __this, ::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template__Template3__New1_fn(c_po__Template__Template3* __this, uObject** __retval) { ::g::Fuse::Triggers::AddingAnimation* __self1 = ::g::Fuse::Triggers::AddingAnimation::New2(); ::g::Fuse::Animations::Move* temp = ::g::Fuse::Animations::Move::New2(); __self1->SourceLineNumber(170); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->X(1.0f); temp->Duration(0.3); temp->RelativeTo(::g::Fuse::TranslationModes::Size()); temp->Easing(::g::Fuse::Animations::Easing::ExponentialIn()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp); return *__retval = __self1, void(); } // public Template3 New(c_po.Template parent, Fuse.Controls.Page parentInstance) void c_po__Template__Template3__New2_fn(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template__Template3** __retval) { *__retval = c_po__Template__Template3::New2(parent, parentInstance); } // public Template3(c_po.Template parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template__Template3::ctor_1(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template3 New(c_po.Template parent, Fuse.Controls.Page parentInstance) [static] c_po__Template__Template3* c_po__Template__Template3::New2(::g::c_po__Template* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template__Template3* obj1 = (c_po__Template__Template3*)uNew(c_po__Template__Template3_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template1.Template4 // { // static Template4() static void c_po__Template1__Template4__cctor__fn(uType* __type) { } static void c_po__Template1__Template4_build(uType* type) { ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::Fuse::TranslationModes_typeof()); type->SetFields(2, ::g::c_po__Template1_typeof(), offsetof(c_po__Template1__Template4, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template1__Template4, __parentInstance1), uFieldFlagsWeak); } ::g::Uno::UX::Template_type* c_po__Template1__Template4_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 4; options.DependencyCount = 2; options.ObjectSize = sizeof(c_po__Template1__Template4); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template1.Template4", options); type->fp_build_ = c_po__Template1__Template4_build; type->fp_cctor_ = c_po__Template1__Template4__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template1__Template4__New1_fn; return type; } // public Template4(c_po.Template1 parent, Fuse.Controls.Page parentInstance) void c_po__Template1__Template4__ctor_1_fn(c_po__Template1__Template4* __this, ::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template1__Template4__New1_fn(c_po__Template1__Template4* __this, uObject** __retval) { ::g::Fuse::Triggers::AddingAnimation* __self1 = ::g::Fuse::Triggers::AddingAnimation::New2(); ::g::Fuse::Animations::Move* temp = ::g::Fuse::Animations::Move::New2(); __self1->SourceLineNumber(381); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->X(1.0f); temp->Duration(0.3); temp->RelativeTo(::g::Fuse::TranslationModes::Size()); temp->Easing(::g::Fuse::Animations::Easing::ExponentialIn()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp); return *__retval = __self1, void(); } // public Template4 New(c_po.Template1 parent, Fuse.Controls.Page parentInstance) void c_po__Template1__Template4__New2_fn(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template1__Template4** __retval) { *__retval = c_po__Template1__Template4::New2(parent, parentInstance); } // public Template4(c_po.Template1 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template1__Template4::ctor_1(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template4 New(c_po.Template1 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template1__Template4* c_po__Template1__Template4::New2(::g::c_po__Template1* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template1__Template4* obj1 = (c_po__Template1__Template4*)uNew(c_po__Template1__Template4_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template4 // { // static Template4() static void c_po__Template2__Template4__cctor__fn(uType* __type) { c_po__Template2__Template4::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po__Template2__Template4::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[1/*"Color"*/]); c_po__Template2__Template4::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[35/*"Opacity"*/]); c_po__Template2__Template4::__selector3_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[67/*"item"*/]); } static void c_po__Template2__Template4_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[1] = uString::Const("Color"); ::STRINGS[35] = uString::Const("Opacity"); ::STRINGS[67] = uString::Const("item"); ::STRINGS[68] = uString::Const("DLVY_NM"); ::STRINGS[69] = uString::Const("clicked"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[0] = ::g::Fuse::Animations::Change_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL); ::TYPES[12] = ::g::Fuse::Triggers::Actions::Set_typeof()->MakeType(::g::Uno::Float_typeof(), NULL); ::TYPES[3] = ::g::Fuse::Gestures::ClickedHandler_typeof(); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); ::TYPES[9] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Triggers::Actions::TriggerAction_typeof(), NULL); ::TYPES[1] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL); type->SetDependencies( ::g::MainView_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template4, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template4, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template4, temp_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template2__Template4, __self_Color_inst1), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float_typeof(), NULL), offsetof(c_po__Template2__Template4, checkImage3_Opacity_inst), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2__Template4, temp_eb88), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template4::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template4::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template4::__selector2_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template4::__selector3_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template4_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 12; options.DependencyCount = 1; options.ObjectSize = sizeof(c_po__Template2__Template4); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template4", options); type->fp_build_ = c_po__Template2__Template4_build; type->fp_cctor_ = c_po__Template2__Template4__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template4__New1_fn; return type; } // public Template4(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template4__ctor_1_fn(c_po__Template2__Template4* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template4__New1_fn(c_po__Template2__Template4* __this, uObject** __retval) { ::g::Fuse::Controls::Panel* __self1 = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Controls::Text* temp = ::g::Fuse::Controls::Text::New3(); __this->temp_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp, c_po__Template2__Template4::__selector0_); ::g::Fuse::Reactive::Data* temp1 = ::g::Fuse::Reactive::Data::New1(::STRINGS[68/*"DLVY_NM"*/]); __this->__self_Color_inst1 = ::g::HSMRO_FuseControlsPanel_Color_Property::New1(__self1, c_po__Template2__Template4::__selector1_); __this->checkImage3_Opacity_inst = ::g::HSMRO_FuseElementsElement_Opacity_Property::New1(uPtr(__this->__parent1)->checkImage3, c_po__Template2__Template4::__selector2_); ::g::Fuse::Reactive::Data* temp2 = ::g::Fuse::Reactive::Data::New1(::STRINGS[69/*"clicked"*/]); ::g::Fuse::Reactive::DataBinding* temp3 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp_Value_inst, (uObject*)temp1, 3); ::g::Fuse::Gestures::WhilePressed* temp4 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Change* temp5 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->__self_Color_inst1); ::g::Fuse::Gestures::Clicked* temp6 = ::g::Fuse::Gestures::Clicked::New2(); ::g::Fuse::Triggers::Actions::Set* temp7 = (::g::Fuse::Triggers::Actions::Set*)::g::Fuse::Triggers::Actions::Set::New2(::TYPES[12/*Fuse.Triggers.Actions.Set<float>*/], __this->checkImage3_Opacity_inst); __this->temp_eb88 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp2); __self1->Color(::g::Uno::Float4__New2(0.9333333f, 0.9333333f, 0.9333333f, 1.0f)); __self1->Name(c_po__Template2__Template4::__selector3_); __self1->SourceLineNumber(521); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(__self1, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb88))); temp->FontSize(13.0f); temp->Margin(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp->SourceLineNumber(522); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp3); temp1->SourceLineNumber(522); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->SourceLineNumber(523); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp4->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp5); ::g::Fuse::Animations::Change__set_Value_fn(temp5, uCRef(::g::Uno::Float4__New2(0.8666667f, 0.8666667f, 0.8666667f, 1.0f))); temp5->Duration(0.05); temp5->DurationBack(0.1); temp6->SourceLineNumber(529); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp6->Actions()), ::TYPES[9/*Uno.Collections.ICollection<Fuse.Triggers.Actions.TriggerAction>*/]), temp7); ::g::Fuse::Triggers::Actions::Set__set_Value_fn(temp7, uCRef(0.0f)); temp7->SourceLineNumber(530); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp2->SourceLineNumber(521); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp6); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb88); return *__retval = __self1, void(); } // public Template4 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template4__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template4** __retval) { *__retval = c_po__Template2__Template4::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template4::__selector0_; ::g::Uno::UX::Selector c_po__Template2__Template4::__selector1_; ::g::Uno::UX::Selector c_po__Template2__Template4::__selector2_; ::g::Uno::UX::Selector c_po__Template2__Template4::__selector3_; // public Template4(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template4::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template4 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template4* c_po__Template2__Template4::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template4* obj1 = (c_po__Template2__Template4*)uNew(c_po__Template2__Template4_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template5 // { // static Template5() static void c_po__Template2__Template5__cctor__fn(uType* __type) { c_po__Template2__Template5::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po__Template2__Template5::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[36/*"Visibility"*/]); c_po__Template2__Template5::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[37/*"Height"*/]); c_po__Template2__Template5::__selector3_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[1/*"Color"*/]); c_po__Template2__Template5::__selector4_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[70/*"MyPo"*/]); c_po__Template2__Template5::__selector5_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[71/*"MyPoDtl"*/]); c_po__Template2__Template5::__selector6_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[72/*"grid3"*/]); c_po__Template2__Template5::__selector7_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[73/*"PO_QTY3"*/]); c_po__Template2__Template5::__selector8_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[74/*"DLVY_HOPE_D...*/]); c_po__Template2__Template5::__selector9_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[46/*"DeleteNode"*/]); c_po__Template2__Template5::__selector10_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[47/*"DeleteSwipe"*/]); } static void c_po__Template2__Template5_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[36] = uString::Const("Visibility"); ::STRINGS[37] = uString::Const("Height"); ::STRINGS[1] = uString::Const("Color"); ::STRINGS[70] = uString::Const("MyPo"); ::STRINGS[71] = uString::Const("MyPoDtl"); ::STRINGS[72] = uString::Const("grid3"); ::STRINGS[73] = uString::Const("PO_QTY3"); ::STRINGS[74] = uString::Const("DLVY_HOPE_DT3_06611"); ::STRINGS[46] = uString::Const("DeleteNode"); ::STRINGS[47] = uString::Const("DeleteSwipe"); ::STRINGS[75] = uString::Const("ITEM_CD3"); ::STRINGS[76] = uString::Const("ITEM_NM3"); ::STRINGS[77] = uString::Const("SPEC3"); ::STRINGS[78] = uString::Const("MAKER3"); ::STRINGS[79] = uString::Const("UNIT3"); ::STRINGS[80] = uString::Const("PRICE3"); ::STRINGS[55] = uString::Const(" \354\233\220"); ::STRINGS[81] = uString::Const("changeQty3"); ::STRINGS[82] = uString::Const("PO_AMT3"); ::STRINGS[83] = uString::Const("clk_DLVY_HOPE_DT3_06611"); ::STRINGS[84] = uString::Const("on_cal_06611"); ::STRINGS[85] = uString::Const("chk_dtl_dlv_dt"); ::STRINGS[86] = uString::Const("DLVY_REMARK3_06611"); ::STRINGS[87] = uString::Const("ORDER_NO3"); ::STRINGS[88] = uString::Const("NEW_YN"); ::STRINGS[89] = uString::Const("deleteItem3"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::STRINGS[90] = uString::Const("auto, auto, auto, auto, auto, auto, auto"); ::STRINGS[18] = uString::Const("1*, 2*, 1*, 2*"); ::STRINGS[20] = uString::Const("\355\222\210\353\252\251\354\275\224\353\223\234"); ::STRINGS[21] = uString::Const("\355\222\210\353\252\205"); ::STRINGS[22] = uString::Const("\352\267\234\352\262\251"); ::STRINGS[23] = uString::Const("\354\240\234\354\241\260\354\202\254"); ::STRINGS[24] = uString::Const("\353\213\250\354\234\204"); ::STRINGS[25] = uString::Const("\353\213\250\352\260\200"); ::STRINGS[29] = uString::Const("\353\260\234\354\243\274\354\210\230\353\237\211"); ::STRINGS[62] = uString::Const("\353\260\234\354\243\274\352\270\210\354\225\241"); ::STRINGS[91] = uString::Const("\353\202\251\355\222\210\354\232\224\354\262\255\354\235\274"); ::STRINGS[92] = uString::Const("\353\213\254\353\240\245\354\225\204\354\235\264\354\275\230 \355\201\264\353\246\255 >>"); ::STRINGS[26] = uString::Const("\353\271\204\352\263\240"); ::STRINGS[28] = uString::Const("(\354\236\205\353\240\245)"); ::STRINGS[65] = uString::Const("\354\202\255\354\240\234"); ::TYPES[0] = ::g::Fuse::Animations::Change_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL); ::TYPES[4] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Drawing::Stroke_typeof(), NULL); ::TYPES[1] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); ::TYPES[11] = ::g::Uno::UX::ValueChangedHandler_typeof()->MakeType(::g::Uno::String_typeof(), NULL); ::TYPES[3] = ::g::Fuse::Gestures::ClickedHandler_typeof(); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::HSMRO_bundle_typeof(), ::g::MainView_typeof(), ::g::Fuse::TranslationModes_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template5, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template5, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp1_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp2_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp4_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp5_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, PO_QTY3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp6_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, DLVY_HOPE_DT3_06611_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp7_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2__Template5, temp8_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp9_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Fuse::Elements::Visibility_typeof(), NULL), offsetof(c_po__Template2__Template5, temp10_Visibility_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp11_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp12_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template5, temp13_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::UX::Size_typeof(), NULL), offsetof(c_po__Template2__Template5, temp14_Height_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template2__Template5, BackFill_Color_inst), 0, ::g::Fuse::Controls::Rectangle_typeof(), offsetof(c_po__Template2__Template5, MyPo), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template2__Template5, MyPoDtl), 0, ::g::Fuse::Controls::DockPanel_typeof(), offsetof(c_po__Template2__Template5, grid3), 0, ::g::Fuse::Controls::TextInput_typeof(), offsetof(c_po__Template2__Template5, PO_QTY3), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2__Template5, temp_eb91), 0, ::g::Fuse::Controls::TextInput_typeof(), offsetof(c_po__Template2__Template5, DLVY_HOPE_DT3_06611), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2__Template5, temp_eb92), 0, ::g::Fuse::Drawing::Stroke_typeof(), offsetof(c_po__Template2__Template5, BackFill), 0, ::g::Fuse::Controls::Panel_typeof(), offsetof(c_po__Template2__Template5, DeleteNode), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2__Template5, temp_eb93), 0, ::g::Fuse::Gestures::SwipeGesture_typeof(), offsetof(c_po__Template2__Template5, DeleteSwipe), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector2_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector3_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector4_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector5_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector6_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector7_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector8_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector9_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template5::__selector10_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template5_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 44; options.DependencyCount = 4; options.ObjectSize = sizeof(c_po__Template2__Template5); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template5", options); type->fp_build_ = c_po__Template2__Template5_build; type->fp_cctor_ = c_po__Template2__Template5__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template5__New1_fn; return type; } // public Template5(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template5__ctor_1_fn(c_po__Template2__Template5* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template5__New1_fn(c_po__Template2__Template5* __this, uObject** __retval) { ::g::Fuse::Controls::Panel* __self1 = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Controls::Text* temp = ::g::Fuse::Controls::Text::New3(); __this->temp_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp15 = ::g::Fuse::Reactive::Data::New1(::STRINGS[75/*"ITEM_CD3"*/]); ::g::Fuse::Controls::Text* temp1 = ::g::Fuse::Controls::Text::New3(); __this->temp1_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp1, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp16 = ::g::Fuse::Reactive::Data::New1(::STRINGS[76/*"ITEM_NM3"*/]); ::g::Fuse::Controls::Text* temp2 = ::g::Fuse::Controls::Text::New3(); __this->temp2_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp2, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp17 = ::g::Fuse::Reactive::Data::New1(::STRINGS[77/*"SPEC3"*/]); ::g::Fuse::Controls::Text* temp3 = ::g::Fuse::Controls::Text::New3(); __this->temp3_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp3, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp18 = ::g::Fuse::Reactive::Data::New1(::STRINGS[78/*"MAKER3"*/]); ::g::Fuse::Controls::Text* temp4 = ::g::Fuse::Controls::Text::New3(); __this->temp4_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp4, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp19 = ::g::Fuse::Reactive::Data::New1(::STRINGS[79/*"UNIT3"*/]); ::g::Fuse::Reactive::Data* temp20 = ::g::Fuse::Reactive::Data::New1(::STRINGS[80/*"PRICE3"*/]); uString* temp21 = ::STRINGS[55/*" 원"*/]; ::g::Fuse::Reactive::Constant* temp22 = ::g::Fuse::Reactive::Constant::New1(temp21); ::g::Fuse::Controls::Text* temp5 = ::g::Fuse::Controls::Text::New3(); __this->temp5_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp5, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Add* temp23 = ::g::Fuse::Reactive::Add::New1(temp20, temp22); __this->PO_QTY3 = ::g::Fuse::Controls::TextInput::New3(); __this->PO_QTY3_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(__this->PO_QTY3, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp24 = ::g::Fuse::Reactive::Data::New1(::STRINGS[73/*"PO_QTY3"*/]); ::g::Fuse::Reactive::Data* temp25 = ::g::Fuse::Reactive::Data::New1(::STRINGS[81/*"changeQty3"*/]); ::g::Fuse::Reactive::Data* temp26 = ::g::Fuse::Reactive::Data::New1(::STRINGS[82/*"PO_AMT3"*/]); uString* temp27 = ::STRINGS[55/*" 원"*/]; ::g::Fuse::Reactive::Constant* temp28 = ::g::Fuse::Reactive::Constant::New1(temp27); ::g::Fuse::Controls::Text* temp6 = ::g::Fuse::Controls::Text::New3(); __this->temp6_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp6, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Add* temp29 = ::g::Fuse::Reactive::Add::New1(temp26, temp28); __this->DLVY_HOPE_DT3_06611 = ::g::Fuse::Controls::TextInput::New3(); __this->DLVY_HOPE_DT3_06611_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(__this->DLVY_HOPE_DT3_06611, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp30 = ::g::Fuse::Reactive::Data::New1(::STRINGS[74/*"DLVY_HOPE_D...*/]); ::g::Fuse::Reactive::Data* temp31 = ::g::Fuse::Reactive::Data::New1(::STRINGS[83/*"clk_DLVY_HO...*/]); ::g::Fuse::Controls::Text* temp7 = ::g::Fuse::Controls::Text::New3(); __this->temp7_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp7, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp32 = ::g::Fuse::Reactive::Data::New1(::STRINGS[84/*"on_cal_06611"*/]); ::g::Fuse::Controls::DockPanel* temp8 = ::g::Fuse::Controls::DockPanel::New4(); __this->temp8_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp8, c_po__Template2__Template5::__selector1_); ::g::Fuse::Reactive::Data* temp33 = ::g::Fuse::Reactive::Data::New1(::STRINGS[85/*"chk_dtl_dlv...*/]); ::g::Fuse::Controls::TextInput* temp9 = ::g::Fuse::Controls::TextInput::New3(); __this->temp9_Value_inst = ::g::HSMRO_FuseControlsTextInputControl_Value_Property::New1(temp9, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp34 = ::g::Fuse::Reactive::Data::New1(::STRINGS[86/*"DLVY_REMARK...*/]); ::g::Fuse::Controls::DockPanel* temp10 = ::g::Fuse::Controls::DockPanel::New4(); __this->temp10_Visibility_inst = ::g::HSMRO_FuseElementsElement_Visibility_Property::New1(temp10, c_po__Template2__Template5::__selector1_); ::g::Fuse::Reactive::Data* temp35 = ::g::Fuse::Reactive::Data::New1(::STRINGS[85/*"chk_dtl_dlv...*/]); ::g::Fuse::Controls::Text* temp11 = ::g::Fuse::Controls::Text::New3(); __this->temp11_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp11, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp36 = ::g::Fuse::Reactive::Data::New1(::STRINGS[75/*"ITEM_CD3"*/]); ::g::Fuse::Controls::Text* temp12 = ::g::Fuse::Controls::Text::New3(); __this->temp12_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp12, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp37 = ::g::Fuse::Reactive::Data::New1(::STRINGS[87/*"ORDER_NO3"*/]); ::g::Fuse::Controls::Text* temp13 = ::g::Fuse::Controls::Text::New3(); __this->temp13_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp13, c_po__Template2__Template5::__selector0_); ::g::Fuse::Reactive::Data* temp38 = ::g::Fuse::Reactive::Data::New1(::STRINGS[88/*"NEW_YN"*/]); __this->MyPoDtl = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Reactive::Constant* temp39 = ::g::Fuse::Reactive::Constant::New1(__this->MyPoDtl); ::g::Fuse::Elements::HeightFunction* temp40 = ::g::Fuse::Elements::HeightFunction::New1(temp39); int32_t temp41 = 10; ::g::Fuse::Reactive::Constant* temp42 = ::g::Fuse::Reactive::Constant::New1(uBox<int32_t>(::g::Uno::Int_typeof(), temp41)); ::g::Fuse::Controls::Rectangle* temp14 = ::g::Fuse::Controls::Rectangle::New3(); __this->temp14_Height_inst = ::g::HSMRO_FuseElementsElement_Height_Property::New1(temp14, c_po__Template2__Template5::__selector2_); ::g::Fuse::Reactive::Add* temp43 = ::g::Fuse::Reactive::Add::New1(temp40, temp42); ::g::Fuse::Reactive::Data* temp44 = ::g::Fuse::Reactive::Data::New1(::STRINGS[89/*"deleteItem3"*/]); __this->DeleteSwipe = ::g::Fuse::Gestures::SwipeGesture::New2(); __this->BackFill = ::g::Fuse::Drawing::Stroke::New2(); __this->BackFill_Color_inst = ::g::HSMRO_FuseDrawingStroke_Color_Property::New1(__this->BackFill, c_po__Template2__Template5::__selector3_); __this->MyPo = ::g::Fuse::Controls::Rectangle::New3(); __this->grid3 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Controls::Grid* temp45 = ::g::Fuse::Controls::Grid::New4(); ::g::Fuse::Controls::Text* temp46 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp47 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp_Value_inst, (uObject*)temp15, 3); ::g::Fuse::Controls::Text* temp48 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp49 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp1_Value_inst, (uObject*)temp16, 3); ::g::Fuse::Controls::Text* temp50 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp51 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp2_Value_inst, (uObject*)temp17, 3); ::g::Fuse::Controls::Text* temp52 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp53 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp3_Value_inst, (uObject*)temp18, 3); ::g::Fuse::Controls::Text* temp54 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp55 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp4_Value_inst, (uObject*)temp19, 3); ::g::Fuse::Controls::Text* temp56 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp57 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp5_Value_inst, (uObject*)temp23, 3); ::g::Fuse::Controls::Text* temp58 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::Rectangle* temp59 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp60 = ::g::Fuse::Reactive::DataBinding::New1(__this->PO_QTY3_Value_inst, (uObject*)temp24, 3); __this->temp_eb91 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp25); ::g::Fuse::Drawing::StaticSolidColor* temp61 = ::g::Fuse::Drawing::StaticSolidColor::New2(::g::Uno::Float4__New2(1.0f, 0.9568627f, 0.627451f, 1.0f)); ::g::Fuse::Controls::Text* temp62 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp63 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp6_Value_inst, (uObject*)temp29, 3); ::g::Fuse::Controls::Text* temp64 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp65 = ::g::Fuse::Reactive::DataBinding::New1(__this->DLVY_HOPE_DT3_06611_Value_inst, (uObject*)temp30, 3); ::g::Fuse::Controls::Image* temp66 = ::g::Fuse::Controls::Image::New3(); __this->temp_eb92 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp31); ::g::Fuse::Reactive::DataBinding* temp67 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp7_Value_inst, (uObject*)temp32, 3); ::g::Fuse::Reactive::DataBinding* temp68 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp8_Visibility_inst, (uObject*)temp33, 3); ::g::Fuse::Controls::Text* temp69 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Controls::DockPanel* temp70 = ::g::Fuse::Controls::DockPanel::New4(); ::g::Fuse::Reactive::DataBinding* temp71 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp9_Value_inst, (uObject*)temp34, 3); ::g::Fuse::Controls::Rectangle* temp72 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Reactive::DataBinding* temp73 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp10_Visibility_inst, (uObject*)temp35, 3); ::g::Fuse::Reactive::DataBinding* temp74 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp11_Value_inst, (uObject*)temp36, 3); ::g::Fuse::Reactive::DataBinding* temp75 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp12_Value_inst, (uObject*)temp37, 3); ::g::Fuse::Reactive::DataBinding* temp76 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp13_Value_inst, (uObject*)temp38, 3); ::g::Fuse::Controls::DockPanel* temp77 = ::g::Fuse::Controls::DockPanel::New4(); __this->DeleteNode = ::g::Fuse::Controls::Panel::New3(); ::g::Fuse::Controls::StackPanel* temp78 = ::g::Fuse::Controls::StackPanel::New4(); ::g::Fuse::Controls::Image* temp79 = ::g::Fuse::Controls::Image::New3(); ::g::Fuse::Controls::Text* temp80 = ::g::Fuse::Controls::Text::New3(); ::g::Fuse::Reactive::DataBinding* temp81 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp14_Height_inst, (uObject*)temp43, 3); __this->temp_eb93 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp44); ::g::Fuse::Gestures::SwipingAnimation* temp82 = ::g::Fuse::Gestures::SwipingAnimation::New2(__this->DeleteSwipe); ::g::Fuse::Animations::Move* temp83 = ::g::Fuse::Animations::Move::New2(); ::g::Fuse::Gestures::Swiped* temp84 = ::g::Fuse::Gestures::Swiped::New2(__this->DeleteSwipe); ::g::Fuse::Animations::Change* temp85 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->BackFill_Color_inst); ::g::Fuse::Triggers::RemovingAnimation* temp86 = ::g::Fuse::Triggers::RemovingAnimation::New2(); ::g::Fuse::Animations::Move* temp87 = ::g::Fuse::Animations::Move::New2(); __self1->SourceLineNumber(586); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__self1, 2); uPtr(__this->MyPo)->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); uPtr(__this->MyPo)->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); uPtr(__this->MyPo)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 7.0f)); uPtr(__this->MyPo)->Padding(::g::Uno::Float4__New2(5.0f, 5.0f, 5.0f, 5.0f)); uPtr(__this->MyPo)->Name(c_po__Template2__Template5::__selector4_); uPtr(__this->MyPo)->SourceLineNumber(587); uPtr(__this->MyPo)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->MyPo, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->MyPo)->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), __this->BackFill); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->MyPo)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->MyPoDtl); uPtr(__this->MyPoDtl)->Width(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->MyPoDtl)->Name(c_po__Template2__Template5::__selector5_); uPtr(__this->MyPoDtl)->SourceLineNumber(589); uPtr(__this->MyPoDtl)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->MyPoDtl)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->grid3); uPtr(__this->grid3)->Width(::g::Uno::UX::Size__New1(100.0f, 4)); uPtr(__this->grid3)->Alignment(0); uPtr(__this->grid3)->Name(c_po__Template2__Template5::__selector6_); uPtr(__this->grid3)->SourceLineNumber(590); uPtr(__this->grid3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->grid3, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->grid3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp45); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->grid3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp11); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->grid3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp12); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->grid3)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp13); temp45->Rows(::STRINGS[90/*"auto, auto,...*/]); temp45->RowCount(5); temp45->Columns(::STRINGS[18/*"1*, 2*, 1*,...*/]); temp45->ColumnCount(4); temp45->CellSpacing(3.0f); temp45->Alignment(0); temp45->SourceLineNumber(591); temp45->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp45, 2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp46); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp48); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp50); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp52); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp54); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp56); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp5); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp58); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp59); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp62); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp6); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp8); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp45->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp10); temp46->Value(::STRINGS[20/*"품목코드"*/]); temp46->FontSize(12.0f); temp46->Alignment(13); temp46->SourceLineNumber(592); temp46->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp46->Font(::g::MainView::AGOTHIC14()); temp->FontSize(11.0f); temp->Alignment(13); temp->SourceLineNumber(593); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp47); temp15->SourceLineNumber(593); temp15->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp48->Value(::STRINGS[21/*"품명"*/]); temp48->FontSize(12.0f); temp48->Alignment(13); temp48->SourceLineNumber(594); temp48->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp48->Font(::g::MainView::AGOTHIC14()); temp1->TextWrapping(1); temp1->FontSize(11.0f); temp1->Alignment(13); temp1->SourceLineNumber(595); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp49); temp16->SourceLineNumber(595); temp16->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp50->Value(::STRINGS[22/*"규격"*/]); temp50->FontSize(12.0f); temp50->TextAlignment(2); temp50->Alignment(9); temp50->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp50->SourceLineNumber(596); temp50->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp50->Font(::g::MainView::AGOTHIC14()); temp2->TextWrapping(1); temp2->FontSize(11.0f); temp2->TextAlignment(0); temp2->Alignment(9); temp2->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp2->SourceLineNumber(597); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp2->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp51); temp17->SourceLineNumber(597); temp17->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp52->Value(::STRINGS[23/*"제조사"*/]); temp52->FontSize(12.0f); temp52->TextAlignment(2); temp52->Alignment(9); temp52->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp52->SourceLineNumber(598); temp52->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp52->Font(::g::MainView::AGOTHIC14()); temp3->TextWrapping(1); temp3->FontSize(11.0f); temp3->TextAlignment(0); temp3->Alignment(9); temp3->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp3->SourceLineNumber(599); temp3->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp3->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp53); temp18->SourceLineNumber(599); temp18->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp54->Value(::STRINGS[24/*"단위"*/]); temp54->FontSize(12.0f); temp54->TextAlignment(2); temp54->Alignment(9); temp54->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp54->SourceLineNumber(600); temp54->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp54->Font(::g::MainView::AGOTHIC14()); temp4->TextWrapping(1); temp4->FontSize(11.0f); temp4->TextAlignment(2); temp4->Alignment(9); temp4->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp4->SourceLineNumber(601); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp4->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp4->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp55); temp19->SourceLineNumber(601); temp19->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp56->Value(::STRINGS[25/*"단가"*/]); temp56->FontSize(12.0f); temp56->TextAlignment(2); temp56->Alignment(9); temp56->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp56->SourceLineNumber(602); temp56->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp56->Font(::g::MainView::AGOTHIC14()); temp5->FontSize(12.0f); temp5->TextAlignment(2); temp5->Alignment(3); temp5->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp5->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp5->SourceLineNumber(603); temp5->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp5->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp5->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp57); temp23->SourceLineNumber(603); temp23->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp20->SourceLineNumber(603); temp20->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp22->SourceLineNumber(603); temp22->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp58->Value(::STRINGS[29/*"발주수량"*/]); temp58->FontSize(12.0f); temp58->TextAlignment(2); temp58->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp58->Alignment(9); temp58->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp58->SourceLineNumber(604); temp58->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp58->Font(::g::MainView::AGOTHIC14()); temp59->Width(::g::Uno::UX::Size__New1(95.0f, 4)); temp59->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp59->Alignment(3); temp59->SourceLineNumber(605); temp59->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp59->Background(temp61); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp59->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->PO_QTY3); uPtr(__this->PO_QTY3)->FontSize(12.0f); uPtr(__this->PO_QTY3)->TextAlignment(2); uPtr(__this->PO_QTY3)->InputHint(5); uPtr(__this->PO_QTY3)->Width(::g::Uno::UX::Size__New1(95.0f, 4)); uPtr(__this->PO_QTY3)->Height(::g::Uno::UX::Size__New1(25.0f, 1)); uPtr(__this->PO_QTY3)->Alignment(3); uPtr(__this->PO_QTY3)->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); uPtr(__this->PO_QTY3)->Name(c_po__Template2__Template5::__selector7_); uPtr(__this->PO_QTY3)->SourceLineNumber(606); uPtr(__this->PO_QTY3)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->PO_QTY3)->add_ValueChanged(uDelegate::New(::TYPES[11/*Uno.UX.ValueChangedHandler<string>*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb91))); uPtr(__this->PO_QTY3)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->PO_QTY3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp60); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->PO_QTY3)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb91); temp24->SourceLineNumber(606); temp24->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp25->SourceLineNumber(606); temp25->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp62->Value(::STRINGS[62/*"발주금액"*/]); temp62->FontSize(12.0f); temp62->TextAlignment(2); temp62->Color(::g::Uno::Float4__New2(0.3921569f, 0.1137255f, 0.9568627f, 1.0f)); temp62->Alignment(9); temp62->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp62->SourceLineNumber(611); temp62->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp62->Font(::g::MainView::AGOTHIC14()); temp6->FontSize(12.0f); temp6->TextAlignment(2); temp6->Alignment(3); temp6->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp6->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp6->SourceLineNumber(612); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp6->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp6->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp63); temp29->SourceLineNumber(612); temp29->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp26->SourceLineNumber(612); temp26->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp28->SourceLineNumber(612); temp28->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp8->Alignment(0); temp8->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp8->SourceLineNumber(613); temp8->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp8, 4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp64); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DLVY_HOPE_DT3_06611); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp66); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp7); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp8->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp68); temp64->Value(::STRINGS[91/*"납품요청일"*/]); temp64->FontSize(11.0f); temp64->TextAlignment(0); temp64->Alignment(9); temp64->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp64->SourceLineNumber(614); temp64->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp64, 0); temp64->Font(::g::MainView::AGOTHIC14()); uPtr(__this->DLVY_HOPE_DT3_06611)->PlaceholderText(::STRINGS[92/*"달력아이콘 클릭 >>"*/]); uPtr(__this->DLVY_HOPE_DT3_06611)->PlaceholderColor(::g::Uno::Float4__New2(0.8078431f, 0.8078431f, 0.8078431f, 1.0f)); uPtr(__this->DLVY_HOPE_DT3_06611)->FontSize(11.0f); uPtr(__this->DLVY_HOPE_DT3_06611)->TextAlignment(0); uPtr(__this->DLVY_HOPE_DT3_06611)->MinWidth(::g::Uno::UX::Size__New1(80.0f, 1)); uPtr(__this->DLVY_HOPE_DT3_06611)->Alignment(9); uPtr(__this->DLVY_HOPE_DT3_06611)->Margin(::g::Uno::Float4__New2(10.0f, 0.0f, 0.0f, 0.0f)); uPtr(__this->DLVY_HOPE_DT3_06611)->Name(c_po__Template2__Template5::__selector8_); uPtr(__this->DLVY_HOPE_DT3_06611)->SourceLineNumber(615); uPtr(__this->DLVY_HOPE_DT3_06611)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(__this->DLVY_HOPE_DT3_06611, 0); uPtr(__this->DLVY_HOPE_DT3_06611)->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DLVY_HOPE_DT3_06611)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp65); temp30->SourceLineNumber(615); temp30->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp66->StretchDirection(0); temp66->StretchSizing(0); temp66->Width(::g::Uno::UX::Size__New1(30.0f, 1)); temp66->Alignment(9); temp66->Margin(::g::Uno::Float4__New2(0.0f, 10.0f, 0.0f, 0.0f)); temp66->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp66->Y(::g::Uno::UX::Size__New1(-5.0f, 1)); temp66->SourceLineNumber(616); temp66->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp66, 0); ::g::Fuse::Gestures::Clicked::AddHandler(temp66, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb92))); temp66->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::date101e6bad3())); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp66->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb92); temp31->SourceLineNumber(616); temp31->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp7->Visibility(1); temp7->SourceLineNumber(617); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp7, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp7->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp67); temp32->SourceLineNumber(617); temp32->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp33->SourceLineNumber(613); temp33->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp10->HitTestMode(6); temp10->Alignment(0); temp10->Margin(::g::Uno::Float4__New2(0.0f, -15.0f, 0.0f, 0.0f)); temp10->SourceLineNumber(619); temp10->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::Grid::SetColumnSpan(temp10, 4); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp69); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp70); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp10->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp73); temp69->Value(::STRINGS[26/*"비고"*/]); temp69->FontSize(11.0f); temp69->TextAlignment(0); temp69->Alignment(9); temp69->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp69->SourceLineNumber(620); temp69->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp69, 0); temp69->Font(::g::MainView::AGOTHIC14()); temp70->Width(::g::Uno::UX::Size__New1(90.0f, 4)); temp70->Alignment(1); temp70->Margin(::g::Uno::Float4__New2(15.0f, 0.0f, 0.0f, 0.0f)); temp70->SourceLineNumber(621); temp70->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp70, 0); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp70->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp9); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp70->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp72); temp9->PlaceholderText(::STRINGS[28/*"(입력)"*/]); temp9->PlaceholderColor(::g::Uno::Float4__New2(0.8078431f, 0.8078431f, 0.8078431f, 1.0f)); temp9->FontSize(11.0f); temp9->HitTestMode(6); temp9->Height(::g::Uno::UX::Size__New1(30.0f, 1)); temp9->Alignment(0); temp9->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp9->SourceLineNumber(622); temp9->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp9, 2); temp9->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp9->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp71); temp34->SourceLineNumber(622); temp34->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp72->Color(::g::Uno::Float4__New2(0.8666667f, 0.8666667f, 0.8666667f, 1.0f)); temp72->Width(::g::Uno::UX::Size__New1(100.0f, 4)); temp72->Height(::g::Uno::UX::Size__New1(1.0f, 1)); temp72->Alignment(9); temp72->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp72->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp72->SourceLineNumber(623); temp72->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp72, 2); temp35->SourceLineNumber(619); temp35->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp11->FontSize(12.0f); temp11->Width(::g::Uno::UX::Size__New1(1.0f, 1)); temp11->Height(::g::Uno::UX::Size__New1(1.0f, 1)); temp11->Alignment(13); temp11->Visibility(2); temp11->SourceLineNumber(629); temp11->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp11->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp11->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp74); temp36->SourceLineNumber(629); temp36->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp12->FontSize(12.0f); temp12->Width(::g::Uno::UX::Size__New1(1.0f, 1)); temp12->Height(::g::Uno::UX::Size__New1(1.0f, 1)); temp12->Alignment(13); temp12->Visibility(2); temp12->SourceLineNumber(630); temp12->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp12->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp12->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp75); temp37->SourceLineNumber(630); temp37->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp13->FontSize(12.0f); temp13->TextAlignment(2); temp13->Alignment(3); temp13->Visibility(1); temp13->Margin(::g::Uno::Float4__New2(0.0f, 0.0f, 10.0f, 0.0f)); temp13->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp13->LayoutRole(0); temp13->SourceLineNumber(631); temp13->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp13->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp13->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp76); temp38->SourceLineNumber(631); temp38->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->BackFill)->Color(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.1529412f)); uPtr(__this->BackFill)->Width(1.0f); temp77->SourceLineNumber(637); temp77->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp77->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp14); temp14->CornerRadius(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp14->Color(::g::Uno::Float4__New2(0.9372549f, 0.4862745f, 0.4862745f, 1.0f)); temp14->Padding(::g::Uno::Float4__New2(0.0f, 0.0f, 0.0f, 0.0f)); temp14->SourceLineNumber(648); temp14->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Controls::DockPanel::SetDock(temp14, 2); ::g::Fuse::Gestures::Clicked::AddHandler(temp14, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb93))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp14->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DeleteNode); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp14->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp81); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp14->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb93); uPtr(__this->DeleteNode)->Alignment(3); uPtr(__this->DeleteNode)->Name(c_po__Template2__Template5::__selector9_); uPtr(__this->DeleteNode)->SourceLineNumber(649); uPtr(__this->DeleteNode)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->DeleteNode)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp78); temp78->Alignment(10); temp78->SourceLineNumber(650); temp78->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp78->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp79); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp78->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp80); temp79->Width(::g::Uno::UX::Size__New1(25.0f, 1)); temp79->Height(::g::Uno::UX::Size__New1(25.0f, 1)); temp79->SourceLineNumber(651); temp79->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp79->File(::g::Uno::UX::BundleFileSource::New1(::g::HSMRO_bundle::binaab12e07())); temp80->Value(::STRINGS[65/*"삭제"*/]); temp80->FontSize(13.0f); temp80->Color(::g::Uno::Float4__New2(1.0f, 1.0f, 1.0f, 1.0f)); temp80->Alignment(10); temp80->Margin(::g::Uno::Float4__New2(20.0f, 0.0f, 20.0f, 0.0f)); temp80->SourceLineNumber(652); temp80->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp80->Font(::g::MainView::AGOTHIC14()); temp43->SourceLineNumber(648); temp43->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp40->SourceLineNumber(648); temp40->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp39->SourceLineNumber(648); temp39->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp42->SourceLineNumber(648); temp42->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp44->SourceLineNumber(648); temp44->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->DeleteSwipe)->Type(1); uPtr(__this->DeleteSwipe)->Direction(0); uPtr(__this->DeleteSwipe)->Name(c_po__Template2__Template5::__selector10_); uPtr(__this->DeleteSwipe)->SourceLineNumber(657); uPtr(__this->DeleteSwipe)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->DeleteSwipe)->LengthNode(__this->DeleteNode); temp82->SourceLineNumber(658); temp82->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp82->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp83); temp83->X(-1.0f); temp83->RelativeTo(::g::Fuse::TranslationModes::Size()); temp83->RelativeNode(__this->DeleteNode); temp83->Target(__this->MyPo); temp84->How(1); temp84->SourceLineNumber(661); temp84->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp84->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp85); ::g::Fuse::Animations::Change__set_Value_fn(temp85, uCRef(::g::Uno::Float4__New2(0.9f, 1.0f, 0.9f, 1.0f))); temp85->Duration(0.2); temp86->SourceLineNumber(664); temp86->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp86->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp87); temp87->X(-1.0f); temp87->Duration(0.4); temp87->RelativeTo(::g::Fuse::TranslationModes::Size()); temp87->Easing(::g::Fuse::Animations::Easing::CircularOut()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->MyPo); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp77); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->DeleteSwipe); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp82); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp84); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp86); return *__retval = __self1, void(); } // public Template5 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template5__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template5** __retval) { *__retval = c_po__Template2__Template5::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template5::__selector0_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector1_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector2_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector3_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector4_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector5_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector6_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector7_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector8_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector9_; ::g::Uno::UX::Selector c_po__Template2__Template5::__selector10_; // public Template5(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template5::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template5 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template5* c_po__Template2__Template5::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template5* obj1 = (c_po__Template2__Template5*)uNew(c_po__Template2__Template5_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template6 // { // static Template6() static void c_po__Template2__Template6__cctor__fn(uType* __type) { } static void c_po__Template2__Template6_build(uType* type) { ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::Fuse::Triggers::LayoutTransition_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template6, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template6, __parentInstance1), uFieldFlagsWeak); } ::g::Uno::UX::Template_type* c_po__Template2__Template6_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 4; options.DependencyCount = 2; options.ObjectSize = sizeof(c_po__Template2__Template6); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template6", options); type->fp_build_ = c_po__Template2__Template6_build; type->fp_cctor_ = c_po__Template2__Template6__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template6__New1_fn; return type; } // public Template6(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template6__ctor_1_fn(c_po__Template2__Template6* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template6__New1_fn(c_po__Template2__Template6* __this, uObject** __retval) { ::g::Fuse::Triggers::LayoutAnimation* __self1 = ::g::Fuse::Triggers::LayoutAnimation::New2(); ::g::Fuse::Animations::Move* temp = ::g::Fuse::Animations::Move::New2(); __self1->SourceLineNumber(669); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->Y(1.0f); temp->Duration(0.8); temp->RelativeTo(::g::Fuse::Triggers::LayoutTransition::PositionLayoutChange()); temp->Easing(::g::Fuse::Animations::Easing::ElasticIn()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp); return *__retval = __self1, void(); } // public Template6 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template6__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template6** __retval) { *__retval = c_po__Template2__Template6::New2(parent, parentInstance); } // public Template6(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template6::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template6 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template6* c_po__Template2__Template6::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template6* obj1 = (c_po__Template2__Template6*)uNew(c_po__Template2__Template6_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template7 // { // static Template7() static void c_po__Template2__Template7__cctor__fn(uType* __type) { } static void c_po__Template2__Template7_build(uType* type) { ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); type->SetDependencies( ::g::Fuse::Animations::Easing_typeof(), ::g::Fuse::TranslationModes_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template7, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template7, __parentInstance1), uFieldFlagsWeak); } ::g::Uno::UX::Template_type* c_po__Template2__Template7_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 4; options.DependencyCount = 2; options.ObjectSize = sizeof(c_po__Template2__Template7); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template7", options); type->fp_build_ = c_po__Template2__Template7_build; type->fp_cctor_ = c_po__Template2__Template7__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template7__New1_fn; return type; } // public Template7(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template7__ctor_1_fn(c_po__Template2__Template7* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template7__New1_fn(c_po__Template2__Template7* __this, uObject** __retval) { ::g::Fuse::Triggers::AddingAnimation* __self1 = ::g::Fuse::Triggers::AddingAnimation::New2(); ::g::Fuse::Animations::Move* temp = ::g::Fuse::Animations::Move::New2(); __self1->SourceLineNumber(673); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->X(1.0f); temp->Duration(0.3); temp->RelativeTo(::g::Fuse::TranslationModes::Size()); temp->Easing(::g::Fuse::Animations::Easing::ExponentialIn()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp); return *__retval = __self1, void(); } // public Template7 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template7__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template7** __retval) { *__retval = c_po__Template2__Template7::New2(parent, parentInstance); } // public Template7(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template7::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template7 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template7* c_po__Template2__Template7::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template7* obj1 = (c_po__Template2__Template7*)uNew(c_po__Template2__Template7_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template8 // { // static Template8() static void c_po__Template2__Template8__cctor__fn(uType* __type) { c_po__Template2__Template8::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); c_po__Template2__Template8::__selector1_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[1/*"Color"*/]); c_po__Template2__Template8::__selector2_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[93/*"item2"*/]); } static void c_po__Template2__Template8_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[1] = uString::Const("Color"); ::STRINGS[93] = uString::Const("item2"); ::STRINGS[94] = uString::Const("ADD_APPR_USR_NM"); ::STRINGS[95] = uString::Const("ADD_APPR_USR_ID"); ::STRINGS[96] = uString::Const("ADD_APPR_JIKGUB"); ::STRINGS[97] = uString::Const("ADD_APPR_DEPT_NM"); ::STRINGS[98] = uString::Const("clicked2"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[0] = ::g::Fuse::Animations::Change_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL); ::TYPES[3] = ::g::Fuse::Gestures::ClickedHandler_typeof(); ::TYPES[1] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Node_typeof(), NULL); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); ::TYPES[5] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Animations::Animator_typeof(), NULL); ::TYPES[4] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Drawing::Stroke_typeof(), NULL); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template8, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template8, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template8, temp_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template8, temp1_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template8, temp2_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template8, temp3_Value_inst), 0, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::Float4_typeof(), NULL), offsetof(c_po__Template2__Template8, item2_Color_inst), 0, ::g::Fuse::Controls::Panel_typeof(), offsetof(c_po__Template2__Template8, item2), 0, ::g::Fuse::Reactive::EventBinding_typeof(), offsetof(c_po__Template2__Template8, temp_eb97), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template8::__selector0_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template8::__selector1_, uFieldFlagsStatic, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template8::__selector2_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template8_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 14; options.ObjectSize = sizeof(c_po__Template2__Template8); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template8", options); type->fp_build_ = c_po__Template2__Template8_build; type->fp_cctor_ = c_po__Template2__Template8__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template8__New1_fn; return type; } // public Template8(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template8__ctor_1_fn(c_po__Template2__Template8* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template8__New1_fn(c_po__Template2__Template8* __this, uObject** __retval) { ::g::Fuse::Controls::Rectangle* __self1 = ::g::Fuse::Controls::Rectangle::New3(); ::g::Fuse::Controls::Text* temp = ::g::Fuse::Controls::Text::New3(); __this->temp_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp, c_po__Template2__Template8::__selector0_); ::g::Fuse::Reactive::Data* temp4 = ::g::Fuse::Reactive::Data::New1(::STRINGS[94/*"ADD_APPR_US...*/]); ::g::Fuse::Controls::Text* temp1 = ::g::Fuse::Controls::Text::New3(); __this->temp1_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp1, c_po__Template2__Template8::__selector0_); ::g::Fuse::Reactive::Data* temp5 = ::g::Fuse::Reactive::Data::New1(::STRINGS[95/*"ADD_APPR_US...*/]); ::g::Fuse::Controls::Text* temp2 = ::g::Fuse::Controls::Text::New3(); __this->temp2_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp2, c_po__Template2__Template8::__selector0_); ::g::Fuse::Reactive::Data* temp6 = ::g::Fuse::Reactive::Data::New1(::STRINGS[96/*"ADD_APPR_JI...*/]); ::g::Fuse::Controls::Text* temp3 = ::g::Fuse::Controls::Text::New3(); __this->temp3_Value_inst = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(temp3, c_po__Template2__Template8::__selector0_); ::g::Fuse::Reactive::Data* temp7 = ::g::Fuse::Reactive::Data::New1(::STRINGS[97/*"ADD_APPR_DE...*/]); __this->item2 = ::g::Fuse::Controls::Panel::New3(); __this->item2_Color_inst = ::g::HSMRO_FuseControlsPanel_Color_Property::New1(__this->item2, c_po__Template2__Template8::__selector1_); ::g::Fuse::Reactive::Data* temp8 = ::g::Fuse::Reactive::Data::New1(::STRINGS[98/*"clicked2"*/]); ::g::Fuse::Reactive::DataBinding* temp9 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp_Value_inst, (uObject*)temp4, 3); ::g::Fuse::Reactive::DataBinding* temp10 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp1_Value_inst, (uObject*)temp5, 3); ::g::Fuse::Reactive::DataBinding* temp11 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp2_Value_inst, (uObject*)temp6, 3); ::g::Fuse::Reactive::DataBinding* temp12 = ::g::Fuse::Reactive::DataBinding::New1(__this->temp3_Value_inst, (uObject*)temp7, 3); ::g::Fuse::Gestures::WhilePressed* temp13 = ::g::Fuse::Gestures::WhilePressed::New2(); ::g::Fuse::Animations::Change* temp14 = (::g::Fuse::Animations::Change*)::g::Fuse::Animations::Change::New2(::TYPES[0/*Fuse.Animations.Change<float4>*/], __this->item2_Color_inst); __this->temp_eb97 = ::g::Fuse::Reactive::EventBinding::New1((uObject*)temp8); ::g::Fuse::Drawing::Stroke* temp15 = ::g::Fuse::Drawing::Stroke::New2(); __self1->SourceLineNumber(718); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); uPtr(__this->item2)->Color(::g::Uno::Float4__New2(0.9333333f, 0.9333333f, 0.9333333f, 1.0f)); uPtr(__this->item2)->Name(c_po__Template2__Template8::__selector2_); uPtr(__this->item2)->SourceLineNumber(719); uPtr(__this->item2)->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Fuse::Gestures::Clicked::AddHandler(__this->item2, uDelegate::New(::TYPES[3/*Fuse.Gestures.ClickedHandler*/], (void*)::g::Fuse::Reactive::EventBinding__OnEvent_fn, uPtr(__this->temp_eb97))); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->item2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->item2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp1); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->item2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp2); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->item2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp3); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->item2)->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), temp13); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(uPtr(__this->item2)->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), __this->temp_eb97); temp->FontSize(13.0f); temp->Visibility(0); temp->Margin(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp->SourceLineNumber(720); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp9); temp4->SourceLineNumber(720); temp4->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp1->FontSize(13.0f); temp1->Visibility(1); temp1->Margin(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp1->SourceLineNumber(721); temp1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp10); temp5->SourceLineNumber(721); temp5->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp2->FontSize(13.0f); temp2->Visibility(1); temp2->Margin(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp2->SourceLineNumber(722); temp2->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp2->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp11); temp6->SourceLineNumber(722); temp6->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp3->FontSize(13.0f); temp3->Visibility(1); temp3->Margin(::g::Uno::Float4__New2(10.0f, 10.0f, 10.0f, 10.0f)); temp3->SourceLineNumber(723); temp3->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp3->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp12); temp7->SourceLineNumber(723); temp7->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp13->SourceLineNumber(724); temp13->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(temp13->Animators()), ::TYPES[5/*Uno.Collections.ICollection<Fuse.Animations.Animator>*/]), temp14); ::g::Fuse::Animations::Change__set_Value_fn(temp14, uCRef(::g::Uno::Float4__New2(0.8666667f, 0.8666667f, 0.8666667f, 1.0f))); temp14->Duration(0.05); temp14->DurationBack(0.1); temp8->SourceLineNumber(719); temp8->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp15->Color(::g::Uno::Float4__New2(0.5490196f, 0.4509804f, 0.7607843f, 1.0f)); temp15->Width(1.0f); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Strokes()), ::TYPES[4/*Uno.Collections.ICollection<Fuse.Drawing.Stroke>*/]), temp15); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Children()), ::TYPES[1/*Uno.Collections.ICollection<Fuse.Node>*/]), __this->item2); return *__retval = __self1, void(); } // public Template8 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template8__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template8** __retval) { *__retval = c_po__Template2__Template8::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template8::__selector0_; ::g::Uno::UX::Selector c_po__Template2__Template8::__selector1_; ::g::Uno::UX::Selector c_po__Template2__Template8::__selector2_; // public Template8(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template8::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template8 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template8* c_po__Template2__Template8::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template8* obj1 = (c_po__Template2__Template8*)uNew(c_po__Template2__Template8_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } // /Users/jay/Dev/Fuse/HSPF_MRO_ANDR/.uno/ux15/c_po.g.uno // ------------------------------------------------------ // public partial sealed class c_po.Template2.Template9 // { // static Template9() static void c_po__Template2__Template9__cctor__fn(uType* __type) { c_po__Template2__Template9::__selector0_ = ::g::Uno::UX::Selector__op_Implicit(::STRINGS[0/*"Value"*/]); } static void c_po__Template2__Template9_build(uType* type) { ::STRINGS[0] = uString::Const("Value"); ::STRINGS[99] = uString::Const("APPR_USR_TYPE3"); ::STRINGS[16] = uString::Const("Pages/Menu_Customer/c_po.ux"); ::TYPES[2] = ::g::Uno::Collections::ICollection_typeof()->MakeType(::g::Fuse::Binding_typeof(), NULL); type->SetDependencies( ::g::MainView_typeof()); type->SetFields(2, ::g::c_po__Template2_typeof(), offsetof(c_po__Template2__Template9, __parent1), uFieldFlagsWeak, ::g::Fuse::Controls::Page_typeof(), offsetof(c_po__Template2__Template9, __parentInstance1), uFieldFlagsWeak, ::g::Uno::UX::Property1_typeof()->MakeType(::g::Uno::String_typeof(), NULL), offsetof(c_po__Template2__Template9, __self_Value_inst1), 0, ::g::Uno::UX::Selector_typeof(), (uintptr_t)&c_po__Template2__Template9::__selector0_, uFieldFlagsStatic); } ::g::Uno::UX::Template_type* c_po__Template2__Template9_typeof() { static uSStrong< ::g::Uno::UX::Template_type*> type; if (type != NULL) return type; uTypeOptions options; options.BaseDefinition = ::g::Uno::UX::Template_typeof(); options.FieldCount = 6; options.DependencyCount = 1; options.ObjectSize = sizeof(c_po__Template2__Template9); options.TypeSize = sizeof(::g::Uno::UX::Template_type); type = (::g::Uno::UX::Template_type*)uClassType::New("c_po.Template2.Template9", options); type->fp_build_ = c_po__Template2__Template9_build; type->fp_cctor_ = c_po__Template2__Template9__cctor__fn; type->fp_New1 = (void(*)(::g::Uno::UX::Template*, uObject**))c_po__Template2__Template9__New1_fn; return type; } // public Template9(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template9__ctor_1_fn(c_po__Template2__Template9* __this, ::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { __this->ctor_1(parent, parentInstance); } // public override sealed object New() void c_po__Template2__Template9__New1_fn(c_po__Template2__Template9* __this, uObject** __retval) { ::g::Fuse::Controls::Text* __self1 = ::g::Fuse::Controls::Text::New3(); __this->__self_Value_inst1 = ::g::HSMRO_FuseControlsTextControl_Value_Property::New1(__self1, c_po__Template2__Template9::__selector0_); ::g::Fuse::Reactive::Data* temp = ::g::Fuse::Reactive::Data::New1(::STRINGS[99/*"APPR_USR_TY...*/]); ::g::Fuse::Reactive::DataBinding* temp1 = ::g::Fuse::Reactive::DataBinding::New1(__this->__self_Value_inst1, (uObject*)temp, 3); __self1->FontSize(13.0f); __self1->TextAlignment(1); __self1->Alignment(10); __self1->SourceLineNumber(753); __self1->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); temp->SourceLineNumber(753); temp->SourceFileName(::STRINGS[16/*"Pages/Menu_...*/]); __self1->Font(::g::MainView::AGOTHIC14()); ::g::Uno::Collections::ICollection::Add_ex(uInterface(uPtr(__self1->Bindings()), ::TYPES[2/*Uno.Collections.ICollection<Fuse.Binding>*/]), temp1); return *__retval = __self1, void(); } // public Template9 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) void c_po__Template2__Template9__New2_fn(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance, c_po__Template2__Template9** __retval) { *__retval = c_po__Template2__Template9::New2(parent, parentInstance); } ::g::Uno::UX::Selector c_po__Template2__Template9::__selector0_; // public Template9(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [instance] void c_po__Template2__Template9::ctor_1(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { ctor_(NULL, false); __parent1 = parent; __parentInstance1 = parentInstance; } // public Template9 New(c_po.Template2 parent, Fuse.Controls.Page parentInstance) [static] c_po__Template2__Template9* c_po__Template2__Template9::New2(::g::c_po__Template2* parent, ::g::Fuse::Controls::Page* parentInstance) { c_po__Template2__Template9* obj1 = (c_po__Template2__Template9*)uNew(c_po__Template2__Template9_typeof()); obj1->ctor_1(parent, parentInstance); return obj1; } // } } // ::g
[ "sommelier0052@gmail.com" ]
sommelier0052@gmail.com
1791ddbf99b9a85840d163aae68914e65af10f59
9181068b31ec63ffc1fa0c8a11499b13fc49c45b
/tempxively/tempxively.ino
c1e4db3e5e93b26af681bb1b77cef517e60db025
[ "MIT" ]
permissive
eutampieri/Arduino
003b45ca8d4578b03bf2f36261a0308196f71b7c
b6dfa298f2377a29e64231f253fbb988493788d7
refs/heads/master
2018-12-23T03:57:49.456310
2018-10-10T12:39:49
2018-10-10T12:39:49
31,428,737
0
1
MIT
2018-10-10T12:39:50
2015-02-27T16:40:16
C++
UTF-8
C++
false
false
1,446
ino
#include <SPI.h> #include <Ethernet.h> #include <HttpClient.h> #include <Xively.h> #include <LM35.h> // MAC address for your Ethernet shield byte mac[]={0x90, 0xA2, 0xDA, 0x0F, 0x9D, 0x80 }; // Your Xively key to let you upload data char xivelyKey[] = "RkVAi4UU9hvVoEFWN59SD945u2KMPOSYcGe0bRrQrs5e30A6"; // Analog pin which we're monitoring (0 and 1 are used by the Ethernet shield) int sensorPin = 2; // Define the strings for our datastream IDs char sensorId[] = "lm35"; XivelyDatastream datastreams[] = { XivelyDatastream(sensorId, strlen(sensorId), DATASTREAM_FLOAT), }; // Finally, wrap the datastreams into a feed XivelyFeed feed(949447598, datastreams, 1 /* number of datastreams */); EthernetClient client; XivelyClient xivelyclient(client); void setup() { // put your setup code here, to run once: Serial.begin(9600); Serial.println("Starting single datastream upload to Xively..."); Serial.println(); while (Ethernet.begin(mac) != 1) { Serial.println("Error getting IP address via DHCP, trying again..."); delay(15000); } } void loop() { float sensorValue = readC(sensorPin); datastreams[0].setFloat(sensorValue); Serial.print("Read sensor value "); Serial.println(datastreams[0].getFloat()); Serial.println("Uploading it to Xively"); int ret = xivelyclient.put(feed, xivelyKey); Serial.print("xivelyclient.put returned "); Serial.println(ret); Serial.println(); delay(5000); }
[ "eugenio@serverseutampieri.ddns.net" ]
eugenio@serverseutampieri.ddns.net
47bb79d95ca1d401007b1ff0ce0aa75d45a798fb
12c995558414cc5248e16b4ff6e655ed6d10ff77
/nowcoder/nc-156F.cpp
896eb50f61f6a48f9f32a7863c2ec90e49ad4023
[]
no_license
fshp971/ACM-ICPC
f7202fde85b7875f9d5e05ad147fa077880ca562
5d922295cf2cb64db15c689fef2a772ddf7e5311
refs/heads/master
2023-05-26T09:24:56.822990
2023-05-16T09:30:43
2023-05-16T09:30:43
58,751,341
3
0
null
null
null
null
UTF-8
C++
false
false
1,178
cpp
#include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<ctime> #include<cassert> #include<iostream> #include<algorithm> #include<vector> #include<string> #include<queue> #include<utility> #include<bitset> #include<complex> #include<map> #include<set> #include<unordered_map> #include<unordered_set> #include<stack> using namespace std; #define mem(a,b) memset(a,b,sizeof(a)) #define REP(i,a,b) for(int i=a; i<=b; ++i) #define PER(i,a,b) for(int i=a; i>=b; --i) #define MP make_pair #define PB push_back #define fi first #define se second typedef long long LL; const int maxn = 1e5; const int P = 998244353; inline LL PowMod(LL a, LL b) { LL r=1; while(b) { if(b&1) r=r*a%P; a=a*a%P, b>>=1; } return r; } int n, inv[maxn+5]; vector<int> G[maxn+5]; int ans = 0; void dfs(int x, int p, int d) { ans = (ans+inv[d]) % P; for(auto y : G[x]) if(y!=p) { dfs(y,x,d+1); } } int main() { scanf("%d", &n); for(int i = 1, u,v; i < n; ++i) { scanf("%d%d", &u, &v); G[u].PB(v), G[v].PB(u); } inv[1] = 1; REP(i,2,n) inv[i] = LL(P-P/i) * inv[P%i] % P; dfs(1,0,1); printf("%d\n", ans); return 0; }
[ "fshp971@gmail.com" ]
fshp971@gmail.com
8ed0d124922fa32371ceaa0ab94cdfd2e4631319
0879c7f857ccd417e5e00afae20fdf0699948ea7
/xdebug/CameraSampleDisplay/debug/moc_ImageProcessWarpper.cpp
272c9cab2ed6a700e69e4b87c6fdfd4147768bb8
[]
no_license
wenzhang1992/CameraSample
c7947db0bbe26e3d0faa36626fcb06a141b76b90
3c15358ebd0ab5996490dc09127df9fb004ac9c6
refs/heads/master
2020-05-27T14:12:43.642096
2019-05-26T07:43:58
2019-05-26T07:43:58
188,654,392
0
0
null
null
null
null
UTF-8
C++
false
false
3,675
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'ImageProcessWarpper.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../../../CameraSample/CameraSampleDisplay/ImageProcessWarpper.h" #include <QtCore/qbytearray.h> #include <QtCore/qmetatype.h> #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'ImageProcessWarpper.h' doesn't include <QObject>." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.9.2. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_ImageProcessWarpper_t { QByteArrayData data[4]; char stringdata0[46]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_ImageProcessWarpper_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_ImageProcessWarpper_t qt_meta_stringdata_ImageProcessWarpper = { { QT_MOC_LITERAL(0, 0, 19), // "ImageProcessWarpper" QT_MOC_LITERAL(1, 20, 15), // "slot_processing" QT_MOC_LITERAL(2, 36, 0), // "" QT_MOC_LITERAL(3, 37, 8) // "filename" }, "ImageProcessWarpper\0slot_processing\0" "\0filename" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_ImageProcessWarpper[] = { // content: 7, // revision 0, // classname 0, 0, // classinfo 1, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 0, // signalCount // slots: name, argc, parameters, tag, flags 1, 1, 19, 2, 0x0a /* Public */, // slots: parameters QMetaType::Void, QMetaType::QString, 3, 0 // eod }; void ImageProcessWarpper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { ImageProcessWarpper *_t = static_cast<ImageProcessWarpper *>(_o); Q_UNUSED(_t) switch (_id) { case 0: _t->slot_processing((*reinterpret_cast< QString(*)>(_a[1]))); break; default: ; } } } const QMetaObject ImageProcessWarpper::staticMetaObject = { { &QObject::staticMetaObject, qt_meta_stringdata_ImageProcessWarpper.data, qt_meta_data_ImageProcessWarpper, qt_static_metacall, nullptr, nullptr} }; const QMetaObject *ImageProcessWarpper::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *ImageProcessWarpper::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_ImageProcessWarpper.stringdata0)) return static_cast<void*>(this); return QObject::qt_metacast(_clname); } int ImageProcessWarpper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QObject::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 1) qt_static_metacall(this, _c, _id, _a); _id -= 1; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 1) *reinterpret_cast<int*>(_a[0]) = -1; _id -= 1; } return _id; } QT_WARNING_POP QT_END_MOC_NAMESPACE
[ "543967937@qq.com" ]
543967937@qq.com
9dfde42676d7a8fd536f62c837fcd8adacda9b1f
ad66bc473cb26c9edf662dfeccfb07b20fae62f9
/CG/imageIO.h
03ca0bef51f9a235df03ff60b648655f7ee0c9d2
[]
no_license
Jessica1213/CG_RayTracing-KDtree
85f4a015d7b7350f6d5b8be44b1014360a341030
b6f7ef87181ed8eee3ddba1dd640b098d8fb56ff
refs/heads/master
2020-03-19T08:22:36.714228
2018-06-28T07:03:46
2018-06-28T07:03:46
136,198,851
1
0
null
null
null
null
UTF-8
C++
false
false
1,655
h
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string> #ifndef _IMAGEIO_H #define _IMAGEIO_H struct Pixel { unsigned char R, G, B; // Blue, Green, Red }; class ColorImage { Pixel *pPixel; int xRes, yRes; public: ColorImage(); ~ColorImage(); void init(int xSize, int ySize); void clear(Pixel background); Pixel readPixel(int x, int y); void writePixel(int x, int y, Pixel p); void outputPPM(std::string filename); }; ColorImage::ColorImage() { pPixel = 0; } ColorImage::~ColorImage() { if (pPixel) delete[] pPixel; pPixel = 0; } void ColorImage::init(int xSize, int ySize) { Pixel p = {0,0,0}; xRes = xSize; yRes = ySize; pPixel = new Pixel[xSize*ySize]; clear(p); } void ColorImage::clear(Pixel background) { int i; if (! pPixel) return; for (i=0; i<xRes*yRes; i++) pPixel[i] = background; } Pixel ColorImage::readPixel(int x, int y) { assert(pPixel); // die if image not initialized return pPixel[x + y*xRes]; } void ColorImage::writePixel(int x, int y, Pixel p) { assert(pPixel); // die if image not initialized pPixel[x + y*xRes] = p; } void ColorImage::outputPPM(std::string filename) { std::string temp = filename; char * file = new char [temp.length()+1]; strcpy (file, temp.c_str()); FILE *outFile = fopen(file, "wb"); assert(outFile); // die if file can't be opened fprintf(outFile, "P6 %d %d 255\n", xRes, yRes); fwrite(pPixel, 1, 3*xRes*yRes, outFile ); fclose(outFile); } #endif
[ "jessica121353@gmail.com" ]
jessica121353@gmail.com
4fe8b431ca13ed4f2601441d7466c8a4161e566c
1bfd6a615b6aa1aa069be2a797fdd35bb428fb2d
/devel/include/main2021/goap_srvResponse.h
b0175cd0b50f0b46d82da6c70864144ceff1503f
[]
no_license
gogochiou/eudemo
961a8ee4b6f9d7c2b6d4e9793ec0488e04b18f9f
fe730b3c2b618ee3a1c4f257c4da816db961d599
refs/heads/main
2023-04-18T18:18:09.881614
2021-05-07T13:57:03
2021-05-07T13:57:03
365,246,447
0
0
null
null
null
null
UTF-8
C++
false
false
5,918
h
// Generated by gencpp from file main2021/goap_srvResponse.msg // DO NOT EDIT! #ifndef MAIN2021_MESSAGE_GOAP_SRVRESPONSE_H #define MAIN2021_MESSAGE_GOAP_SRVRESPONSE_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits.h> #include <ros/message_operations.h> namespace main2021 { template <class ContainerAllocator> struct goap_srvResponse_ { typedef goap_srvResponse_<ContainerAllocator> Type; goap_srvResponse_() : action() , position() , cup() { } goap_srvResponse_(const ContainerAllocator& _alloc) : action(_alloc) , position(_alloc) , cup(_alloc) { (void)_alloc; } typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > _action_type; _action_type action; typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _position_type; _position_type position; typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > _cup_type; _cup_type cup; typedef boost::shared_ptr< ::main2021::goap_srvResponse_<ContainerAllocator> > Ptr; typedef boost::shared_ptr< ::main2021::goap_srvResponse_<ContainerAllocator> const> ConstPtr; }; // struct goap_srvResponse_ typedef ::main2021::goap_srvResponse_<std::allocator<void> > goap_srvResponse; typedef boost::shared_ptr< ::main2021::goap_srvResponse > goap_srvResponsePtr; typedef boost::shared_ptr< ::main2021::goap_srvResponse const> goap_srvResponseConstPtr; // constants requiring out of line definition template<typename ContainerAllocator> std::ostream& operator<<(std::ostream& s, const ::main2021::goap_srvResponse_<ContainerAllocator> & v) { ros::message_operations::Printer< ::main2021::goap_srvResponse_<ContainerAllocator> >::stream(s, "", v); return s; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator==(const ::main2021::goap_srvResponse_<ContainerAllocator1> & lhs, const ::main2021::goap_srvResponse_<ContainerAllocator2> & rhs) { return lhs.action == rhs.action && lhs.position == rhs.position && lhs.cup == rhs.cup; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator!=(const ::main2021::goap_srvResponse_<ContainerAllocator1> & lhs, const ::main2021::goap_srvResponse_<ContainerAllocator2> & rhs) { return !(lhs == rhs); } } // namespace main2021 namespace ros { namespace message_traits { template <class ContainerAllocator> struct IsFixedSize< ::main2021::goap_srvResponse_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct IsFixedSize< ::main2021::goap_srvResponse_<ContainerAllocator> const> : FalseType { }; template <class ContainerAllocator> struct IsMessage< ::main2021::goap_srvResponse_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::main2021::goap_srvResponse_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct HasHeader< ::main2021::goap_srvResponse_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct HasHeader< ::main2021::goap_srvResponse_<ContainerAllocator> const> : FalseType { }; template<class ContainerAllocator> struct MD5Sum< ::main2021::goap_srvResponse_<ContainerAllocator> > { static const char* value() { return "2169fa9d7628a56d4dc281fba88acaa2"; } static const char* value(const ::main2021::goap_srvResponse_<ContainerAllocator>&) { return value(); } static const uint64_t static_value1 = 0x2169fa9d7628a56dULL; static const uint64_t static_value2 = 0x4dc281fba88acaa2ULL; }; template<class ContainerAllocator> struct DataType< ::main2021::goap_srvResponse_<ContainerAllocator> > { static const char* value() { return "main2021/goap_srvResponse"; } static const char* value(const ::main2021::goap_srvResponse_<ContainerAllocator>&) { return value(); } }; template<class ContainerAllocator> struct Definition< ::main2021::goap_srvResponse_<ContainerAllocator> > { static const char* value() { return "int32[] action\n" "float32[] position\n" "int32[] cup\n" "\n" ; } static const char* value(const ::main2021::goap_srvResponse_<ContainerAllocator>&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template<class ContainerAllocator> struct Serializer< ::main2021::goap_srvResponse_<ContainerAllocator> > { template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) { stream.next(m.action); stream.next(m.position); stream.next(m.cup); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct goap_srvResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template<class ContainerAllocator> struct Printer< ::main2021::goap_srvResponse_<ContainerAllocator> > { template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::main2021::goap_srvResponse_<ContainerAllocator>& v) { s << indent << "action[]" << std::endl; for (size_t i = 0; i < v.action.size(); ++i) { s << indent << " action[" << i << "]: "; Printer<int32_t>::stream(s, indent + " ", v.action[i]); } s << indent << "position[]" << std::endl; for (size_t i = 0; i < v.position.size(); ++i) { s << indent << " position[" << i << "]: "; Printer<float>::stream(s, indent + " ", v.position[i]); } s << indent << "cup[]" << std::endl; for (size_t i = 0; i < v.cup.size(); ++i) { s << indent << " cup[" << i << "]: "; Printer<int32_t>::stream(s, indent + " ", v.cup[i]); } } }; } // namespace message_operations } // namespace ros #endif // MAIN2021_MESSAGE_GOAP_SRVRESPONSE_H
[ "aaaa8552369@gmail.com" ]
aaaa8552369@gmail.com
b1a8962138c1d7a45c06b827bf3b0038e5f657cb
c45a8a2b70c7ac1613660eb3ee91efe117ce060e
/examples/example09.cpp
dcf69dd84d36f04e9aa73d519db840973cb8c042
[]
no_license
iEuler/MiniQL
d0a46cf84b6de501811868481394332d2144b425
08333400c2e6621361237412bdca979a32f127f0
refs/heads/main
2023-05-28T23:29:24.164632
2021-06-09T19:54:42
2021-06-09T19:54:42
372,900,437
0
0
null
2021-06-09T19:54:42
2021-06-01T16:46:19
C++
UTF-8
C++
false
false
898
cpp
// this file is to test the root finding algo // g++ examples/example09.cpp -o out #include <iostream> #include <memory> #include <exception> #include "../math/brent.hpp" #include "../math/secant.hpp" #include "../math/solver1d.hpp" class Myfunc1 { public: double operator()(double x) const { return (x-6.356)*(x*x - x + 1.0); } }; int main() { // MiniQL::Secant solver_secant; // MiniQL::Solver1D<MiniQL::Secant> & solver1 = solver_secant; // std::cout << solver1.solve(Myfunc1()) << std::endl; try { std::shared_ptr<MiniQL::Secant> solver1b = std::make_shared<MiniQL::Secant>(); std::cout << solver1b->solve(Myfunc1()) << std::endl; } catch (std::exception& e) { std::cout << e.what() << std::endl; } std::shared_ptr<MiniQL::Brent> solver2 = std::make_shared<MiniQL::Brent>(); std::cout << solver2->solve(Myfunc1(), 1e-14, 0.0, -1.0, 15.0) << std::endl; }
[ "48609238+iEuler@users.noreply.github.com" ]
48609238+iEuler@users.noreply.github.com
3dd083adb2d77a80a92d88814571a02e312a3404
88ae8695987ada722184307301e221e1ba3cc2fa
/components/autofill/core/browser/autofill_address_util.h
f416314af7b2872793513645e2f9b8e1ab8d809a
[ "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
5,358
h
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ADDRESS_UTIL_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ADDRESS_UTIL_H_ #include <string> #include "components/autofill/core/browser/data_model/autofill_profile_comparator.h" #include "components/autofill/core/browser/field_types.h" #include "components/autofill/core/browser/geo/autofill_country.h" #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui_component.h" #include "third_party/libaddressinput/src/cpp/include/libaddressinput/localization.h" namespace autofill { class AutofillProfile; class PersonalDataManager; // Extended addressinput struct for storing Autofill specific data. struct ExtendedAddressUiComponent : public ::i18n::addressinput::AddressUiComponent { bool is_required = false; ExtendedAddressUiComponent(const ::i18n::addressinput::AddressUiComponent&&, bool); explicit ExtendedAddressUiComponent( const ::i18n::addressinput::AddressUiComponent&&); }; // Creates extended ui components from libaddressinput ones with respect to // the |country| provided. std::vector<ExtendedAddressUiComponent> ConvertAddressUiComponents( const std::vector<::i18n::addressinput::AddressUiComponent>& addressinput_components, const AutofillCountry& country); // Extend `components` using Autofill's address format extensions. These are // used make fields beyond libaddressinput's format available in Autofill's // settings UI and import dialogs. void ExtendAddressComponents( std::vector<ExtendedAddressUiComponent>& components, const AutofillCountry& country, const ::i18n::addressinput::Localization& localization, bool include_literals); // |address_components| is a 2D array for the address components in each line. // Fills |address_components| with the address UI components that should be used // to input an address for |country_code| when UI BCP 47 language code is // |ui_language_code|. If |components_language_code| is not NULL, then sets it // to the BCP 47 language code that should be used to format the address for // display. If no components are available for |country_code|, it defaults back // to the US. |include_literals| controls whether formatting literals such as // ", " and "-" should be returned. void GetAddressComponents( const std::string& country_code, const std::string& ui_language_code, bool include_literals, std::vector<std::vector<ExtendedAddressUiComponent>>* address_components, std::string* components_language_code); // Returns the address stored in `profile` when UI BCP 47 language code is // `ui_language_code`. If the format of the country in `profile` isn't known, // the US address format is used instead. If `ui_language_code` is not valid, // the default format is returned. If `include_recipient` is true, the recipient // full name will be included. If `include_country` is true, the country // will be appended in a separate line at the end. std::u16string GetEnvelopeStyleAddress(const AutofillProfile& profile, const std::string& ui_language_code, bool include_recipient, bool include_country); // Returns a one-line `profile` description, listing (at max) 2 significant // user-visible fields with respect to UI BCP 47 language code in // `ui_language_code`. If `include_address_and_contacts` is false, only full // name is included, and the returned string can be empty if the name is not // present. std::u16string GetProfileDescription(const AutofillProfile& profile, const std::string& ui_language_code, bool include_address_and_contacts); // Fields in order they should appear in differences for AutofillProfile update. static constexpr ServerFieldType kVisibleTypesForProfileDifferences[] = { NAME_FULL_WITH_HONORIFIC_PREFIX, COMPANY_NAME, ADDRESS_HOME_STREET_ADDRESS, ADDRESS_HOME_DEPENDENT_LOCALITY, ADDRESS_HOME_CITY, ADDRESS_HOME_STATE, ADDRESS_HOME_ZIP, ADDRESS_HOME_COUNTRY, EMAIL_ADDRESS, PHONE_HOME_WHOLE_NUMBER}; // Gets the difference of two profiles in name, address, email and phone number // in that order. Differences in name, email and phone number are computed and // keyed by NAME_FULL_WITH_HONORIFIC_PREFIX, EMAIL_ADDRESS and // PHONE_HOME_WHOLE_NUMBER respectively. Address differences are computed by // difference in the envelope style address of both profile, and keyed by // ADDRESS_HOME_ADDRESS. All computations are done against `app_locale`. std::vector<ProfileValueDifference> GetProfileDifferenceForUi( const AutofillProfile& first_profile, const AutofillProfile& second_profile, const std::string& app_locale); // Returns a multi line `profile` description comprising of full name, address, // email and phone in separate lines if they are non-empty. std::u16string GetProfileSummaryForMigrationPrompt( const AutofillProfile& profile, const std::string& app_locale); } // namespace autofill #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ADDRESS_UTIL_H_
[ "jengelh@inai.de" ]
jengelh@inai.de
cce00569e4270955b2b433dd2b3b796645151edf
3e5777877e95dd149f0eeff1bbfa512b90be3502
/arduinoExamples/basic/ESP32_PIR_HC-SR501_Timer.ino
d2ea61690d71508a910ddb0bdfa7f220c5c46855
[]
no_license
mael/iot
782b866a469d3e36507b7d50a77fca20381bdc3e
c83738008f5bb17b337e926b8b07783aa84111af
refs/heads/master
2020-12-21T03:01:54.961790
2020-02-09T21:00:36
2020-02-09T21:00:36
236,287,208
1
0
null
null
null
null
UTF-8
C++
false
false
1,271
ino
/** * Sensor PIR HC-SR501 * * Author: Mael T. * Date: 18/01/2020 * * PINOUT * ====== * GND:GND * Vcc:+5v * OUT:D4 */ #define timeSeconds 5 // Set GPIOs for LED and PIR Motion Sensor const int led = 2; // Internal led blue const int motionSensor = 4; // Timer: Auxiliary variables unsigned long now = millis(); unsigned long lastTrigger = 0; boolean startTimer = false; // Checks if motion was detected, sets LED HIGH and starts a timer void IRAM_ATTR detectsMovement() { Serial.println("MOTION DETECTED!!!"); digitalWrite(led, HIGH); startTimer = true; lastTrigger = millis(); } void setup() { Serial.begin(115200); // PIR Motion Sensor mode INPUT_PULLUP pinMode(motionSensor, INPUT_PULLUP); // Set motionSensor pin as interrupt, assign interrupt function and set RISING mode attachInterrupt(digitalPinToInterrupt(motionSensor), detectsMovement, RISING); // Set LED to LOW pinMode(led, OUTPUT); digitalWrite(led, LOW); } void loop() { // Current time now = millis(); // Turn off the LED after the number of seconds defined in the timeSeconds variable if(startTimer && (now - lastTrigger > (timeSeconds*1000))) { Serial.println("Motion stopped..."); digitalWrite(led, LOW); startTimer = false; } }
[ "dev.mael@gmail.com" ]
dev.mael@gmail.com
055daa24b6a79afc9231f228c2e18627dd409e0c
8faee0b01b9afed32bb5b7ef1ab0dcbc46788b5b
/source/src/serial/objistr.cpp
8c912d8de581e7835578881360be599c5be50ad6
[]
no_license
jackgopack4/pico-blast
5fe3fa1944b727465845e1ead1a3c563b43734fb
cde1bd03900d72d0246cb58a66b41e5dc17329dd
refs/heads/master
2021-01-14T12:31:05.676311
2014-05-17T19:22:05
2014-05-17T19:22:05
16,808,473
2
0
null
null
null
null
UTF-8
C++
false
false
52,591
cpp
/* $Id: objistr.cpp 393673 2013-03-27 14:35:03Z rafanovi $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Author: Eugene Vasilchenko * * File Description: * !!! PUT YOUR DESCRIPTION HERE !!! * * =========================================================================== */ #include <ncbi_pch.hpp> #include <corelib/ncbistd.hpp> #include <corelib/ncbi_safe_static.hpp> #include <corelib/ncbiutil.hpp> #include <corelib/ncbimtx.hpp> #include <corelib/ncbithr.hpp> #include <corelib/ncbi_param.hpp> #include <exception> #include <util/bytesrc.hpp> #include <serial/objistr.hpp> #include <serial/impl/typeref.hpp> #include <serial/impl/member.hpp> #include <serial/impl/variant.hpp> #include <serial/impl/classinfo.hpp> #include <serial/impl/choice.hpp> #include <serial/impl/aliasinfo.hpp> #include <serial/impl/continfo.hpp> #include <serial/enumvalues.hpp> #include <serial/impl/memberlist.hpp> #include <serial/delaybuf.hpp> #include <serial/impl/objistrimpl.hpp> #include <serial/objectinfo.hpp> #include <serial/objectiter.hpp> #include <serial/impl/objlist.hpp> #include <serial/impl/choiceptr.hpp> #include <serial/serialimpl.hpp> #include <serial/pack_string.hpp> #include <serial/error_codes.hpp> #include <limits.h> #if HAVE_WINDOWS_H // In MSVC limits.h doesn't define FLT_MIN & FLT_MAX # include <float.h> #endif #if defined(NCBI_OS_MSWIN) # include <corelib/ncbi_os_mswin.hpp> # include <io.h> # include <fcntl.h> #endif #undef _TRACE #define _TRACE(arg) ((void)0) #define NCBI_USE_ERRCODE_X Serial_IStream BEGIN_NCBI_SCOPE CRef<CByteSource> CObjectIStream::GetSource(ESerialDataFormat format, const string& fileName, TSerialOpenFlags openFlags) { if ( ((openFlags & eSerial_StdWhenEmpty) && fileName.empty()) || ((openFlags & eSerial_StdWhenDash) && fileName == "-") || ((openFlags & eSerial_StdWhenStd) && fileName == "stdin") ) { #if defined(NCBI_OS_MSWIN) setmode(fileno(stdin), (format == eSerial_AsnBinary) ? O_BINARY : O_TEXT); #endif return CRef<CByteSource>(new CStreamByteSource(NcbiCin)); } else { bool binary; switch ( format ) { case eSerial_AsnText: case eSerial_Xml: case eSerial_Json: binary = false; break; case eSerial_AsnBinary: binary = true; break; default: NCBI_THROW(CSerialException,eNotImplemented, "CObjectIStream::Open: unsupported format"); } if ( (openFlags & eSerial_UseFileForReread) ) { // use file as permanent file return CRef<CByteSource>(new CFileByteSource(fileName, binary)); } else { // open file as stream return CRef<CByteSource>(new CFStreamByteSource(fileName, binary)); } } } CRef<CByteSource> CObjectIStream::GetSource(CNcbiIstream& inStream, bool deleteInStream) { if ( deleteInStream ) { return CRef<CByteSource>(new CFStreamByteSource(inStream)); } else { return CRef<CByteSource>(new CStreamByteSource(inStream)); } } CObjectIStream* CObjectIStream::Create(ESerialDataFormat format) { switch ( format ) { case eSerial_AsnText: return CreateObjectIStreamAsn(); case eSerial_AsnBinary: return CreateObjectIStreamAsnBinary(); case eSerial_Xml: return CreateObjectIStreamXml(); case eSerial_Json: return CreateObjectIStreamJson(); default: break; } NCBI_THROW(CSerialException,eNotImplemented, "CObjectIStream::Open: unsupported format"); } CObjectIStream* CObjectIStream::Create(ESerialDataFormat format, CByteSource& source) { AutoPtr<CObjectIStream> stream(Create(format)); stream->Open(source); return stream.release(); } CObjectIStream* CObjectIStream::Create(ESerialDataFormat format, CByteSourceReader& reader) { AutoPtr<CObjectIStream> stream(Create(format)); stream->Open(reader); return stream.release(); } CObjectIStream* CObjectIStream::CreateFromBuffer(ESerialDataFormat format, const char* buffer, size_t size) { AutoPtr<CObjectIStream> stream(Create(format)); stream->OpenFromBuffer(buffer, size); return stream.release(); } CObjectIStream* CObjectIStream::Open(ESerialDataFormat format, CNcbiIstream& inStream, EOwnership deleteInStream) { CRef<CByteSource> src = GetSource(inStream, deleteInStream == eTakeOwnership); return Create(format, *src); } CObjectIStream* CObjectIStream::Open(ESerialDataFormat format, CNcbiIstream& inStream, bool deleteInStream) { CRef<CByteSource> src = GetSource(inStream, deleteInStream); return Create(format, *src); } CObjectIStream* CObjectIStream::Open(ESerialDataFormat format, const string& fileName, TSerialOpenFlags openFlags) { CRef<CByteSource> src = GetSource(format, fileName, openFlags); return Create(format, *src); } ///////////////////////////////////////////////////////////////////////////// // data verification setup NCBI_PARAM_ENUM_ARRAY(ESerialVerifyData, SERIAL, VERIFY_DATA_READ) { {"NO", eSerialVerifyData_No}, {"NEVER", eSerialVerifyData_Never}, {"YES", eSerialVerifyData_Yes}, {"ALWAYS", eSerialVerifyData_Always}, {"DEFVALUE", eSerialVerifyData_DefValue}, {"DEFVALUE_ALWAYS", eSerialVerifyData_DefValueAlways} }; NCBI_PARAM_ENUM_DECL(ESerialVerifyData, SERIAL, VERIFY_DATA_READ); NCBI_PARAM_ENUM_DEF(ESerialVerifyData, SERIAL, VERIFY_DATA_READ, eSerialVerifyData_Default); typedef NCBI_PARAM_TYPE(SERIAL, VERIFY_DATA_READ) TSerialVerifyData; void CObjectIStream::SetVerifyDataThread(ESerialVerifyData verify) { ESerialVerifyData now = TSerialVerifyData::GetThreadDefault(); if (now != eSerialVerifyData_Never && now != eSerialVerifyData_Always && now != eSerialVerifyData_DefValueAlways) { if (verify == eSerialVerifyData_Default) { TSerialVerifyData::ResetThreadDefault(); } else { TSerialVerifyData::SetThreadDefault(verify); } } } void CObjectIStream::SetVerifyDataGlobal(ESerialVerifyData verify) { ESerialVerifyData now = TSerialVerifyData::GetDefault(); if (now != eSerialVerifyData_Never && now != eSerialVerifyData_Always && now != eSerialVerifyData_DefValueAlways) { if (verify == eSerialVerifyData_Default) { TSerialVerifyData::ResetDefault(); } else { TSerialVerifyData::SetDefault(verify); } } } ESerialVerifyData CObjectIStream::x_GetVerifyDataDefault(void) { ESerialVerifyData now = TSerialVerifyData::GetThreadDefault(); if (now == eSerialVerifyData_Default) { now = TSerialVerifyData::GetDefault(); if (now == eSerialVerifyData_Default) { // this is to provide compatibility with old implementation const char* str = getenv(SERIAL_VERIFY_DATA_READ); if (str) { if (NStr::CompareNocase(str,"YES") == 0) { now = eSerialVerifyData_Yes; } else if (NStr::CompareNocase(str,"NO") == 0) { now = eSerialVerifyData_No; } else if (NStr::CompareNocase(str,"NEVER") == 0) { now = eSerialVerifyData_Never; } else if (NStr::CompareNocase(str,"ALWAYS") == 0) { now = eSerialVerifyData_Always; } else if (NStr::CompareNocase(str,"DEFVALUE") == 0) { now = eSerialVerifyData_DefValue; } else if (NStr::CompareNocase(str,"DEFVALUE_ALWAYS") == 0) { now = eSerialVerifyData_DefValueAlways; } } } } if (now != eSerialVerifyData_Default) { return now; } // change the default here, if you like return eSerialVerifyData_Yes; } ///////////////////////////////////////////////////////////////////////////// // FixWrongChars setup NCBI_PARAM_ENUM_ARRAY(EFixNonPrint, SERIAL, WRONG_CHARS_READ) { {"ALLOW", eFNP_Allow}, {"REPLACE", eFNP_Replace}, {"REPLACE_AND_WARN", eFNP_ReplaceAndWarn}, {"THROW", eFNP_Throw}, {"ABORT", eFNP_Abort} }; NCBI_PARAM_ENUM_DECL(EFixNonPrint, SERIAL, WRONG_CHARS_READ); NCBI_PARAM_ENUM_DEF(EFixNonPrint, SERIAL, WRONG_CHARS_READ, eFNP_ReplaceAndWarn); typedef NCBI_PARAM_TYPE(SERIAL, WRONG_CHARS_READ) TSerialFixChars; EFixNonPrint CObjectIStream::x_GetFixCharsMethodDefault(void) const { return TSerialFixChars::GetDefault(); } ///////////////////////////////////////////////////////////////////////////// // skip unknown members setup // same as ESerialSkipUnknown // maybe, with some tweaks in NCBI_PARAM, it will not be needed later... enum ESerialSkipUnknownMembers { eSerialSkipUnknownM_Default = 0, eSerialSkipUnknownM_No, eSerialSkipUnknownM_Never, eSerialSkipUnknownM_Yes, eSerialSkipUnknownM_Always }; NCBI_PARAM_ENUM_ARRAY(ESerialSkipUnknownMembers, SERIAL, SKIP_UNKNOWN_MEMBERS) { {"NO", eSerialSkipUnknownM_No}, {"NEVER", eSerialSkipUnknownM_Never}, {"YES", eSerialSkipUnknownM_Yes}, {"ALWAYS", eSerialSkipUnknownM_Always} }; NCBI_PARAM_ENUM_DECL(ESerialSkipUnknownMembers, SERIAL, SKIP_UNKNOWN_MEMBERS); NCBI_PARAM_ENUM_DEF(ESerialSkipUnknownMembers, SERIAL, SKIP_UNKNOWN_MEMBERS, eSerialSkipUnknownM_Default); typedef NCBI_PARAM_TYPE(SERIAL, SKIP_UNKNOWN_MEMBERS) TSkipUnknownMembersDefault; void CObjectIStream::SetSkipUnknownThread(ESerialSkipUnknown skip) { ESerialSkipUnknown now = (ESerialSkipUnknown)TSkipUnknownMembersDefault::GetThreadDefault(); if (now != eSerialSkipUnknown_Never && now != eSerialSkipUnknown_Always) { if (skip == eSerialSkipUnknown_Default) { TSkipUnknownMembersDefault::ResetThreadDefault(); } else { TSkipUnknownMembersDefault::SetThreadDefault((ESerialSkipUnknownMembers)skip); } } } void CObjectIStream::SetSkipUnknownGlobal(ESerialSkipUnknown skip) { ESerialSkipUnknown now = (ESerialSkipUnknown)TSkipUnknownMembersDefault::GetDefault(); if (now != eSerialSkipUnknown_Never && now != eSerialSkipUnknown_Always) { if (skip == eSerialSkipUnknown_Default) { TSkipUnknownMembersDefault::ResetDefault(); } else { TSkipUnknownMembersDefault::SetDefault((ESerialSkipUnknownMembers)skip); } } } ESerialSkipUnknown CObjectIStream::x_GetSkipUnknownDefault(void) { ESerialSkipUnknown now = (ESerialSkipUnknown)TSkipUnknownMembersDefault::GetThreadDefault(); if (now == eSerialSkipUnknown_Default) { now = (ESerialSkipUnknown)TSkipUnknownMembersDefault::GetDefault(); } return now; } NCBI_PARAM_ENUM_ARRAY(ESerialSkipUnknown, SERIAL, SKIP_UNKNOWN_VARIANTS) { {"NO", eSerialSkipUnknown_No}, {"NEVER", eSerialSkipUnknown_Never}, {"YES", eSerialSkipUnknown_Yes}, {"ALWAYS", eSerialSkipUnknown_Always} }; NCBI_PARAM_ENUM_DECL(ESerialSkipUnknown, SERIAL, SKIP_UNKNOWN_VARIANTS); NCBI_PARAM_ENUM_DEF(ESerialSkipUnknown, SERIAL, SKIP_UNKNOWN_VARIANTS, eSerialSkipUnknown_Default); typedef NCBI_PARAM_TYPE(SERIAL, SKIP_UNKNOWN_VARIANTS) TSkipUnknownVariantsDefault; void CObjectIStream::SetSkipUnknownVariantsThread(ESerialSkipUnknown skip) { ESerialSkipUnknown now = TSkipUnknownVariantsDefault::GetThreadDefault(); if (now != eSerialSkipUnknown_Never && now != eSerialSkipUnknown_Always) { if (skip == eSerialSkipUnknown_Default) { TSkipUnknownVariantsDefault::ResetThreadDefault(); } else { TSkipUnknownVariantsDefault::SetThreadDefault(skip); } } } void CObjectIStream::SetSkipUnknownVariantsGlobal(ESerialSkipUnknown skip) { ESerialSkipUnknown now = TSkipUnknownVariantsDefault::GetDefault(); if (now != eSerialSkipUnknown_Never && now != eSerialSkipUnknown_Always) { if (skip == eSerialSkipUnknown_Default) { TSkipUnknownVariantsDefault::ResetDefault(); } else { TSkipUnknownVariantsDefault::SetDefault(skip); } } } ESerialSkipUnknown CObjectIStream::x_GetSkipUnknownVariantsDefault(void) { ESerialSkipUnknown now = TSkipUnknownVariantsDefault::GetThreadDefault(); if (now == eSerialSkipUnknown_Default) { now = TSkipUnknownVariantsDefault::GetDefault(); } return now; } ESerialSkipUnknown CObjectIStream::UpdateSkipUnknownMembers(void) { ESerialSkipUnknown skip = m_SkipUnknown; if ( skip == eSerialSkipUnknown_Default ) { skip = x_GetSkipUnknownDefault(); if ( skip == eSerialSkipUnknown_Default ) { skip = eSerialSkipUnknown_No; } m_SkipUnknown = skip; } return skip; } ESerialSkipUnknown CObjectIStream::UpdateSkipUnknownVariants(void) { ESerialSkipUnknown skip = m_SkipUnknownVariants; if ( skip == eSerialSkipUnknown_Default ) { skip = x_GetSkipUnknownVariantsDefault(); if ( skip == eSerialSkipUnknown_Default ) { skip = eSerialSkipUnknown_No; } m_SkipUnknownVariants = skip; } return skip; } ///////////////////////////////////////////////////////////////////////////// CObjectIStream::CObjectIStream(ESerialDataFormat format) : m_DiscardCurrObject(false), m_DataFormat(format), m_ParseDelayBuffers(eDelayBufferPolicyNotSet), m_FixMethod(x_GetFixCharsMethodDefault()), m_VerifyData(x_GetVerifyDataDefault()), m_SkipUnknown(eSerialSkipUnknown_Default), m_SkipUnknownVariants(eSerialSkipUnknown_Default), m_Fail(fNotOpen), m_Flags(fFlagNone), m_MonitorType(0), m_MemberDefault(0), m_MemberDefaultUsed(false) { } CObjectIStream::~CObjectIStream(void) { try { Close(); ResetLocalHooks(); } catch (...) { ERR_POST_X(1, "Cannot close input stream"); } } void CObjectIStream::Open(CByteSourceReader& reader) { Close(); _ASSERT(m_Fail == fNotOpen); m_Input.Open(reader); m_Fail = 0; } void CObjectIStream::OpenFromBuffer(const char* buffer, size_t size) { Close(); _ASSERT(m_Fail == fNotOpen); m_Input.Open(buffer, size); m_Fail = 0; } void CObjectIStream::Open(CByteSource& source) { CRef<CByteSourceReader> reader = source.Open(); Open(*reader); } void CObjectIStream::Open(CNcbiIstream& inStream, bool deleteInStream) { CRef<CByteSource> src = GetSource(inStream, deleteInStream); Open(*src); } void CObjectIStream::Open(CNcbiIstream& inStream, EOwnership deleteInStream) { CRef<CByteSource> src = GetSource(inStream, deleteInStream == eTakeOwnership); Open(*src); } void CObjectIStream::ResetLocalHooks(void) { CMutexGuard guard(GetTypeInfoMutex()); m_ObjectHookKey.Clear(); m_ClassMemberHookKey.Clear(); m_ChoiceVariantHookKey.Clear(); m_ObjectSkipHookKey.Clear(); m_ClassMemberSkipHookKey.Clear(); m_ChoiceVariantSkipHookKey.Clear(); } void CObjectIStream::Close(void) { if (m_Fail != fNotOpen) { m_Input.Close(); if ( m_Objects ) m_Objects->Clear(); ClearStack(); m_Fail = fNotOpen; } } CObjectIStream::TFailFlags CObjectIStream::SetFailFlags(TFailFlags flags, const char* /* message */) { TFailFlags old = m_Fail; if (flags == fNoError) { m_Fail = flags; } else { m_Fail |= flags; if ( !old && flags ) { // first fail // redundant // ERR_POST_X(2, Error << "CObjectIStream: error at "<< // GetPosition()<<": "<<GetStackTrace() << ": " << message); } } return old; } bool CObjectIStream::InGoodState(void) { if ( fail() ) { // fail flag already set return false; } else if ( m_Input.fail() ) { // IO exception thrown without setting fail flag SetFailFlags(fReadError, m_Input.GetError()); m_Input.ResetFail(); return false; } else { // ok return true; } } bool CObjectIStream::EndOfData(void) { const TFailFlags failure = fEOF | fReadError | fFormatError | fOverflow | fInvalidData | fIllegalCall | fFail | fNotOpen | fNotImplemented; if (GetFailFlags() & failure || m_Input.EndOfData()) { return true; } try { m_Input.PeekChar(); } catch (...) { return true; } return false; } void CObjectIStream::HandleEOF(CEofException& expt) { string msg(TopFrame().GetFrameInfo()); PopFrame(); if (GetStackDepth() < 2) { NCBI_RETHROW_SAME(expt,msg); } else { ThrowError(fEOF, msg); } } void CObjectIStream::Unended(const string& msg) { if ( InGoodState() ) ThrowError(fFail, msg); } void CObjectIStream::UnendedFrame(void) { Unended("internal error: unended object stack frame"); } void CObjectIStream::SetMonitorType(TTypeInfo type) { m_MonitorType = type; } void CObjectIStream::AddMonitorType(TTypeInfo type) { if (find(m_ReqMonitorType.begin(), m_ReqMonitorType.end(), type) == m_ReqMonitorType.end()) { m_ReqMonitorType.push_back(type); } } void CObjectIStream::ResetMonitorType() { m_ReqMonitorType.clear(); m_MonitorType = 0; } void CObjectIStream::x_SetPathHooks(bool set) { if (!m_PathReadObjectHooks.IsEmpty()) { CReadObjectHook* hook = m_PathReadObjectHooks.GetHook(*this); if (hook) { CTypeInfo* item = m_PathReadObjectHooks.FindType(*this); if (item) { item->SetPathReadHook(this, GetStackPath(), set ? hook : NULL); } } } if (!m_PathSkipObjectHooks.IsEmpty()) { CSkipObjectHook* hook = m_PathSkipObjectHooks.GetHook(*this); if (hook) { CTypeInfo* item = m_PathSkipObjectHooks.FindType(*this); if (item) { item->SetPathSkipHook(this, GetStackPath(), set ? hook : NULL); } } } if (!m_PathReadMemberHooks.IsEmpty()) { CReadClassMemberHook* hook = m_PathReadMemberHooks.GetHook(*this); if (hook) { CMemberInfo* item = m_PathReadMemberHooks.FindItem(*this); if (item) { item->SetPathReadHook(this, GetStackPath(), set ? hook : NULL); } } } if (!m_PathSkipMemberHooks.IsEmpty()) { CSkipClassMemberHook* hook = m_PathSkipMemberHooks.GetHook(*this); if (hook) { CMemberInfo* item = m_PathSkipMemberHooks.FindItem(*this); if (item) { item->SetPathSkipHook(this, GetStackPath(), set ? hook : NULL); } } } if (!m_PathReadVariantHooks.IsEmpty()) { CReadChoiceVariantHook* hook = m_PathReadVariantHooks.GetHook(*this); if (hook) { CVariantInfo* item = m_PathReadVariantHooks.FindItem(*this); if (item) { item->SetPathReadHook(this, GetStackPath(), set ? hook : NULL); } } } if (!m_PathSkipVariantHooks.IsEmpty()) { CSkipChoiceVariantHook* hook = m_PathSkipVariantHooks.GetHook(*this); if (hook) { CVariantInfo* item = m_PathSkipVariantHooks.FindItem(*this); if (item) { item->SetPathSkipHook(this, GetStackPath(), set ? hook : NULL); } } } } void CObjectIStream::SetPathReadObjectHook(const string& path, CReadObjectHook* hook) { m_PathReadObjectHooks.SetHook(path,hook); WatchPathHooks(); } void CObjectIStream::SetPathSkipObjectHook(const string& path, CSkipObjectHook* hook) { m_PathSkipObjectHooks.SetHook(path,hook); WatchPathHooks(); } void CObjectIStream::SetPathReadMemberHook(const string& path, CReadClassMemberHook* hook) { m_PathReadMemberHooks.SetHook(path,hook); WatchPathHooks(); } void CObjectIStream::SetPathSkipMemberHook(const string& path, CSkipClassMemberHook* hook) { m_PathSkipMemberHooks.SetHook(path,hook); WatchPathHooks(); } void CObjectIStream::SetPathReadVariantHook(const string& path, CReadChoiceVariantHook* hook) { m_PathReadVariantHooks.SetHook(path,hook); WatchPathHooks(); } void CObjectIStream::SetPathSkipVariantHook(const string& path, CSkipChoiceVariantHook* hook) { m_PathSkipVariantHooks.SetHook(path,hook); WatchPathHooks(); } void CObjectIStream::SetDelayBufferParsingPolicy(EDelayBufferParsing policy) { m_ParseDelayBuffers = policy; } CObjectIStream::EDelayBufferParsing CObjectIStream::GetDelayBufferParsingPolicy(void) const { return m_ParseDelayBuffers; } bool CObjectIStream::ShouldParseDelayBuffer(void) const { if (m_ParseDelayBuffers != eDelayBufferPolicyNotSet) { return m_ParseDelayBuffers == eDelayBufferPolicyAlwaysParse; } return !m_ObjectHookKey.IsEmpty() || !m_ClassMemberHookKey.IsEmpty() || !m_ChoiceVariantHookKey.IsEmpty() || !m_ObjectSkipHookKey.IsEmpty() || !m_ClassMemberSkipHookKey.IsEmpty() || !m_ChoiceVariantSkipHookKey.IsEmpty() || !m_PathReadObjectHooks.IsEmpty() || !m_PathSkipObjectHooks.IsEmpty() || !m_PathReadMemberHooks.IsEmpty() || !m_PathSkipMemberHooks.IsEmpty() || !m_PathReadVariantHooks.IsEmpty() || !m_PathSkipVariantHooks.IsEmpty(); } bool CObjectIStream::x_HavePathHooks() const { return (!m_PathReadObjectHooks.IsEmpty() || !m_PathSkipObjectHooks.IsEmpty() || !m_PathReadMemberHooks.IsEmpty() || !m_PathSkipMemberHooks.IsEmpty() || !m_PathReadVariantHooks.IsEmpty() || !m_PathSkipVariantHooks.IsEmpty()); } void CObjectIStream::UseMemoryPool(void) { SetMemoryPool(new CObjectMemoryPool); } string CObjectIStream::GetStackTrace(void) const { return GetStackTraceASN(); } CNcbiStreampos CObjectIStream::GetStreamOffset(void) const { return m_Input.GetStreamPos(); } CNcbiStreampos CObjectIStream::GetStreamPos(void) const { return m_Input.GetStreamPos(); } void CObjectIStream::SetStreamOffset(CNcbiStreampos pos) { m_Input.SetStreamPos(pos); } void CObjectIStream::SetStreamPos(CNcbiStreampos pos) { m_Input.SetStreamPos(pos); } string CObjectIStream::GetPosition(void) const { return "byte "+NStr::Int8ToString(NcbiStreamposToInt8(GetStreamPos())); } void CObjectIStream::ThrowError1(const CDiagCompileInfo& diag_info, TFailFlags fail, const char* message) { ThrowError1(diag_info,fail,string(message)); } void CObjectIStream::ThrowError1(const CDiagCompileInfo& diag_info, TFailFlags fail, const string& message) { CSerialException::EErrCode err; SetFailFlags(fail, message.c_str()); switch(fail) { case fNoError: CNcbiDiag(diag_info, eDiag_Trace) << ErrCode(NCBI_ERRCODE_X, 6) << message; return; case fEOF: err = CSerialException::eEOF; break; default: case fReadError: err = CSerialException::eIoError; break; case fFormatError: err = CSerialException::eFormatError; break; case fOverflow: err = CSerialException::eOverflow; break; case fInvalidData: err = CSerialException::eInvalidData; break; case fIllegalCall: err = CSerialException::eIllegalCall; break; case fFail: err = CSerialException::eFail; break; case fNotOpen: err = CSerialException::eNotOpen; break; case fMissingValue: err = CSerialException::eMissingValue; break; case fNotImplemented: err = CSerialException::eNotImplemented; break; case fNullValue: err = CSerialException::eNullValue; break; } throw CSerialException(diag_info,0,err,GetPosition()+": "+message); } static inline TTypeInfo MapType(const string& name) { return CClassTypeInfoBase::GetClassInfoByName(name); } void CObjectIStream::RegisterObject(TTypeInfo typeInfo) { if ( m_Objects ) m_Objects->RegisterObject(typeInfo); } void CObjectIStream::RegisterObject(TObjectPtr objectPtr, TTypeInfo typeInfo) { if ( m_Objects ) m_Objects->RegisterObject(objectPtr, typeInfo); } const CReadObjectInfo& CObjectIStream::GetRegisteredObject(CReadObjectInfo::TObjectIndex index) { if ( !m_Objects ) { ThrowError(fFormatError,"invalid object index: NO_COLLECT defined"); } return m_Objects->GetRegisteredObject(index); } // root reader void CObjectIStream::SkipFileHeader(TTypeInfo typeInfo) { if (!m_MonitorType) { m_MonitorType = (!x_HavePathHooks() && m_ReqMonitorType.size()==1) ? m_ReqMonitorType.front() : 0; } BEGIN_OBJECT_FRAME2(eFrameNamed, typeInfo); string name = ReadFileHeader(); const string& tname = typeInfo->GetName(); if ( !name.empty() && !tname.empty() && name != tname ) { ThrowError(fFormatError, "incompatible type "+name+"<>"+typeInfo->GetName()); } END_OBJECT_FRAME(); } void CObjectIStream::EndOfRead(void) { m_MonitorType = 0; if ( m_Objects ) m_Objects->Clear(); } set<TTypeInfo> CObjectIStream::GuessDataType(set<TTypeInfo>& known_types, size_t /*max_length*/, size_t max_bytes) { set<TTypeInfo> matching_types; string name; // save state size_t pos0 = m_Input.SetBufferLock(max_bytes); try { name = ReadFileHeader(); } catch ( ... ) { // restore state m_Input.ResetBufferLock(pos0); throw; } // restore state m_Input.ResetBufferLock(pos0); ITERATE( set<TTypeInfo>, t, known_types) { if ((*t)->GetName() == name) { matching_types.insert(*t); } } return matching_types; } void CObjectIStream::Read(const CObjectInfo& object, ENoFileHeader) { // root object BEGIN_OBJECT_FRAME2(eFrameNamed, object.GetTypeInfo()); ReadObject(object); EndOfRead(); END_OBJECT_FRAME(); } void CObjectIStream::Read(const CObjectInfo& object) { // root object SkipFileHeader(object.GetTypeInfo()); Read(object, eNoFileHeader); } void CObjectIStream::Read(TObjectPtr object, TTypeInfo typeInfo, ENoFileHeader) { // root object BEGIN_OBJECT_FRAME2(eFrameNamed, typeInfo); ReadObject(object, typeInfo); EndOfRead(); END_OBJECT_FRAME(); } void CObjectIStream::Read(TObjectPtr object, TTypeInfo typeInfo) { // root object SkipFileHeader(typeInfo); Read(object, typeInfo, eNoFileHeader); } CObjectInfo CObjectIStream::Read(TTypeInfo typeInfo) { // root object SkipFileHeader(typeInfo); CObjectInfo info(typeInfo->Create(), typeInfo); Read(info, eNoFileHeader); return info; } CObjectInfo CObjectIStream::Read(const CObjectTypeInfo& type) { return Read(type.GetTypeInfo()); } void CObjectIStream::Skip(TTypeInfo typeInfo, ENoFileHeader) { BEGIN_OBJECT_FRAME2(eFrameNamed, typeInfo); SkipObject(typeInfo); EndOfRead(); END_OBJECT_FRAME(); } void CObjectIStream::Skip(TTypeInfo typeInfo) { SkipFileHeader(typeInfo); Skip(typeInfo, eNoFileHeader); } void CObjectIStream::Skip(const CObjectTypeInfo& type) { Skip(type.GetTypeInfo()); } void CObjectIStream::StartDelayBuffer(void) { m_Input.StartSubSource(); } CRef<CByteSource> CObjectIStream::EndDelayBuffer(void) { return m_Input.EndSubSource(); } void CObjectIStream::EndDelayBuffer(CDelayBuffer& buffer, const CItemInfo* itemInfo, TObjectPtr objectPtr) { CRef<CByteSource> src = EndDelayBuffer(); buffer.SetData(itemInfo, objectPtr, GetDataFormat(), GetFlags(), *src); } bool CObjectIStream::ExpectedMember(const CMemberInfo* memberInfo) { const CItemInfo* info = CItemsInfo::FindNextMandatory(memberInfo); if (info) { if (GetVerifyData() == eSerialVerifyData_Yes) { ThrowError(fFormatError, "member "+info->GetId().ToString()+" expected"); } else { SetFailFlags(fMissingValue); ERR_POST_X(3, "member "+info->GetId().ToString()+" is missing"); } } return (info != 0); } void CObjectIStream::DuplicatedMember(const CMemberInfo* memberInfo) { ThrowError(fFormatError, "duplicate member: "+memberInfo->GetId().ToString()); } void CObjectIStream::ReadSeparateObject(const CObjectInfo& object) { if ( m_Objects ) { size_t firstObject = m_Objects->GetObjectCount(); ReadObject(object); size_t lastObject = m_Objects->GetObjectCount(); m_Objects->ForgetObjects(firstObject, lastObject); } else { ReadObject(object); } } void CObjectIStream::ReadExternalObject(TObjectPtr objectPtr, TTypeInfo typeInfo) { _TRACE("CObjectIStream::Read("<<NStr::PtrToString(objectPtr)<<", "<< typeInfo->GetName()<<")"); RegisterObject(objectPtr, typeInfo); ReadObject(objectPtr, typeInfo); } CObjectInfo CObjectIStream::ReadObject(void) { TTypeInfo typeInfo = MapType(ReadFileHeader()); TObjectPtr objectPtr = 0; BEGIN_OBJECT_FRAME2(eFrameNamed, typeInfo); CRef<CObject> ref; if ( typeInfo->IsCObject() ) { objectPtr = typeInfo->Create(GetMemoryPool()); ref.Reset(static_cast<CObject*>(objectPtr)); } else { objectPtr = typeInfo->Create(); } RegisterObject(objectPtr, typeInfo); ReadObject(objectPtr, typeInfo); if ( typeInfo->IsCObject() ) ref.Release(); END_OBJECT_FRAME(); return make_pair(objectPtr, typeInfo); } void CObjectIStream::ReadObject(const CObjectInfo& object) { ReadObject(object.GetObjectPtr(), object.GetTypeInfo()); } void CObjectIStream::SkipObject(const CObjectTypeInfo& objectType) { SkipObject(objectType.GetTypeInfo()); } void CObjectIStream::ReadClassMember(const CObjectInfo::CMemberIterator& member) { const CMemberInfo* memberInfo = member.GetMemberInfo(); TObjectPtr classPtr = member.GetClassObject().GetObjectPtr(); ReadObject(memberInfo->GetMemberPtr(classPtr), memberInfo->GetTypeInfo()); } void CObjectIStream::ReadChoiceVariant(const CObjectInfoCV& object) { const CVariantInfo* variantInfo = object.GetVariantInfo(); TObjectPtr choicePtr = object.GetChoiceObject().GetObjectPtr(); variantInfo->DefaultReadVariant(*this, choicePtr); } string CObjectIStream::ReadFileHeader(void) { // this is to check if the file is empty or not m_Input.PeekChar(); return NcbiEmptyString; } string CObjectIStream::PeekNextTypeName(void) { return NcbiEmptyString; } pair<TObjectPtr, TTypeInfo> CObjectIStream::ReadPointer(TTypeInfo declaredType) { _TRACE("CObjectIStream::ReadPointer("<<declaredType->GetName()<<")"); TObjectPtr objectPtr = 0; TTypeInfo objectType = 0; switch ( ReadPointerType() ) { case eNullPointer: _TRACE("CObjectIStream::ReadPointer: null"); return pair<TObjectPtr, TTypeInfo>((TObjectPtr)0, declaredType); case eObjectPointer: { _TRACE("CObjectIStream::ReadPointer: @..."); TObjectIndex index = ReadObjectPointer(); _TRACE("CObjectIStream::ReadPointer: @" << index); const CReadObjectInfo& info = GetRegisteredObject(index); objectType = info.GetTypeInfo(); objectPtr = info.GetObjectPtr(); if ( !objectPtr ) { ThrowError(fFormatError, "invalid reference to skipped object: object ptr is NULL"); } break; } case eThisPointer: { _TRACE("CObjectIStream::ReadPointer: new"); CRef<CObject> ref; if ( declaredType->IsCObject() ) { objectPtr = declaredType->Create(GetMemoryPool()); ref.Reset(static_cast<CObject*>(objectPtr)); } else { objectPtr = declaredType->Create(); } RegisterObject(objectPtr, declaredType); ReadObject(objectPtr, declaredType); if ( declaredType->IsCObject() ) ref.Release(); return make_pair(objectPtr, declaredType); } case eOtherPointer: { _TRACE("CObjectIStream::ReadPointer: new..."); string className = ReadOtherPointer(); _TRACE("CObjectIStream::ReadPointer: new " << className); objectType = MapType(className); BEGIN_OBJECT_FRAME2(eFrameNamed, objectType); CRef<CObject> ref; if ( objectType->IsCObject() ) { objectPtr = objectType->Create(GetMemoryPool()); ref.Reset(static_cast<CObject*>(objectPtr)); } else { objectPtr = objectType->Create(); } RegisterObject(objectPtr, objectType); ReadObject(objectPtr, objectType); if ( objectType->IsCObject() ) ref.Release(); END_OBJECT_FRAME(); ReadOtherPointerEnd(); break; } default: ThrowError(fFormatError,"illegal pointer type"); objectPtr = 0; objectType = 0; break; } while ( objectType != declaredType ) { // try to check parent class pointer if ( objectType->GetTypeFamily() != eTypeFamilyClass ) { ThrowError(fFormatError,"incompatible member type"); } const CClassTypeInfo* parentClass = CTypeConverter<CClassTypeInfo>::SafeCast(objectType)->GetParentClassInfo(); if ( parentClass ) { objectType = parentClass; } else { ThrowError(fFormatError,"incompatible member type"); } } return make_pair(objectPtr, objectType); } void CObjectIStream::ReadOtherPointerEnd(void) { } void CObjectIStream::SkipExternalObject(TTypeInfo typeInfo) { _TRACE("CObjectIStream::SkipExternalObject("<<typeInfo->GetName()<<")"); RegisterObject(typeInfo); SkipObject(typeInfo); } void CObjectIStream::SkipPointer(TTypeInfo declaredType) { _TRACE("CObjectIStream::SkipPointer("<<declaredType->GetName()<<")"); switch ( ReadPointerType() ) { case eNullPointer: _TRACE("CObjectIStream::SkipPointer: null"); return; case eObjectPointer: { _TRACE("CObjectIStream::SkipPointer: @..."); TObjectIndex index = ReadObjectPointer(); _TRACE("CObjectIStream::SkipPointer: @" << index); GetRegisteredObject(index); break; } case eThisPointer: { _TRACE("CObjectIStream::ReadPointer: new"); RegisterObject(declaredType); SkipObject(declaredType); break; } case eOtherPointer: { _TRACE("CObjectIStream::ReadPointer: new..."); string className = ReadOtherPointer(); _TRACE("CObjectIStream::ReadPointer: new " << className); TTypeInfo typeInfo = MapType(className); BEGIN_OBJECT_FRAME2(eFrameNamed, typeInfo); RegisterObject(typeInfo); SkipObject(typeInfo); END_OBJECT_FRAME(); ReadOtherPointerEnd(); break; } default: ThrowError(fFormatError,"illegal pointer type"); } } void CObjectIStream::BeginNamedType(TTypeInfo /*namedTypeInfo*/) { } void CObjectIStream::EndNamedType(void) { } void CObjectIStream::ReadNamedType(TTypeInfo #ifndef VIRTUAL_MID_LEVEL_IO namedTypeInfo #endif , TTypeInfo typeInfo, TObjectPtr object) { #ifndef VIRTUAL_MID_LEVEL_IO BEGIN_OBJECT_FRAME2(eFrameNamed, namedTypeInfo); BeginNamedType(namedTypeInfo); #endif ReadObject(object, typeInfo); #ifndef VIRTUAL_MID_LEVEL_IO EndNamedType(); END_OBJECT_FRAME(); #endif } void CObjectIStream::SkipNamedType(TTypeInfo namedTypeInfo, TTypeInfo typeInfo) { BEGIN_OBJECT_FRAME2(eFrameNamed, namedTypeInfo); BeginNamedType(namedTypeInfo); SkipObject(typeInfo); EndNamedType(); END_OBJECT_FRAME(); } void CObjectIStream::EndContainerElement(void) { } void CObjectIStream::ReadContainer(const CContainerTypeInfo* containerType, TObjectPtr containerPtr) { BEGIN_OBJECT_FRAME2(eFrameArray, containerType); BeginContainer(containerType); TTypeInfo elementType = containerType->GetElementType(); BEGIN_OBJECT_FRAME2(eFrameArrayElement, elementType); CContainerTypeInfo::CIterator iter; bool old_element = containerType->InitIterator(iter, containerPtr); while ( BeginContainerElement(elementType) ) { if ( old_element ) { elementType->ReadData(*this, containerType->GetElementPtr(iter)); old_element = containerType->NextElement(iter); } else { containerType->AddElement(containerPtr, *this); } EndContainerElement(); } if ( old_element ) { containerType->EraseAllElements(iter); } END_OBJECT_FRAME(); EndContainer(); END_OBJECT_FRAME(); } void CObjectIStream::SkipContainer(const CContainerTypeInfo* containerType) { BEGIN_OBJECT_FRAME2(eFrameArray, containerType); BeginContainer(containerType); TTypeInfo elementType = containerType->GetElementType(); BEGIN_OBJECT_FRAME2(eFrameArrayElement, elementType); while ( BeginContainerElement(elementType) ) { SkipObject(elementType); EndContainerElement(); } END_OBJECT_FRAME(); EndContainer(); END_OBJECT_FRAME(); } void CObjectIStream::EndClass(void) { } void CObjectIStream::EndClassMember(void) { } void CObjectIStream::ReadClassRandom(const CClassTypeInfo* classType, TObjectPtr classPtr) { BEGIN_OBJECT_FRAME3(eFrameClass, classType, classPtr); BeginClass(classType); ReadClassRandomContentsBegin(classType); TMemberIndex index; while ( (index = BeginClassMember(classType)) != kInvalidMember ) { ReadClassRandomContentsMember(classPtr); EndClassMember(); } ReadClassRandomContentsEnd(); EndClass(); END_OBJECT_FRAME(); } void CObjectIStream::ReadClassSequential(const CClassTypeInfo* classType, TObjectPtr classPtr) { TMemberIndex prevIndex = kInvalidMember; BEGIN_OBJECT_FRAME3(eFrameClass, classType, classPtr); BeginClass(classType); ReadClassSequentialContentsBegin(classType); TMemberIndex index; while ( (index = BeginClassMember(classType, *pos)) != kInvalidMember ) { if ((prevIndex != kInvalidMember) && (prevIndex >= index)) { const CMemberInfo *mem_info = classType->GetMemberInfo(index); if (mem_info->GetId().HaveNoPrefix()) { UndoClassMember(); break; } } prevIndex = index; ReadClassSequentialContentsMember(classPtr); EndClassMember(); } ReadClassSequentialContentsEnd(classPtr); EndClass(); END_OBJECT_FRAME(); } void CObjectIStream::SkipClassRandom(const CClassTypeInfo* classType) { BEGIN_OBJECT_FRAME2(eFrameClass, classType); BeginClass(classType); SkipClassRandomContentsBegin(classType); TMemberIndex index; while ( (index = BeginClassMember(classType)) != kInvalidMember ) { SkipClassRandomContentsMember(); EndClassMember(); } SkipClassRandomContentsEnd(); EndClass(); END_OBJECT_FRAME(); } void CObjectIStream::SkipClassSequential(const CClassTypeInfo* classType) { BEGIN_OBJECT_FRAME2(eFrameClass, classType); BeginClass(classType); SkipClassSequentialContentsBegin(classType); TMemberIndex index; while ( (index = BeginClassMember(classType, *pos)) != kInvalidMember ) { SkipClassSequentialContentsMember(); EndClassMember(); } SkipClassSequentialContentsEnd(); EndClass(); END_OBJECT_FRAME(); } void CObjectIStream::BeginChoice(const CChoiceTypeInfo* /*choiceType*/) { } void CObjectIStream::EndChoice(void) { } void CObjectIStream::EndChoiceVariant(void) { } void CObjectIStream::ReadChoiceSimple(const CChoiceTypeInfo* choiceType, TObjectPtr choicePtr) { BEGIN_OBJECT_FRAME3(eFrameChoice, choiceType, choicePtr); BeginChoice(choiceType); BEGIN_OBJECT_FRAME(eFrameChoiceVariant); TMemberIndex index = BeginChoiceVariant(choiceType); _ASSERT(index != kInvalidMember); const CVariantInfo* variantInfo = choiceType->GetVariantInfo(index); SetTopMemberId(variantInfo->GetId()); variantInfo->ReadVariant(*this, choicePtr); EndChoiceVariant(); END_OBJECT_FRAME(); EndChoice(); END_OBJECT_FRAME(); } void CObjectIStream::SkipChoiceSimple(const CChoiceTypeInfo* choiceType) { BEGIN_OBJECT_FRAME2(eFrameChoice, choiceType); BeginChoice(choiceType); BEGIN_OBJECT_FRAME(eFrameChoiceVariant); TMemberIndex index = BeginChoiceVariant(choiceType); if ( index == kInvalidMember ) ThrowError(fFormatError,"choice variant id expected"); const CVariantInfo* variantInfo = choiceType->GetVariantInfo(index); SetTopMemberId(variantInfo->GetId()); variantInfo->SkipVariant(*this); EndChoiceVariant(); END_OBJECT_FRAME(); EndChoice(); END_OBJECT_FRAME(); } void CObjectIStream::ReadAlias(const CAliasTypeInfo* aliasType, TObjectPtr aliasPtr) { ReadNamedType(aliasType, aliasType->GetPointedType(), aliasType->GetDataPtr(aliasPtr)); } void CObjectIStream::SkipAlias(const CAliasTypeInfo* aliasType) { SkipNamedType(aliasType, aliasType->GetPointedType()); } /////////////////////////////////////////////////////////////////////// // // CObjectIStream::ByteBlock // CObjectIStream::ByteBlock::ByteBlock(CObjectIStream& in) : m_Stream(in), m_KnownLength(false), m_Ended(false), m_Length(1) { in.BeginBytes(*this); } CObjectIStream::ByteBlock::~ByteBlock(void) { if ( !m_Ended ) { try { GetStream().Unended("byte block not fully read"); } catch (...) { ERR_POST_X(4, "unended byte block"); } } } void CObjectIStream::ByteBlock::End(void) { _ASSERT(!m_Ended); if ( m_Length == 0 ) { GetStream().EndBytes(*this); m_Ended = true; } } size_t CObjectIStream::ByteBlock::Read(void* dst, size_t needLength, bool forceLength) { size_t length; if ( KnownLength() ) { if ( m_Length < needLength ) length = m_Length; else length = needLength; } else { if ( m_Length == 0 ) length = 0; else length = needLength; } if ( length == 0 ) { if ( forceLength && needLength != 0 ) GetStream().ThrowError(fReadError, "read fault"); return 0; } length = GetStream().ReadBytes(*this, static_cast<char*>(dst), length); if ( KnownLength() ) m_Length -= length; if ( forceLength && needLength != length ) GetStream().ThrowError(fReadError, "read fault"); return length; } /////////////////////////////////////////////////////////////////////// // // CObjectIStream::CharBlock // CObjectIStream::CharBlock::CharBlock(CObjectIStream& in) : m_Stream(in), m_KnownLength(false), m_Ended(false), m_Length(1) { in.BeginChars(*this); } CObjectIStream::CharBlock::~CharBlock(void) { if ( !m_Ended ) { try { GetStream().Unended("char block not fully read"); } catch (...) { ERR_POST_X(5, "unended char block"); } } } void CObjectIStream::CharBlock::End(void) { _ASSERT(!m_Ended); if ( m_Length == 0 ) { GetStream().EndChars(*this); m_Ended = true; } } size_t CObjectIStream::CharBlock::Read(char* dst, size_t needLength, bool forceLength) { size_t length; if ( KnownLength() ) { if ( m_Length < needLength ) length = m_Length; else length = needLength; } else { if ( m_Length == 0 ) length = 0; else length = needLength; } if ( length == 0 ) { if ( forceLength && needLength != 0 ) GetStream().ThrowError(fReadError, "read fault"); return 0; } length = GetStream().ReadChars(*this, dst, length); if ( KnownLength() ) m_Length -= length; if ( forceLength && needLength != length ) GetStream().ThrowError(fReadError, "read fault"); return length; } void CObjectIStream::EndBytes(const ByteBlock& /*b*/) { } void CObjectIStream::EndChars(const CharBlock& /*b*/) { } Int1 CObjectIStream::ReadInt1(void) { Int4 data = ReadInt4(); Int1 ret = Int1(data); if ( ret != data ) ThrowError(fOverflow, "integer overflow"); return ret; } Uint1 CObjectIStream::ReadUint1(void) { Uint4 data = ReadUint4(); Uint1 ret = Uint1(data); if ( ret != data ) ThrowError(fOverflow, "integer overflow"); return ret; } Int2 CObjectIStream::ReadInt2(void) { Int4 data = ReadInt4(); Int2 ret = Int2(data); if ( ret != data ) ThrowError(fOverflow, "integer overflow"); return ret; } Uint2 CObjectIStream::ReadUint2(void) { Uint4 data = ReadUint4(); Uint2 ret = Uint2(data); if ( ret != data ) ThrowError(fOverflow, "integer overflow"); return ret; } Int4 CObjectIStream::ReadInt4(void) { Int8 data = ReadInt8(); Int4 ret = Int4(data); if ( ret != data ) ThrowError(fOverflow, "integer overflow"); return ret; } Uint4 CObjectIStream::ReadUint4(void) { Uint8 data = ReadUint8(); Uint4 ret = Uint4(data); if ( ret != data ) ThrowError(fOverflow, "integer overflow"); return ret; } float CObjectIStream::ReadFloat(void) { double data = ReadDouble(); #if defined(FLT_MIN) && defined(FLT_MAX) if ( data < FLT_MIN || data > FLT_MAX ) ThrowError(fOverflow, "float overflow"); #endif return float(data); } #if SIZEOF_LONG_DOUBLE != 0 long double CObjectIStream::ReadLDouble(void) { return ReadDouble(); } #endif char* CObjectIStream::ReadCString(void) { string s; ReadString(s); return strdup(s.c_str()); } void CObjectIStream::ReadStringStore(string& s) { ReadString(s); } void CObjectIStream::ReadPackedString(string& s, CPackString& pack_string, EStringType type) { ReadString(s, type); pack_string.Pack(s); } void CObjectIStream::SkipInt1(void) { SkipSNumber(); } void CObjectIStream::SkipUint1(void) { SkipUNumber(); } void CObjectIStream::SkipInt2(void) { SkipSNumber(); } void CObjectIStream::SkipUint2(void) { SkipUNumber(); } void CObjectIStream::SkipInt4(void) { SkipSNumber(); } void CObjectIStream::SkipUint4(void) { SkipUNumber(); } void CObjectIStream::SkipInt8(void) { SkipSNumber(); } void CObjectIStream::SkipUint8(void) { SkipUNumber(); } void CObjectIStream::SkipFloat(void) { SkipFNumber(); } void CObjectIStream::SkipDouble(void) { SkipFNumber(); } #if SIZEOF_LONG_DOUBLE != 0 void CObjectIStream::SkipLDouble(void) { SkipFNumber(); } #endif void CObjectIStream::SkipCString(void) { SkipString(); } void CObjectIStream::SkipStringStore(void) { SkipString(); } void CObjectIStream::SkipAnyContentVariant(void) { SkipAnyContentObject(); } void CObjectIStream::ReadCompressedBitString(CBitString& obj) { ByteBlock bl(*this); vector<unsigned char> v; unsigned char buf[2048]; size_t count; while ( (count = bl.Read(buf, sizeof(buf))) != 0 ) { v.insert(v.end(), buf, buf + count); } bm::deserialize(obj, reinterpret_cast<const unsigned char*>(&v.front())); bl.End(); } char ReplaceVisibleChar(char c, EFixNonPrint fix_method, const CObjectStack* io, const string& str) { _ASSERT(fix_method != eFNP_Allow); if ( fix_method != eFNP_Replace ) { string message; if (io != NULL) { message += io->GetStackTrace() + "\n"; } message += "Bad char [0x" + NStr::NumericToString((unsigned char)c,0,16)+ "] in string"; if (io != NULL) { message += " at " + io->GetPosition(); } if (!str.empty()) { message += "\n" + str; } switch (fix_method) { case eFNP_ReplaceAndWarn: CNcbiDiag(eDiag_Error, eDPF_Default) << ErrCode(NCBI_ERRCODE_X, 7) << message << Endm; break; case eFNP_Throw: NCBI_THROW(CSerialException,eFormatError,message); case eFNP_Abort: CNcbiDiag(eDiag_Fatal, eDPF_Default) << ErrCode(NCBI_ERRCODE_X, 8) << message << Endm; break; default: break; } } return '#'; } void CObjectIStream::SetCanceledCallback(const ICanceled* callback) { m_Input.SetCanceledCallback(callback); } TObjectPtr CObjectIStream::GetParentObjectPtr(TTypeInfo type, size_t max_depth, size_t min_depth) const { for ( size_t i = 1, depth = 0, size = GetStackDepth(); i < size; ++i ) { const TFrame& frame = FetchFrameFromTop(i); if ( frame.GetFrameType() == TFrame::eFrameClass || frame.GetFrameType() == TFrame::eFrameChoice ) { if ( depth >= min_depth && frame.HasTypeInfo(type) ) { return const_cast<TObjectPtr>(frame.GetObjectPtr()); } if ( ++depth > max_depth ) { break; } } } return 0; } END_NCBI_SCOPE
[ "jackgopack4@gmail.com" ]
jackgopack4@gmail.com
a6f8a6983a7bb83833c001a72e74c94be717fbdc
c8b7fea80cb77a20dba889d7c3b90fd192c878a4
/modules/dbgfmts/dwarf/DwarfDebug.h
84c0bdc3a73f8a117766bf4796948944b4d28c54
[]
no_license
PeterJohnson/yasm-nextgen
b870244740f0507dbdd02bd99aa2f0ebd3731726
de173dcbd49575f1714f2f16347dbb59bc38a9f4
refs/heads/master
2020-04-08T20:37:38.333729
2011-06-22T05:52:28
2011-06-22T05:52:28
1,501,974
7
1
null
null
null
null
UTF-8
C++
false
false
10,399
h
#ifndef YASM_DWARFDEBUG_H #define YASM_DWARFDEBUG_H // // DWARF debugging format // // Copyright (C) 2006-2007 Peter Johnson // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND OTHER CONTRIBUTORS ``AS IS'' // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS BE // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. // #include <vector> #include "yasmx/Basic/SourceLocation.h" #include "yasmx/Config/export.h" #include "yasmx/DebugFormat.h" #include "yasmx/Location.h" #include "yasmx/SymbolRef.h" #define WITH_DWARF3 1 #include "DwarfCfi.h" #include "DwarfTypes.h" namespace yasm { class BytecodeContainer; class DirectiveInfo; class FileEntry; class Section; namespace dbgfmt { struct DwarfLoc; struct DwarfLineState; class YASM_STD_EXPORT DwarfDebug : public DebugFormat { public: DwarfDebug(const DebugFormatModule& module, Object& object); ~DwarfDebug(); static llvm::StringRef getName() { return "DWARF debugging format"; } static llvm::StringRef getKeyword() { return "dwarf"; } static bool isOkObject(Object& object) { return true; } void AddDirectives(Directives& dirs, llvm::StringRef parser); void Generate(ObjectFormat& objfmt, SourceManager& smgr, Diagnostic& diags); struct Filename { std::string pathname; // full filename std::string filename; // basename of full filename // index into directories array for relative path; // 0 for current directory. unsigned long dir; unsigned long time; unsigned long length; }; bool gotFile() { return !m_filenames.empty(); } protected: void AddCfiDirectives(Directives& dirs, llvm::StringRef parser); void GenerateCfi(ObjectFormat& objfmt, SourceManager& smgr, Diagnostic& diags); void AddDebugDirectives(Directives& dirs, llvm::StringRef parser); void GenerateDebug(ObjectFormat& objfmt, SourceManager& smgr, Diagnostic& diags); private: friend class DwarfCfiCie; friend class DwarfCfiFde; friend class DwarfCfiInsn; ObjectFormat* m_objfmt; Diagnostic* m_diags; typedef std::vector<std::string> Dirs; Dirs m_dirs; typedef std::vector<Filename> Filenames; Filenames m_filenames; enum Format { FORMAT_32BIT, FORMAT_64BIT }; Format m_format; unsigned int m_sizeof_address, m_sizeof_offset, m_min_insn_len; // CFI FDEs typedef stdx::ptr_vector<DwarfCfiFde> FDEs; FDEs m_fdes; stdx::ptr_vector_owner<DwarfCfiFde> m_fdes_owner; // CFI directive state DwarfCfiFde* m_cur_fde; Location m_last_address; IntNum m_cfa_cur_offset; std::vector<IntNum> m_cfa_stack; // CFI sections to emit bool m_eh_frame; bool m_debug_frame; // CFI architecture-specific settings int m_cie_data_alignment; unsigned int m_default_return_column; void (*m_frame_initial_instructions) (DwarfCfiFde& fde); unsigned int m_fde_reloc_size; // Initialize CFI settings void InitCfi(Arch& arch); // Line number directives void DirLoc(DirectiveInfo& info, Diagnostic& diags); void DirFile(DirectiveInfo& info, Diagnostic& diags); // CFI directives void DirCfiStartproc(DirectiveInfo& info, Diagnostic& diags); void DirCfiEndproc(DirectiveInfo& info, Diagnostic& diags); void DirCfiSections(DirectiveInfo& info, Diagnostic& diags); void DirCfiPersonality(DirectiveInfo& info, Diagnostic& diags); void DirCfiLsda(DirectiveInfo& info, Diagnostic& diags); void DirCfiDefCfa(DirectiveInfo& info, Diagnostic& diags); void DirCfiDefCfaRegister(DirectiveInfo& info, Diagnostic& diags); void DirCfiDefCfaOffset(DirectiveInfo& info, Diagnostic& diags); void DirCfiAdjustCfaOffset(DirectiveInfo& info, Diagnostic& diags); void DirCfiOffset(DirectiveInfo& info, Diagnostic& diags); void DirCfiRelOffset(DirectiveInfo& info, Diagnostic& diags); void DirCfiRegister(DirectiveInfo& info, Diagnostic& diags); void DirCfiRestore(DirectiveInfo& info, Diagnostic& diags); void DirCfiUndefined(DirectiveInfo& info, Diagnostic& diags); void DirCfiSameValue(DirectiveInfo& info, Diagnostic& diags); void DirCfiRememberState(DirectiveInfo& info, Diagnostic& diags); void DirCfiRestoreState(DirectiveInfo& info, Diagnostic& diags); void DirCfiReturnColumn(DirectiveInfo& info, Diagnostic& diags); void DirCfiSignalFrame(DirectiveInfo& info, Diagnostic& diags); void DirCfiWindowSave(DirectiveInfo& info, Diagnostic& diags); void DirCfiEscape(DirectiveInfo& info, Diagnostic& diags); void DirCfiValEncodedAddr(DirectiveInfo& info, Diagnostic& diags); // CFI directive helpers bool DirCheck(DirectiveInfo& info, Diagnostic& diags, unsigned int nargs); void DirRegNum(NameValue& nv, Diagnostic& diags, Object* obj, unsigned int* out, bool* out_set); void AdvanceCfiAddress(Location loc, SourceLocation source); // Generate CFI section. void GenerateCfiSection(ObjectFormat& ofmt, Diagnostic& diags, llvm::StringRef sectname, bool eh_frame); /// Generate .debug_line section. Section& Generate_line(SourceManager& smgr, bool asm_source, /*@out@*/ Section** main_code, /*@out@*/ size_t* num_line_sections); void AppendLineOp(BytecodeContainer& container, unsigned int opcode); void AppendLineOp(BytecodeContainer& container, unsigned int opcode, const IntNum& operand); void AppendLineExtOp(BytecodeContainer& container, DwarfLineNumberExtOp ext_opcode); void AppendLineExtOp(BytecodeContainer& container, DwarfLineNumberExtOp ext_opcode, const IntNum& operand); void AppendLineExtOp(BytecodeContainer& container, DwarfLineNumberExtOp ext_opcode, unsigned long ext_operandsize, SymbolRef ext_operand); void GenerateLineSection(Section& sect, Section& debug_line, SourceManager& smgr, bool asm_source, Section** last_code, size_t* num_line_sections); void GenerateLineOp(Section& debug_line, DwarfLineState* state, const DwarfLoc& loc, const DwarfLoc* nextloc); void GenerateLineBC(Section& debug_line, SourceManager& smgr, DwarfLineState* state, Bytecode& bc, DwarfLoc* loc, unsigned long* lastfile); /// Append statement program prologue void AppendSPP(BytecodeContainer& container); /// Generate .debug_aranges section (address range table). Section& Generate_aranges(Section& debug_info); #if 0 /// Generate .debug_pubnames section (name lookup table). Section& Generate_pubnames(Section& debug_info); #endif /// Generate .debug_info section. Section& Generate_info(Section& debug_line, /*@null@*/ Section* main_code); /// Append a debug header. /// @return The location of the aranges length field (used by setHeadLength). Location AppendHead(Section& sect, /*@null@*/ Section* debug_ptr, bool with_address, bool with_segment); /// Set the header length based on a tail location. /// @note head and tail must be in the same section. /// @param head location returned by AppendHead(). /// @param tail end of data void setHeadEnd(Location head, Location tail); size_t AddFile(unsigned long filenum, llvm::StringRef pathname); size_t AddFile(const FileEntry* file); unsigned long AddDir(llvm::StringRef dirname); }; class YASM_STD_EXPORT DwarfPassDebug : public DwarfDebug { public: DwarfPassDebug(const DebugFormatModule& module, Object& object) : DwarfDebug(module, object) {} ~DwarfPassDebug(); static llvm::StringRef getName() { return "DWARF passthrough only"; } static llvm::StringRef getKeyword() { return "dwarfpass"; } static bool isOkObject(Object& object) { return true; } void Generate(ObjectFormat& objfmt, SourceManager& smgr, Diagnostic& diags); }; class YASM_STD_EXPORT ElfCfiDebug : public DwarfDebug { public: ElfCfiDebug(const DebugFormatModule& module, Object& object) : DwarfDebug(module, object) {} ~ElfCfiDebug(); static llvm::StringRef getName() { return "ELF CFI information only"; } static llvm::StringRef getKeyword() { return "elfcfi"; } static bool isOkObject(Object& object) { return true; } void AddDirectives(Directives& dirs, llvm::StringRef parser); void Generate(ObjectFormat& objfmt, SourceManager& smgr, Diagnostic& diags); }; }} // namespace yasm::dbgfmt #endif
[ "peter@tortall.net" ]
peter@tortall.net
9219e6298261798b9ab26e58e8f2b7cdde693617
9f443b8dd5ebf3ba8852659788672a9c07d76640
/Code/max/Algorithms/CountZeroes.inl
6f6be7e153f04a1988b28fd3710034ff9d3d3920
[]
permissive
ProgramMax/max
8cbd527f4a00a4b80b9388e8a1a3454ac8ae200a
799239f19a87457eddbd3849439988da4a3e9a87
refs/heads/tip-of-tree
2023-08-24T20:21:57.453415
2023-08-14T07:04:59
2023-08-14T07:04:59
44,238,865
1
1
BSD-3-Clause
2023-08-14T07:05:01
2015-10-14T09:50:21
C++
UTF-8
C++
false
false
95,573
inl
// Copyright 2015, The max Contributors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <max/Compiling/Configuration.hpp> #include <max/Compiling/Polyfills/IsConstantEvaluated.hpp> #include <max/Compiling/Assume.hpp> #if defined( MAX_COMPILER_VC ) #include <stdlib.h> #include <intrin.h> #endif #include <iostream> namespace max { namespace v0 { namespace Algorithms { namespace ImplementationDetails { MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit0( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit1( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit2( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit3( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit4( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit5( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit6( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit7( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit8( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit9( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit10( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit11( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit12( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit13( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit14( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit15( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit16( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit17( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit18( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit19( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit20( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit21( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit22( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit23( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit24( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit25( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit26( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit27( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit28( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit29( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit30( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit31( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit32( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit33( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit34( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit35( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit36( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit37( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit38( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit39( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit40( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit41( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit42( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit43( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit44( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit45( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit46( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit47( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit48( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit49( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit50( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit51( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit52( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit53( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit54( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit55( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit56( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit57( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit58( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit59( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit60( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit61( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit62( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit63( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit0( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit1( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit2( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit3( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit4( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit5( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit6( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit7( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit8( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit9( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit10( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit11( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit12( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit13( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit14( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit15( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit16( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit17( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit18( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit19( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit20( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit21( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit22( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit23( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit24( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit25( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit26( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit27( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit28( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit29( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit30( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit31( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit0( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit1( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit2( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit3( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit4( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit5( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit6( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit7( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit8( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit9( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit10( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit11( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit12( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit13( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit14( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit15( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit0( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit1( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit2( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit3( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit4( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit5( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit6( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit7( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit0( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit1( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit2( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit3( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit4( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit5( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit6( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit7( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit8( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit9( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit10( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit11( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit12( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit13( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit14( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit15( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit16( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit17( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit18( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit19( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit20( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit21( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit22( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit23( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit24( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit25( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit26( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit27( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit28( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit29( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit30( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit31( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit32( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit33( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit34( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit35( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit36( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit37( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit38( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit39( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit40( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit41( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit42( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit43( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit44( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit45( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit46( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit47( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit48( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit49( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit50( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit51( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit52( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit53( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit54( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit55( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit56( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit57( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit58( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit59( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit60( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit61( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit62( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit63( const uint64_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit0( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit1( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit2( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit3( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit4( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit5( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit6( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit7( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit8( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit9( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit10( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit11( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit12( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit13( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit14( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit15( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit16( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit17( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit18( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit19( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit20( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit21( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit22( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit23( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit24( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit25( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit26( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit27( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit28( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit29( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit30( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit31( const uint32_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit0( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit1( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit2( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit3( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit4( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit5( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit6( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit7( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit8( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit9( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit10( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit11( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit12( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit13( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit14( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit15( const uint16_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit0( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit1( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit2( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit3( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit4( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit5( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit6( const uint8_t Mask ) noexcept ); MAX_PURE_DECLARATION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit7( const uint8_t Mask ) noexcept ); } // namespace ImplementationDetails MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline uint64_t CountTrailingZeroes( const uint64_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountTrailingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< uint64_t >( __builtin_ctzll( Value ) ); #elif defined( MAX_COMPILER_VC ) && defined( MAX_X86_64 ) unsigned long Position = 0; _BitScanForward64( &Position, Value ); return Position; #else return ImplementationDetails::CheckTrailingBit0( Value ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline uint32_t CountTrailingZeroes( const uint32_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountTrailingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< uint32_t >( __builtin_ctz( Value ) ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanForward( &Position, Value ); return Position; #else return ImplementationDetails::ChecTrailingkBit0( Value ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline uint16_t CountTrailingZeroes( const uint16_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountTrailingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< uint16_t >( __builtin_ctz( Value ) ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanForward( &Position, static_cast< unsigned long >( Value ) ); return static_cast< uint16_t >( Position ); #else return ImplementationDetails::CheckTrailingBit0( Value ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline uint8_t CountTrailingZeroes( const uint8_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountTrailingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< uint8_t >( __builtin_ctz( Value ) ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanForward( &Position, static_cast< unsigned long >( Value ) ); return static_cast< uint8_t >( Position ); #else return ImplementationDetails::CheckTrailingBit0( Value ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline int64_t CountTrailingZeroes( const int64_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountTrailingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return __builtin_ctzll( static_cast< uint64_t >( Value ) ); #elif defined( MAX_COMPILER_VC ) && defined( MAX_X86_64 ) unsigned long Position = 0; _BitScanForward64( &Position, static_cast< uint64_t >( Value ) ); return Position; #else return ImplementationDetails::CheckTrailingBit0( static_cast< const uint64_t >( Value ) ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline int32_t CountTrailingZeroes( const int32_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountTrailingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return __builtin_ctz( static_cast< uint32_t >( Value ) ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanForward( &Position, static_cast< unsigned long >( Value ) ); return Position; #else return ImplementationDetails::CheckTrailingBit0( static_cast< const uint32_t >( Value ) ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline int16_t CountTrailingZeroes( const int16_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountTrailingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< int16_t >( __builtin_ctz( static_cast< uint16_t >( Value ) ) ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanForward( &Position, static_cast< unsigned long >( Value ) ); return static_cast< int16_t >( Position ); #else return ImplementationDetails::CheckTrailingBit0( static_cast< const uint16_t >( Value ) ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline int8_t CountTrailingZeroes( const int8_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountTrailingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< int8_t >( __builtin_ctz( static_cast< uint8_t >( Value ) ) ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanForward( &Position, static_cast< unsigned long >( Value ) ); return static_cast< int8_t >( Position ); #else return ImplementationDetails::CheckTrailingBit0( static_cast< const uint8_t >( Value ) ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline uint64_t CountLeadingZeroes( const uint64_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountLeadingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< uint64_t >( __builtin_clzll( Value ) ); #elif defined( MAX_COMPILER_VC ) && defined( MAX_X86_64 ) unsigned long Position = 0; _BitScanReverse64( &Position, Value ); MAX_ASSUME( Position <= 63 ); return 63 - static_cast< uint64_t >( Position ); #else return ImplementationDetails::CheckLeadingBit63( Value ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline uint32_t CountLeadingZeroes( const uint32_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountLeadingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< uint32_t >( __builtin_clz( Value ) ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanReverse( &Position, Value ); MAX_ASSUME( Position <= 31 ); return 31 - Position; #else return ImplementationDetails::CheckLeadingBit31( Value ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline uint16_t CountLeadingZeroes( const uint16_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountLeadingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< uint16_t >( __builtin_clz( Value ) - 16 ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanReverse( &Position, static_cast< unsigned long >( Value ) ); MAX_ASSUME( Position <= 15 ); return 15 - static_cast< uint16_t >( Position ); #else return ImplementationDetails::CheckLeadingBit15( Value ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline uint8_t CountLeadingZeroes( const uint8_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountLeadingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< uint8_t >( __builtin_clz( Value ) - 24 ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanReverse( &Position, static_cast< unsigned long >( Value ) ); MAX_ASSUME( Position <= 7 ); return 7 - static_cast< uint8_t >( Position ); #else return ImplementationDetails::CheckLeadingBit7( Value ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline int64_t CountLeadingZeroes( const int64_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountLeadingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return __builtin_clzll( static_cast< uint64_t >( Value ) ); #elif defined( MAX_COMPILER_VC ) && defined( MAX_X86_64 ) unsigned long Position = 0; _BitScanReverse64( &Position, static_cast< uint64_t >( Value ) ); MAX_ASSUME( Position < 64 ); return 63 - static_cast< int64_t >( Position ); #else return ImplementationDetails::CheckLeadingBit63( static_cast< const uint64_t >( Value ) ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline int32_t CountLeadingZeroes( const int32_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountLeadingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return __builtin_clz( static_cast< uint32_t >( Value ) ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanReverse( &Position, static_cast< unsigned long >( Value ) ); MAX_ASSUME( Position <= 31 ); return 31 - Position; #else return ImplementationDetails::CheckLeadingBit31( static_cast< const uint32_t >( Value ) ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline int16_t CountLeadingZeroes( const int16_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountLeadingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< int16_t >( __builtin_clz( static_cast< uint16_t >( Value ) ) - 16 ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanReverse( &Position, static_cast< uint16_t >( Value ) ); MAX_ASSUME( Position <= 15 ); return 15 - static_cast< int16_t >( Position ); #else return ImplementationDetails::CheckLeadingBit15( static_cast< const uint16_t >( Value ) ); #endif } } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEXPR inline int8_t CountLeadingZeroes( const int8_t Value ) noexcept ) { if( max::Compiling::Polyfills::IsConstantEvaluated() ) { return CountLeadingZeroesCompileTime( Value ); } else { #if defined( MAX_COMPILER_CLANG ) || defined( MAX_COMPILER_GCC ) return static_cast< int8_t >( __builtin_clz( static_cast< uint8_t >( Value ) ) - 24 ); #elif defined( MAX_COMPILER_VC ) unsigned long Position = 0; _BitScanReverse( &Position, static_cast< uint8_t >( Value ) ); MAX_ASSUME( Position <= 7 ); return 7 - static_cast< int8_t >( Position ); #else return ImplementationDetails::CheckLeadingBit7( static_cast< const uint8_t >( Value ) ); #endif } } // These functions will continue a call chain until all bits are checked. MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint64_t CountTrailingZeroesCompileTime( const uint64_t Value ) noexcept ) { return ImplementationDetails::CheckTrailingBit0( Value ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint32_t CountTrailingZeroesCompileTime( const uint32_t Value ) noexcept ) { return ImplementationDetails::CheckTrailingBit0( Value ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint16_t CountTrailingZeroesCompileTime( const uint16_t Value ) noexcept ) { return ImplementationDetails::CheckTrailingBit0( Value ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CountTrailingZeroesCompileTime( const uint8_t Value ) noexcept ) { return ImplementationDetails::CheckTrailingBit0( Value ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline int64_t CountTrailingZeroesCompileTime( const int64_t Value ) noexcept ) { return ImplementationDetails::CheckTrailingBit0( static_cast< uint64_t >( Value ) ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline int32_t CountTrailingZeroesCompileTime( const int32_t Value ) noexcept ) { return ImplementationDetails::CheckTrailingBit0( static_cast< uint32_t >( Value ) ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline int16_t CountTrailingZeroesCompileTime( const int16_t Value ) noexcept ) { return ImplementationDetails::CheckTrailingBit0( static_cast< uint16_t >( Value ) ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline int8_t CountTrailingZeroesCompileTime( const int8_t Value ) noexcept ) { return static_cast< int8_t >( ImplementationDetails::CheckTrailingBit0( static_cast< uint8_t >( Value ) ) ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint64_t CountLeadingZeroesCompileTime( const uint64_t Value ) noexcept ) { return ImplementationDetails::CheckLeadingBit63( Value ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint32_t CountLeadingZeroesCompileTime( const uint32_t Value ) noexcept ) { return ImplementationDetails::CheckLeadingBit31( Value ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint16_t CountLeadingZeroesCompileTime( const uint16_t Value ) noexcept ) { return ImplementationDetails::CheckLeadingBit15( Value ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CountLeadingZeroesCompileTime( const uint8_t Value ) noexcept ) { return ImplementationDetails::CheckLeadingBit7( Value ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline int64_t CountLeadingZeroesCompileTime( const int64_t Value ) noexcept ) { return ImplementationDetails::CheckLeadingBit63( static_cast< uint64_t >( Value ) ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline int32_t CountLeadingZeroesCompileTime( const int32_t Value ) noexcept ) { return ImplementationDetails::CheckLeadingBit31( static_cast< uint32_t >( Value ) ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline int16_t CountLeadingZeroesCompileTime( const int16_t Value ) noexcept ) { return ImplementationDetails::CheckLeadingBit15( static_cast< uint16_t >( Value ) ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline int8_t CountLeadingZeroesCompileTime( const int8_t Value ) noexcept ) { return static_cast< int8_t >( ImplementationDetails::CheckLeadingBit7( static_cast< uint8_t >( Value ) ) ); } namespace ImplementationDetails { MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit0( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1 ) ? 0 : CheckTrailingBit1( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit1( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10 ) ? 1 : CheckTrailingBit2( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit2( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100 ) ? 2 : CheckTrailingBit3( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit3( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000 ) ? 3 : CheckTrailingBit4( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit4( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000 ) ? 4 : CheckTrailingBit5( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit5( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000 ) ? 5 : CheckTrailingBit6( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit6( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000 ) ? 6 : CheckTrailingBit7( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit7( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000 ) ? 7 : CheckTrailingBit8( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit8( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000 ) ? 8 : CheckTrailingBit9( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit9( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000 ) ? 9 : CheckTrailingBit10( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit10( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000 ) ? 10 : CheckTrailingBit11( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit11( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000 ) ? 11 : CheckTrailingBit12( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit12( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000 ) ? 12 : CheckTrailingBit13( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit13( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000 ) ? 13 : CheckTrailingBit14( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit14( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000 ) ? 14 : CheckTrailingBit15( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit15( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000 ) ? 15 : CheckTrailingBit16( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit16( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000 ) ? 16 : CheckTrailingBit17( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit17( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000 ) ? 17 : CheckTrailingBit18( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit18( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000 ) ? 18 : CheckTrailingBit19( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit19( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000 ) ? 19 : CheckTrailingBit20( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit20( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000 ) ? 20 : CheckTrailingBit21( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit21( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000 ) ? 21 : CheckTrailingBit22( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit22( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000 ) ? 22 : CheckTrailingBit23( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit23( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000 ) ? 23 : CheckTrailingBit24( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit24( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000 ) ? 24 : CheckTrailingBit25( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit25( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000 ) ? 25 : CheckTrailingBit26( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit26( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000 ) ? 26 : CheckTrailingBit27( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit27( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000 ) ? 27 : CheckTrailingBit28( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit28( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000 ) ? 28 : CheckTrailingBit29( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit29( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000 ) ? 29 : CheckTrailingBit30( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit30( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000 ) ? 30 : CheckTrailingBit31( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit31( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000 ) ? 31 : CheckTrailingBit32( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit32( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 32 : CheckTrailingBit33( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit33( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 33 : CheckTrailingBit34( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit34( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 34 : CheckTrailingBit35( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit35( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 35 : CheckTrailingBit36( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit36( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 36 : CheckTrailingBit37( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit37( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 37 : CheckTrailingBit38( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit38( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 38 : CheckTrailingBit39( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit39( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 39 : CheckTrailingBit40( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit40( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 40 : CheckTrailingBit41( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit41( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 41 : CheckTrailingBit42( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit42( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 42 : CheckTrailingBit43( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit43( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 43 : CheckTrailingBit44( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit44( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 44 : CheckTrailingBit45( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit45( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 45 : CheckTrailingBit46( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit46( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 46 : CheckTrailingBit47( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit47( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 47 : CheckTrailingBit48( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit48( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 48 : CheckTrailingBit49( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit49( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 49 : CheckTrailingBit50( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit50( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 50 : CheckTrailingBit51( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit51( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 51 : CheckTrailingBit52( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit52( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 52 : CheckTrailingBit53( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit53( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 53 : CheckTrailingBit54( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit54( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 54 : CheckTrailingBit55( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit55( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 55 : CheckTrailingBit56( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit56( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 56 : CheckTrailingBit57( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit57( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 57 : CheckTrailingBit58( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit58( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 58 : CheckTrailingBit59( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit59( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 59 : CheckTrailingBit60( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit60( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 60 : CheckTrailingBit61( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit61( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 61 : CheckTrailingBit62( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit62( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 62 : CheckTrailingBit63( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit63( const uint64_t /* Mask */ ) noexcept ) { // If we got here, this bit must be set. // (Behavior is undefined if no bits are set.) return 63; } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit0( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1 ) ? 0 : CheckTrailingBit1( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit1( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10 ) ? 1 : CheckTrailingBit2( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit2( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100 ) ? 2 : CheckTrailingBit3( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit3( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000 ) ? 3 : CheckTrailingBit4( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit4( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000 ) ? 4 : CheckTrailingBit5( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit5( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000 ) ? 5 : CheckTrailingBit6( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit6( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000 ) ? 6 : CheckTrailingBit7( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit7( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000 ) ? 7 : CheckTrailingBit8( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit8( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000 ) ? 8 : CheckTrailingBit9( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit9( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000 ) ? 9 : CheckTrailingBit10( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit10( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000 ) ? 10 : CheckTrailingBit11( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit11( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000 ) ? 11 : CheckTrailingBit12( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit12( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000 ) ? 12 : CheckTrailingBit13( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit13( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000 ) ? 13 : CheckTrailingBit14( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit14( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000 ) ? 14 : CheckTrailingBit15( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit15( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000 ) ? 15 : CheckTrailingBit16( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit16( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000 ) ? 16 : CheckTrailingBit17( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit17( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000 ) ? 17 : CheckTrailingBit18( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit18( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000 ) ? 18 : CheckTrailingBit19( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit19( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000 ) ? 19 : CheckTrailingBit20( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit20( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000 ) ? 20 : CheckTrailingBit21( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit21( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000 ) ? 21 : CheckTrailingBit22( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit22( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000 ) ? 22 : CheckTrailingBit23( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit23( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000 ) ? 23 : CheckTrailingBit24( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit24( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000 ) ? 24 : CheckTrailingBit25( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit25( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000 ) ? 25 : CheckTrailingBit26( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit26( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000 ) ? 26 : CheckTrailingBit27( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit27( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000 ) ? 27 : CheckTrailingBit28( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit28( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000 ) ? 28 : CheckTrailingBit29( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit29( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000 ) ? 29 : CheckTrailingBit30( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit30( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000 ) ? 30 : CheckTrailingBit31( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit31( const uint32_t /* Mask */ ) noexcept ) { // If we got here, this bit must be set. // (Behavior is undefined if no bits are set.) return 31; } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit0( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1 ) ? 0 : CheckTrailingBit1( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit1( const uint16_t Mask ) noexcept ) { return ( Mask & 0b10 ) ? 1 : CheckTrailingBit2( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit2( const uint16_t Mask ) noexcept ) { return ( Mask & 0b100 ) ? 2 : CheckTrailingBit3( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit3( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1000 ) ? 3 : CheckTrailingBit4( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit4( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1'0000 ) ? 4 : CheckTrailingBit5( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit5( const uint16_t Mask ) noexcept ) { return ( Mask & 0b10'0000 ) ? 5 : CheckTrailingBit6( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit6( const uint16_t Mask ) noexcept ) { return ( Mask & 0b100'0000 ) ? 6 : CheckTrailingBit7( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit7( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1000'0000 ) ? 7 : CheckTrailingBit8( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit8( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000 ) ? 8 : CheckTrailingBit9( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit9( const uint16_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000 ) ? 9 : CheckTrailingBit10( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit10( const uint16_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000 ) ? 10 : CheckTrailingBit11( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit11( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000 ) ? 11 : CheckTrailingBit12( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit12( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000 ) ? 12 : CheckTrailingBit13( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit13( const uint16_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000 ) ? 13 : CheckTrailingBit14( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit14( const uint16_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000 ) ? 14 : CheckTrailingBit15( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit15( const uint16_t /* Mask */ ) noexcept ) { // If we got here, this bit must be set. // (Behavior is undefined if no bits are set.) return 15; } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit0( const uint8_t Mask ) noexcept ) { return ( Mask & 0b1 ) ? 0 : CheckTrailingBit1( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit1( const uint8_t Mask ) noexcept ) { return ( Mask & 0b10 ) ? 1 : CheckTrailingBit2( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit2( const uint8_t Mask ) noexcept ) { return ( Mask & 0b100 ) ? 2 : CheckTrailingBit3( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit3( const uint8_t Mask ) noexcept ) { return ( Mask & 0b1000 ) ? 3 : CheckTrailingBit4( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit4( const uint8_t Mask ) noexcept ) { return ( Mask & 0b1'0000 ) ? 4 : CheckTrailingBit5( Mask ); //-V112 } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit5( const uint8_t Mask ) noexcept ) { return ( Mask & 0b10'0000 ) ? 5 : CheckTrailingBit6( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit6( const uint8_t Mask ) noexcept ) { return ( Mask & 0b100'0000 ) ? 6 : CheckTrailingBit7( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckTrailingBit7( const uint8_t /* Mask */ ) noexcept ) { // If we got here, this bit must be set. // (Behavior is undefined if no bits are set.) return 7; } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit0( const uint64_t /* Mask */ ) noexcept ) { // If we got here, this bit must be set. // (Behavior is undefined if no bits are set.) return 63; } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit1( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10 ) ? 62 : CheckLeadingBit0( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit2( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100 ) ? 61 : CheckLeadingBit1( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit3( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000 ) ? 60 : CheckLeadingBit2( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit4( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000 ) ? 59 : CheckLeadingBit3( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit5( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000 ) ? 58 : CheckLeadingBit4( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit6( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000 ) ? 57 : CheckLeadingBit5( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit7( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000 ) ? 56 : CheckLeadingBit6( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit8( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000 ) ? 55 : CheckLeadingBit7( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit9( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000 ) ? 54 : CheckLeadingBit8( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit10( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000 ) ? 53 : CheckLeadingBit9( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit11( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000 ) ? 52 : CheckLeadingBit10( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit12( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000 ) ? 51 : CheckLeadingBit11( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit13( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000 ) ? 50 : CheckLeadingBit12( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit14( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000 ) ? 49 : CheckLeadingBit13( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit15( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000 ) ? 48 : CheckLeadingBit14( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit16( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000 ) ? 47 : CheckLeadingBit15( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit17( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000 ) ? 46 : CheckLeadingBit16( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit18( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000 ) ? 45 : CheckLeadingBit17( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit19( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000 ) ? 44 : CheckLeadingBit18( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit20( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000 ) ? 43 : CheckLeadingBit19( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit21( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000 ) ? 42 : CheckLeadingBit20( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit22( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000 ) ? 41 : CheckLeadingBit21( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit23( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000 ) ? 40 : CheckLeadingBit22( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit24( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000 ) ? 39 : CheckLeadingBit23( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit25( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000 ) ? 38 : CheckLeadingBit24( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit26( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000 ) ? 37 : CheckLeadingBit25( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit27( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000 ) ? 36 : CheckLeadingBit26( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit28( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000 ) ? 35 : CheckLeadingBit27( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit29( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000 ) ? 34 : CheckLeadingBit28( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit30( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000 ) ? 33 : CheckLeadingBit29( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit31( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000 ) ? 32 : CheckLeadingBit30( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit32( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 31 : CheckLeadingBit31( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit33( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 30 : CheckLeadingBit32( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit34( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 29 : CheckLeadingBit33( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit35( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 28 : CheckLeadingBit34( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit36( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 27 : CheckLeadingBit35( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit37( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 26 : CheckLeadingBit36( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit38( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 25 : CheckLeadingBit37( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit39( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 24 : CheckLeadingBit38( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit40( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 23 : CheckLeadingBit39( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit41( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 22 : CheckLeadingBit40( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit42( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 21 : CheckLeadingBit41( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit43( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 20 : CheckLeadingBit42( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit44( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 19 : CheckLeadingBit43( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit45( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 18 : CheckLeadingBit44( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit46( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 17 : CheckLeadingBit45( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit47( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 16 : CheckLeadingBit46( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit48( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 15 : CheckLeadingBit47( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit49( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 14 : CheckLeadingBit48( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit50( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 13 : CheckLeadingBit49( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit51( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 12 : CheckLeadingBit50( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit52( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 11 : CheckLeadingBit51( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit53( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 10 : CheckLeadingBit52( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit54( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 9 : CheckLeadingBit53( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit55( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 8 : CheckLeadingBit54( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit56( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 7 : CheckLeadingBit55( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit57( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 6 : CheckLeadingBit56( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit58( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 5 : CheckLeadingBit57( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit59( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 4 : CheckLeadingBit58( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit60( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 3 : CheckLeadingBit59( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit61( const uint64_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 2 : CheckLeadingBit60( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit62( const uint64_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 1 : CheckLeadingBit61( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit63( const uint64_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 ) ? 0 : CheckLeadingBit62( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit0( const uint32_t /* Mask */ ) noexcept ) { // If we got here, this bit must be set. // (Behavior is undefined if no bits are set.) return 31; } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit1( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10 ) ? 30 : CheckLeadingBit0( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit2( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100 ) ? 29 : CheckLeadingBit1( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit3( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000 ) ? 28 : CheckLeadingBit2( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit4( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000 ) ? 27 : CheckLeadingBit3( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit5( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000 ) ? 26 : CheckLeadingBit4( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit6( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000 ) ? 25 : CheckLeadingBit5( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit7( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000 ) ? 24 : CheckLeadingBit6( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit8( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000 ) ? 23 : CheckLeadingBit7( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit9( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000 ) ? 22 : CheckLeadingBit8( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit10( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000 ) ? 21 : CheckLeadingBit9( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit11( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000 ) ? 20 : CheckLeadingBit10( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit12( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000 ) ? 19 : CheckLeadingBit11( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit13( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000 ) ? 18 : CheckLeadingBit12( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit14( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000 ) ? 17 : CheckLeadingBit13( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit15( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000 ) ? 16 : CheckLeadingBit14( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit16( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000 ) ? 15 : CheckLeadingBit15( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit17( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000 ) ? 14 : CheckLeadingBit16( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit18( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000 ) ? 13 : CheckLeadingBit17( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit19( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000 ) ? 12 : CheckLeadingBit18( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit20( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000 ) ? 11 : CheckLeadingBit19( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit21( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000 ) ? 10 : CheckLeadingBit20( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit22( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000 ) ? 9 : CheckLeadingBit21( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit23( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000 ) ? 8 : CheckLeadingBit22( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit24( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000 ) ? 7 : CheckLeadingBit23( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit25( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000 ) ? 6 : CheckLeadingBit24( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit26( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000 ) ? 5 : CheckLeadingBit25( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit27( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000 ) ? 4 : CheckLeadingBit26( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit28( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000'0000'0000'0000'0000 ) ? 3 : CheckLeadingBit27( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit29( const uint32_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000'0000'0000'0000'0000 ) ? 2 : CheckLeadingBit28( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit30( const uint32_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000'0000'0000'0000'0000 ) ? 1 : CheckLeadingBit29( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit31( const uint32_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000'0000'0000'0000'0000 ) ? 0 : CheckLeadingBit30( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit0( const uint16_t /* Mask */ ) noexcept ) { // If we got here, this bit must be set. // (Behavior is undefined if no bits are set.) return 15; } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit1( const uint16_t Mask ) noexcept ) { return ( Mask & 0b10 ) ? 14 : CheckLeadingBit0( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit2( const uint16_t Mask ) noexcept ) { return ( Mask & 0b100 ) ? 13 : CheckLeadingBit1( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit3( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1000 ) ? 12 : CheckLeadingBit2( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit4( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1'0000 ) ? 11 : CheckLeadingBit3( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit5( const uint16_t Mask ) noexcept ) { return ( Mask & 0b10'0000 ) ? 10 : CheckLeadingBit4( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit6( const uint16_t Mask ) noexcept ) { return ( Mask & 0b100'0000 ) ? 9 : CheckLeadingBit5( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit7( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1000'0000 ) ? 8 : CheckLeadingBit6( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit8( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000 ) ? 7 : CheckLeadingBit7( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit9( const uint16_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000 ) ? 6 : CheckLeadingBit8( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit10( const uint16_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000 ) ? 5 : CheckLeadingBit9( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit11( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000 ) ? 4 : CheckLeadingBit10( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit12( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1'0000'0000'0000 ) ? 3 : CheckLeadingBit11( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit13( const uint16_t Mask ) noexcept ) { return ( Mask & 0b10'0000'0000'0000 ) ? 2 : CheckLeadingBit12( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit14( const uint16_t Mask ) noexcept ) { return ( Mask & 0b100'0000'0000'0000 ) ? 1 : CheckLeadingBit13( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit15( const uint16_t Mask ) noexcept ) { return ( Mask & 0b1000'0000'0000'0000 ) ? 0 : CheckLeadingBit14( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit0( const uint8_t /* Mask */ ) noexcept ) { // If we got here, this bit must be set. // (Behavior is undefined if no bits are set.) return 7; } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit1( const uint8_t Mask ) noexcept ) { return ( Mask & 0b10 ) ? 6 : CheckLeadingBit0( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit2( const uint8_t Mask ) noexcept ) { return ( Mask & 0b100 ) ? 5 : CheckLeadingBit1( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit3( const uint8_t Mask ) noexcept ) { return ( Mask & 0b1000 ) ? 4 : CheckLeadingBit2( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit4( const uint8_t Mask ) noexcept ) { return ( Mask & 0b1'0000 ) ? 3 : CheckLeadingBit3( Mask ); //-V112 } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit5( const uint8_t Mask ) noexcept ) { return ( Mask & 0b10'0000 ) ? 2 : CheckLeadingBit4( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit6( const uint8_t Mask ) noexcept ) { return ( Mask & 0b100'0000 ) ? 1 : CheckLeadingBit5( Mask ); } MAX_PURE_DEFINITION( MAX_BITSCAN_CONSTEVAL inline uint8_t CheckLeadingBit7( const uint8_t Mask ) noexcept ) { return ( Mask & 0b1000'0000 ) ? 0 : CheckLeadingBit6( Mask ); } } // namespace ImplementationDetails } // namespace Algorithms } // namespace v0 } // namespace max
[ "ProgramMax@gmail.com" ]
ProgramMax@gmail.com
804be2804f2ca2e5d82510cc205a59fee054b345
b771b54b2186263770066aab1ab474b945640033
/src/tests/model_expr/classifers_models.h
505eb358cf107cc3476ec001af32321a2b931695
[ "MIT" ]
permissive
boazsade/machine_learinig_models
d13228ac64ab5547c312505be6147d41a81e6523
eb1f9eda0e4e25a6d028b25682dfb20628a20624
refs/heads/master
2020-04-13T01:36:08.251215
2018-12-23T12:37:55
2018-12-23T12:37:55
162,878,744
2
3
null
null
null
null
UTF-8
C++
false
false
4,032
h
#pragma once #include "libs/classfication_algos/support_vector_machine.h" #include "libs/classfication_algos/general_types.h" #include <iosfwd> // list of alogrithms that we are applying to build classifications models // these are the target for this all application - we are feeding it with // the train data, then run it with the test data that then is being fed // into the experiments // all those algorithms are getting the same type of data - a matrix // that holds the data that the models is either build with or test with // and a vector of data that contins either the results to train against // or the actual result that can be compare with namespace classifier { struct undefined_model{}; struct model_base { using training_input = training_data; using testing_input = testing_data; using test_output = testing_result; }; struct SVM : model_base { using model_type = support_vector_machine::model_type; model_type train(const training_input& input, const class_data& lablels) const; bool test(model_type model, const testing_input& input, test_output& result) const; SVM() = default; }; std::ostream& operator << (std::ostream& os, const SVM& svm); struct EM : model_base { using model_type = undefined_model; model_type train(const training_input& input, const class_data& lablels) const; bool test(model_type model, const testing_input& input, test_output& result) const; EM() = default; }; std::ostream& operator << (std::ostream& os, const EM& m); struct normal_bayes : model_base { using model_type = undefined_model; model_type train(const training_input& input, const class_data& lablels) const; bool test(model_type model, const testing_input& input, test_output& result) const; normal_bayes() = default; }; std::ostream& operator << (std::ostream& os, const normal_bayes& nb); struct k_nearest : model_base { using model_type = undefined_model; model_type train(const training_input& input, const class_data& lablels) const; bool test(model_type model, const testing_input& input, test_output& result) const; k_nearest() = default; }; std::ostream& operator << (std::ostream& os, const k_nearest& kn); struct random_tree : model_base { using model_type = undefined_model; model_type train(const training_input& input, const class_data& lablels) const; bool test(model_type model, const testing_input& input, test_output& result) const; random_tree() = default; }; std::ostream& operator << (std::ostream& os, const random_tree& rtree); struct logistic_regration : model_base { using model_type = undefined_model; model_type train(const training_input& input, const class_data& lablels) const; bool test(model_type model, const testing_input& input, test_output& result) const; logistic_regration() = default; }; std::ostream& operator << (std::ostream& os, const logistic_regration& log_reg); struct boosting : model_base { using model_type = undefined_model; model_type train(const training_input& input, const class_data& lablels) const; bool test(model_type model, const testing_input& input, test_output& result) const; boosting() = default; }; std::ostream& operator << (std::ostream& os, const boosting& b); struct decision_tree : model_base { using model_type = undefined_model; model_type train(const training_input& input, const class_data& lablels) const; bool test(model_type model, const testing_input& input, test_output& result) const; decision_tree() = default; }; std::ostream& operator << (std::ostream& os, const decision_tree& b); //////////////////////////////////////////////////////////////////// } // end of namespace classifier
[ "boaz.sade@binah.ai" ]
boaz.sade@binah.ai
d97ca01d79ddef5de30e2e280b14e0c7f581bffc
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/DQMOffline/EGamma/plugins/SealModule.cc
8d0479a17a5248f064ef10a34aaf480fa86122fc
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
C++
false
false
903
cc
#include "FWCore/PluginManager/interface/ModuleDef.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "DQMOffline/EGamma/plugins/PhotonAnalyzer.h" #include "DQMOffline/EGamma/plugins/PhotonOfflineClient.h" #include "DQMOffline/EGamma/plugins/PhotonDataCertification.h" #include "DQMOffline/EGamma/plugins/PiZeroAnalyzer.h" #include "DQMOffline/EGamma/plugins/ElectronGeneralAnalyzer.h" #include "DQMOffline/EGamma/plugins/ElectronAnalyzer.h" #include "DQMOffline/EGamma/plugins/ElectronTagProbeAnalyzer.h" #include "DQMOffline/EGamma/plugins/ElectronOfflineClient.h" DEFINE_FWK_MODULE(PhotonAnalyzer); DEFINE_FWK_MODULE(PhotonOfflineClient); DEFINE_FWK_MODULE(PhotonDataCertification); DEFINE_FWK_MODULE(PiZeroAnalyzer); DEFINE_FWK_MODULE(ElectronGeneralAnalyzer); DEFINE_FWK_MODULE(ElectronAnalyzer); DEFINE_FWK_MODULE(ElectronTagProbeAnalyzer); DEFINE_FWK_MODULE(ElectronOfflineClient);
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
b5f44f592eb8442887d0ba72cf9ed773920df5d0
ef9ef9ab7e74a1dcd3170e4825b3350cd2e0de1b
/StRoot/StSpinPool/StFcsCosmicMaker/StFcsCosmicMaker.h
3ac36ece9de47775ff3a0e83fdec30483a089c6b
[]
no_license
fisyakbnl/star-sw
4a75ec40a39b9417b16d89d7e91410b70e71c68c
6fc07f5f0be8fb18998f460f5672404da3ec4640
refs/heads/main
2023-07-14T22:01:17.450644
2021-08-25T14:56:26
2021-08-25T14:56:26
394,309,421
1
0
null
2021-08-09T13:51:58
2021-08-09T13:51:57
null
UTF-8
C++
false
false
1,589
h
/* * * \class StFcsCosmicMaker * */ #ifndef STAR_StFcsCosmicMaker_HH #define STAR_StFcsCosmicMaker_HH #include "StRoot/St_base/Stypes.h" #include "StRoot/StEvent/StEnumerations.h" #include "StMaker.h" class StFcsDb; class StFcsCollection; class TH1F; class TH2F; class StFcsCosmicMaker : public StMaker { public: StFcsCosmicMaker(const Char_t* name = "FcsCosmic"); virtual ~StFcsCosmicMaker(); virtual Int_t Init(); virtual Int_t Make(); virtual Int_t Finish(); void setRun(int v) {mRun=v;} void setNTowerThre(int ecal, int hcal) {mNTowerThre[0]=ecal; mNTowerThre[1]=hcal;} void setSigmaMaxThre(float ecal, float hcal) {mSigmaMaxThre[0]=ecal; mSigmaMaxThre[1]=hcal;} void setSigmaMinThre(float ecal, float hcal) {mSigmaMinThre[0]=ecal; mSigmaMinThre[1]=hcal;} void setThetaThre(float ecal, float hcal) {mThetaThre[0]=ecal; mThetaThre[1]=hcal;} void setFilename(char* v) {mSetFile=v;} protected: private: StFcsDb *mFcsDb=0; StFcsCollection *mFcsCollection=0; int mRun; TFile *mFile=0; char* mSetFile=0; char mFilename[100]; float mNTowerThre[2]; float mSigmaMaxThre[2]; float mSigmaMinThre[2]; float mThetaThre[2]; TH1F* mAdc[2]; TH1F* mNTower[2]; TH1F* mSigmaMax[2]; TH1F* mSigmaMin[2]; TH2F* mSigma[2]; TH2F* mSigmaNtow[2]; virtual const Char_t *GetCVS() const {static const Char_t cvs[]="Tag " __DATE__ " " __TIME__ ; return cvs;} ClassDef(StFcsCosmicMaker,1); }; #endif /* * $Id: StFcsCosmicMaker.h,v 1.6 2021/03/30 13:29:27 akio Exp $ * $Log: StFcsCosmicMaker.h,v $ * */
[ "dmixsmi@gmail.com" ]
dmixsmi@gmail.com
113cc0d343d90e49279bcb94e116945ccfc714a1
50217ceede2d6a0c10ed5e3a45854cd69f4ae05f
/dsa/XVDPU-TRD/vck190_platform/overlays/Vitis_Libraries/vision/L1/examples/dilation/xf_dilation_tb.cpp
120221eb659642547d03b1ba0934db354cb5f2dc
[ "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-free-unknown" ]
permissive
poldni/Vitis-AI
ddf79938629d4a8c20e1e4997f6445ec42ec7fed
981f85e04d9b4b8fc2f97e92c0cf28206fde0716
refs/heads/master
2022-05-18T06:39:13.094061
2022-03-28T19:39:26
2022-03-28T19:39:26
455,650,766
0
0
Apache-2.0
2022-02-04T18:14:19
2022-02-04T18:14:18
null
UTF-8
C++
false
false
3,327
cpp
/* * Copyright 2019 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "common/xf_headers.hpp" #include <stdlib.h> #include <ap_int.h> #include "xf_dilation_config.h" int main(int argc, char** argv) { if (argc != 2) { fprintf(stderr, "Invalid Number of Arguments!\nUsage:\n"); fprintf(stderr, "<Executable Name> <input image path> \n"); return -1; } cv::Mat in_img, out_img, ocv_ref; cv::Mat diff; // reading in the image #if GRAY in_img = cv::imread(argv[1], 0); #else in_img = cv::imread(argv[1], 1); #endif if (in_img.data == NULL) { fprintf(stderr, "Cannot open image at %s\n", argv[1]); return 0; } int height = in_img.rows; int width = in_img.cols; // create memory for output images #if GRAY ocv_ref.create(in_img.rows, in_img.cols, CV_8UC1); out_img.create(in_img.rows, in_img.cols, CV_8UC1); diff.create(in_img.rows, in_img.cols, CV_8UC1); #else ocv_ref.create(in_img.rows, in_img.cols, CV_8UC3); out_img.create(in_img.rows, in_img.cols, CV_8UC3); diff.create(in_img.rows, in_img.cols, CV_8UC3); #endif cv::Mat element = cv::getStructuringElement(KERNEL_SHAPE, cv::Size(FILTER_SIZE, FILTER_SIZE), cv::Point(-1, -1)); cv::dilate(in_img, ocv_ref, element, cv::Point(-1, -1), ITERATIONS, cv::BORDER_CONSTANT); cv::imwrite("out_ocv.jpg", ocv_ref); ///////////////////// End of OpenCV reference //////////////// //////////////////// HLS TOP function call ///////////////// unsigned char structure_element[FILTER_SIZE * FILTER_SIZE]; for (int i = 0; i < (FILTER_SIZE * FILTER_SIZE); i++) { structure_element[i] = element.data[i]; } // Write output image cv::imwrite("hw_out.jpg", out_img); dilation_accel((ap_uint<INPUT_PTR_WIDTH>*)in_img.data, (ap_uint<OUTPUT_PTR_WIDTH>*)out_img.data, structure_element, height, width); ////////////////// Compute Absolute Difference //////////////////// cv::absdiff(ocv_ref, out_img, diff); cv::imwrite("out_error.jpg", diff); // Find minimum and maximum differences. double minval = 256, maxval = 0; int cnt = 0; for (int i = 0; i < in_img.rows; i++) { for (int j = 0; j < in_img.cols; j++) { uchar v = diff.at<uchar>(i, j); if (v > 0) cnt++; if (minval > v) minval = v; if (maxval < v) maxval = v; } } float err_per = 100.0 * (float)cnt / (in_img.rows * in_img.cols); std::cout << "\tMinimum error in intensity = " << minval << std::endl; std::cout << "\tMaximum error in intensity = " << maxval << std::endl; std::cout << "\tPercentage of pixels above error threshold = " << err_per << std::endl; if (err_per > 0.0f) return 1; return 0; }
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
edc47b4a189a64f72155d8a174db9f3765635830
ef60bc923465b0c9d183a0904392962532a46254
/HTN/HTN/Tasks/TaskHub.cpp
7193b216dbd214767d50be63f470d3aee8b38f02
[]
no_license
Kestajon/Unreal_HTN
1711029a6d03d449026910659160ca8ad5c3320c
ef77aa66c2c33d8e14edc54ccf9983c27d632f7c
refs/heads/master
2021-09-07T12:13:51.891733
2018-02-22T18:31:27
2018-02-22T18:31:27
122,505,678
1
0
null
null
null
null
UTF-8
C++
false
false
1,663
cpp
// Author: Jonathan Keslake #include "TaskHub.h" #include "Enemies/EnemyAI.h" #include "AttackEnemy.h" /** Function called after construction by SquadHub */ void UTaskHub::InitialSetup() { // Register Default Auxilia goal tasks RegisterNewTask(NewObject<UEnemyTask>(this, UAttackEnemy::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, UAuxiliaBackground::StaticClass())); // Register Default Velites goal tasks RegisterNewTask(NewObject<UEnemyTask>(this, UVelitesMeleeGroup::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, UVelitesBackgroundGroup::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, UNavigateAwayFromCharacter::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, UNavigateToCharacter::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, UNavigateToBackgroundDistance::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, UMeleeAttackCharacter::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, URangeAttackCharacter::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, USpecialAttackCharacter::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, UKnockbackCharacter::StaticClass())); RegisterNewTask(NewObject<UEnemyTask>(this, UDummyTask::StaticClass())); for (TSubclassOf<UEnemyTask> Task : BlueprintTasks) { RegisterNewTask(NewObject<UEnemyTask>(this, Task.Get())); } BlueprintTasks.Empty(); AEnemyAI::TaskHub = this; } /** @param newTask - New task to be added to the map */ void UTaskHub::RegisterNewTask(UEnemyTask* newTask) { TaskMap.Add(newTask->ReturnName(), newTask); }
[ "jonathankeslake@gmail.com" ]
jonathankeslake@gmail.com
8f5173492597d87d9ff932ed294d4071f9c665d5
80280d007665162257e5c6f46ff1518708230868
/strings/5.cpp
c258c092b9341f0444b51ead4127bfed2877fd8b
[]
no_license
Aniket2107/dsa-450
c89e4610b1db58b5fcb14e2cb42dffe8cec4b213
b6cfe872a258f33fd3a6c0fe1e453ad6115381b0
refs/heads/master
2023-04-13T03:16:52.514727
2021-04-21T06:35:02
2021-04-21T06:35:02
360,056,815
0
0
null
null
null
null
UTF-8
C++
false
false
684
cpp
#include<bits/stdc++.h> using namespace std; int main(){ std::ios::sync_with_stdio(false); string s1,s2,res; cin>>s1>>s2>>res; int l1 = s1.length(); int l2 = s2.length(); int l3 = res.length(); if(l1+l2 != l3) cout<<"NO"; else { int flag = 0; int i=0,j=0,k=0; while(k<l3){ if(i<l1 and res[k] == s1[i]){ i++; }else if(j < l2 and res[k] == s2[j]){ j++; }else { flag = 1; break; } k++; } if(flag == 1 or i<l1 or j<l2) cout<<"No"; else cout<<"Yes"; } return 0; }
[ "had096705@gmail.com" ]
had096705@gmail.com
f80611382300a85b63975d08dcb964e20432fcfc
8e8ccb9079cb80e10680fda4205853b4d8e02fad
/week10/bnode.h
93786baa7cee63bb14e125459d057db52225ef97
[]
no_license
Khrishp/CS235
710d5b189a15df2555b2b248f04ef062e5e074c6
13bcc2de240eb606053fe15918ea17aa01a9292c
refs/heads/master
2021-06-16T06:16:10.165577
2021-02-08T20:37:30
2021-02-08T20:37:30
154,437,490
2
5
null
null
null
null
UTF-8
C++
false
false
2,410
h
// you might want to put these methods into your BinaryNode class // to help you debug your red-black balancing code /**************************************************** * BINARY NODE :: FIND DEPTH * Find the depth of the black nodes. This is useful for * verifying that a given red-black tree is valid * Author: Br. Helfrich ****************************************************/ template <class T> int BinaryNode <T> :: findDepth() const { // if there are no children, the depth is ourselves if (pRight == NULL && pLeft == NULL) return (isRed ? 0 : 1); // if there is a right child, go that way if (pRight != NULL) return (isRed ? 0 : 1) + pRight->findDepth(); else return (isRed ? 0 : 1) + pLeft->findDepth(); } /**************************************************** * BINARY NODE :: VERIFY RED BLACK * Do all four red-black rules work here? * Author: Br. Helfrich ***************************************************/ template <class T> void BinaryNode <T> :: verifyRedBlack(int depth) const { depth -= (isRed == false) ? 1 : 0; // Rule a) Every node is either red or black assert(isRed == true || isRed == false); // this feels silly // Rule b) The root is black if (pParent == NULL) assert(isRed == false); // Rule c) Red nodes have black children if (isRed == true) { if (pLeft != NULL) assert(pLeft->isRed == false); if (pRight != NULL) assert(pRight->isRed == false); } // Rule d) Every path from a leaf to the root has the same # of black nodes if (pLeft == NULL && pRight && NULL) assert(depth == 0); if (pLeft != NULL) pLeft->verifyRedBlack(depth); if (pRight != NULL) pRight->verifyRedBlack(depth); } /****************************************************** * VERIFY B TREE * Verify that the tree is correctly formed * Author: Br. Helfrich ******************************************************/ template <class T> void BinaryNode <T> :: verifyBTree() const { // check parent if (pParent) assert(pParent->pLeft == this || pParent->pRight == this); // check left if (pLeft) { assert(pLeft->data <= data); assert(pLeft->pParent == this); pLeft->verifyBTree(); } // check right if (pRight) { assert(pRight->data >= data); assert(pRight->pParent == this); pRight->verifyBTree(); } }
[ "smi16166@byui.edu" ]
smi16166@byui.edu
73baa1da9d2b75238aeffde0002ee4a8bf28a5f0
79527ac7914b37d8cd6faebb0ffae0e700a98bb6
/SlimDXc_Jun2010(VC++2008)/source/direct3d9/XFileSaveData.h
068d2e603d183a29bf683515e81af22d4789b25f
[ "MIT" ]
permissive
hugetiny/DTXManiaXG-verK
2f2cb7c5ba405b8252b7eef9365d9ae53b8b1a81
b19611208d45c40bf3d48d7084e05faea920ee92
refs/heads/master
2022-10-11T13:55:45.313428
2016-08-18T13:15:50
2016-08-18T13:15:50
243,325,915
1
0
null
2020-02-27T21:25:02
2020-02-26T17:40:04
C++
UTF-8
C++
false
false
2,127
h
/* * Copyright (c) 2007-2010 SlimDX Group * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ #pragma once #include "Enums.h" namespace SlimDX { namespace Direct3D9 { ref class XFileSaveObject; ref class XFile; ref class XFileEnumerationObject; ref class XFileData; public ref class XFileSaveData : public ComObject { COMOBJECT(ID3DXFileSaveData, XFileSaveData); private: XFileSaveData^ AddDataObject_Internal( System::Guid dataTemplate, System::String^ name, System::Guid id, const void* data, SIZE_T size ); public: XFileSaveData^ AddDataObject( System::Guid dataTemplate, System::String^ name, System::Guid id, array<System::Byte>^ data ); XFileSaveData^ AddDataObject( System::Guid dataTemplate, System::String^ name, System::Guid id, System::IO::Stream^ data ); Result AddDataReference( System::String^ name, System::Guid id ); property System::Guid Id { System::Guid get(); } property System::String^ Name { System::String^ get(); } property XFileSaveObject^ SaveObject { XFileSaveObject^ get(); } property System::Guid Type { System::Guid get(); } }; } }
[ "gennsou76573@gmail.com" ]
gennsou76573@gmail.com
919b1650e4e98bd67048076e036f86d71b6b31f7
a0bb45312b4ccc4912213e3965d6043a30fc8415
/Others-LeetCode&Geeksforgeeks/StacksOfBooks/main.cpp
d718d0dcf04ed199c2ec5ac9fd6c736ed7723418
[]
no_license
Tangjiahui26/CrackingCode
692039c5818897f065c9e3adae3b3fcd391b9248
76670944e438bbf907523fc8162dcacf138a6fb5
refs/heads/master
2020-05-17T06:53:43.455094
2019-10-01T20:16:10
2019-10-01T20:16:10
183,568,215
0
0
null
null
null
null
UTF-8
C++
false
false
1,921
cpp
#include <iostream> #include <vector> #include <algorithm> #include <stack> using namespace std; // sort a stack with a temp stack<int> sortStack(stack<int> & input){ stack<int> tempStack; while(!input.empty()){ int temp = input.top(); input.pop(); while (!tempStack.empty() && tempStack.top() < temp) { input.push(tempStack.top()); tempStack.pop(); } tempStack.push(temp); } return tempStack; } int maxBooks(stack<int>& arr1, stack<int>& arr2, int max){ stack<int> sortedArr1 = sortStack(arr1); stack<int> sortedArr2 = sortStack(arr2); int count = 0; int maxVal = 0; while (!sortedArr1.empty() && !sortedArr2.empty()){ maxVal += sortedArr1.top(); maxVal += sortedArr2.top(); if (maxVal <= max){ count += 2; sortedArr1.pop(); sortedArr2.pop(); } else { int bigger = std::max(sortedArr1.top(), sortedArr2.top()); if (maxVal - bigger <= max){ maxVal -= bigger; count += 1; if (bigger == sortedArr1.top()) { sortedArr2.pop(); } else { sortedArr1.pop(); } } break; } } return count; } int main() { stack<int> book1; book1.push(3); book1.push(6); book1.push(3); book1.push(2); book1.push(5); stack<int> book2; book2.push(15); book2.push(1); book2.push(1); book2.push(1); book2.push(1); book2.push(1); book2.push(1); book2.push(9); stack<int> book3; book3.push(5); book3.push(1); book3.push(1); stack<int> book4; book4.push(1); book4.push(2); book4.push(6); cout << maxBooks(book1, book2, 15) << endl; cout << maxBooks(book3, book4, 10) << endl; return 0; }
[ "tangjiahui26@gmail.com" ]
tangjiahui26@gmail.com
40038a1971388e26623bb3e9d18d10afd20764ab
15868941b0528ef73b3067946f98149cc8078ab9
/BazaSeriali/TvProgram.h
743370df481e60b0c9db1238bb6d66a27c85d0bf
[]
no_license
Kammil98/BaseOfMovies
3d29c8637f46aea2e0157c872a0e1d7449c8d776
a0dd77774a40dbc3f26694987e5a498f7aecbff3
refs/heads/master
2020-05-16T13:55:08.419467
2019-04-23T20:03:06
2019-04-23T20:03:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,265
h
#pragma once #include <string> #ifndef TvProgram_H #define TvProgram_H using namespace std; class TvProgram { string type; string name; bool followed; string authorName; string authorSurname; int rating; public: void setType(std::string value) { type = value; } std::string getType() { return type; } void setName(std::string value) { name = value; } std::string getName() { return name; } void setFollowed(bool value) { followed = value; } bool getFollowed() { return followed; } void setAuthorName(std::string value) { authorName = value; } std::string getAuthorName() { return authorName; } void setAuthorSurname(std::string value) { authorSurname = value; } std::string getAuthorSurname() { return authorSurname; } void setRating(int value) { rating = value; } int getRating() { return rating; } void virtual takeData(); void virtual show(); virtual void edit() = 0; std::string codeToFile(std::string); std::string decodeFromFile(std::string); void virtual save(fstream &); void virtual load(ifstream &); void virtual remind(){} float virtual weeklyTimeForWatching() { return 0; } int virtual allSeenEpisodes() { return 0; } int virtual episodesNumber(bool = false) { return 0; } int virtual lostTime() { return 0; } }; #endif
[ "49918546+Kammil98@users.noreply.github.com" ]
49918546+Kammil98@users.noreply.github.com
28a999784eb2bf2b76bdca9fbacb17cb819216d3
519284d460b4469e33c898d3371943b1a0ad77d6
/cpp/atcoder/sharing-cookies.cpp
b14a7b4f27ca3817479e41f903e5f8499afa9dad
[]
no_license
mihaimorariu/coding-playground
6aa520ddfbd1dcec72d85513d449ce71139d7918
da061e6a6aa54853b6ca3d3e7344a22e3a2aa3b2
refs/heads/master
2023-04-26T20:14:51.536914
2023-04-23T19:34:18
2023-04-23T19:34:18
238,814,060
0
0
null
null
null
null
UTF-8
C++
false
false
239
cpp
#include <iostream> int main() { std::uint16_t A, B; std::cin >> A >> B; if (A % 3 == 0 || B % 3 == 0 || (A + B) % 3 == 0) { std::cout << "Possible" << std::endl; } else { std::cout << "Impossible" << std::endl; } return 0; }
[ "mihaimorariu@gmail.com" ]
mihaimorariu@gmail.com
e86009a2189af5a21f0f768b9bd3322abef169d0
b0dd7779c225971e71ae12c1093dc75ed9889921
/libs/regex/src/usinstances.cpp
d023b09b1479034ab3e25f1a8ca67964fd58cb1d
[ "LicenseRef-scancode-warranty-disclaimer", "BSL-1.0" ]
permissive
blackberry/Boost
6e653cd91a7806855a162347a5aeebd2a8c055a2
fc90c3fde129c62565c023f091eddc4a7ed9902b
refs/heads/1_48_0-gnu
2021-01-15T14:31:33.706351
2013-06-25T16:02:41
2013-06-25T16:02:41
2,599,411
244
154
BSL-1.0
2018-10-13T18:35:09
2011-10-18T14:25:18
C++
UTF-8
C++
false
false
3,244
cpp
/* * * Copyright (c) 1998-2002 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version. * FILE: winstances.cpp * VERSION: see <boost/version.hpp> * DESCRIPTION: regex unsigned short template instances (MSVC only). */ #define BOOST_REGEX_SOURCE #ifdef _MSC_VER #pragma warning(disable:4506) // 'no definition for inline function' #endif #include <boost/detail/workaround.hpp> #include <memory> #include <string> #if defined(_DLL_CPPLIB) && !defined(_M_CEE_PURE) && defined(_NATIVE_WCHAR_T_DEFINED) \ && !(defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) || defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER))\ && BOOST_WORKAROUND(BOOST_MSVC, <1600) // // This is a horrible workaround, but without declaring these symbols extern we get // duplicate symbol errors when linking if the application is built without // /Zc:wchar_t // #ifdef _CRTIMP2_PURE # define BOOST_REGEX_STDLIB_DECL _CRTIMP2_PURE #else # define BOOST_REGEX_STDLIB_DECL _CRTIMP2 #endif namespace std{ #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) template class BOOST_REGEX_STDLIB_DECL allocator<unsigned short>; template class BOOST_REGEX_STDLIB_DECL _String_val<unsigned short, allocator<unsigned short> >; template class BOOST_REGEX_STDLIB_DECL basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >; #endif #if BOOST_WORKAROUND(BOOST_MSVC, > 1300) && BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) template<> BOOST_REGEX_STDLIB_DECL std::size_t __cdecl char_traits<unsigned short>::length(unsigned short const*); #endif template BOOST_REGEX_STDLIB_DECL bool __cdecl operator==( const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); template BOOST_REGEX_STDLIB_DECL bool __cdecl operator==( const unsigned short *, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); template BOOST_REGEX_STDLIB_DECL bool __cdecl operator==( const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const unsigned short *); template BOOST_REGEX_STDLIB_DECL bool __cdecl operator<( const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); template BOOST_REGEX_STDLIB_DECL bool __cdecl operator>( const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); } #endif #include <boost/regex/config.hpp> #if !defined(BOOST_NO_WREGEX) && defined(BOOST_REGEX_HAS_OTHER_WCHAR_T) && !defined(BOOST_REGEX_NO_EXTERNAL_TEMPLATES) #define BOOST_REGEX_US_INSTANTIATE #include <boost/regex.hpp> #endif
[ "tvaneerd@rim.com" ]
tvaneerd@rim.com
18cf87e8aabe18b924d3ab5c016c4dfd857f74bd
e6b7c6c347711bc4de31e16e6d209dd12105c6dd
/randomForest.cpp
3b1cdcb04adac3ec8e12a0801d07cda667bdb06a
[]
no_license
popescuaaa/handwriting
420d2808cb16350267e2e500e744ed735439e5c4
2f95e5e2dec87fd1b8b40f3240248038779652c0
refs/heads/master
2020-03-17T03:30:27.751090
2018-09-10T13:23:33
2018-09-10T13:23:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,542
cpp
// copyright Luca Istrate, Andrei Medar #include "randomForest.h" #include <iostream> #include <random> #include <vector> #include <string> #include "decisionTree.h" using std::vector; using std::pair; using std::string; using std::mt19937; vector<vector<int>> get_random_samples(const vector<vector<int>> &samples, int num_to_return) { // TODO(you) // Intoarce un vector de marime num_to_return cu elemente random, // diferite din samples vector<vector<int>> ret; return ret; } RandomForest::RandomForest(int num_trees, const vector<vector<int>> &samples) : num_trees(num_trees), images(samples) {} void RandomForest::build() { // Aloca pentru fiecare Tree cate n / num_trees // Unde n e numarul total de teste de training // Apoi antreneaza fiecare tree cu testele alese assert(!images.empty()); vector<vector<int>> random_samples; int data_size = images.size() / num_trees; for (int i = 0; i < num_trees; i++) { // cout << "Creating Tree nr: " << i << endl; random_samples = get_random_samples(images, data_size); // Construieste un Tree nou si il antreneaza trees.push_back(Node()); trees[trees.size() - 1].train(random_samples); } } int RandomForest::predict(const vector<int> &image) { // TODO(you) // Va intoarce cea mai probabila prezicere pentru testul din argument // se va interoga fiecare Tree si se va considera raspunsul final ca // fiind cel majoritar return 0; }
[ "andreigabrielpopescu556@gmail.com" ]
andreigabrielpopescu556@gmail.com
0f9848ac8bdecf7de19fba8981adcb74cf23e53f
b8a3e758eff2922ff6abc77947d879e3f6d1afa3
/ws_moveit/devel/include/moveit_ros_planning/PlanningSceneMonitorDynamicReconfigureConfig.h
0d8a1bd3e5680b2e653651386cfab48fadf4df07
[]
no_license
rrowlands/ros-baxter-coffee
ab7a496186591e709f88ccfd3b9944428e652f3e
32473c3012b7ec4f91194069303c85844cf1aae7
refs/heads/master
2016-09-05T20:58:20.428241
2013-12-02T23:10:44
2013-12-02T23:10:44
14,313,406
0
1
null
null
null
null
UTF-8
C++
false
false
29,939
h
//#line 2 "/opt/ros/hydro/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template" // ********************************************************* // // File autogenerated for the moveit_ros_planning package // by the dynamic_reconfigure package. // Please do not edit. // // ********************************************************/ /*********************************************************** * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * * Neither the name of the Willow Garage nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. ***********************************************************/ // Author: Blaise Gassend #ifndef __moveit_ros_planning__PLANNINGSCENEMONITORDYNAMICRECONFIGURECONFIG_H__ #define __moveit_ros_planning__PLANNINGSCENEMONITORDYNAMICRECONFIGURECONFIG_H__ #include <dynamic_reconfigure/config_tools.h> #include <limits> #include <ros/node_handle.h> #include <dynamic_reconfigure/ConfigDescription.h> #include <dynamic_reconfigure/ParamDescription.h> #include <dynamic_reconfigure/Group.h> #include <dynamic_reconfigure/config_init_mutex.h> #include <boost/any.hpp> namespace moveit_ros_planning { class PlanningSceneMonitorDynamicReconfigureConfigStatics; class PlanningSceneMonitorDynamicReconfigureConfig { public: class AbstractParamDescription : public dynamic_reconfigure::ParamDescription { public: AbstractParamDescription(std::string n, std::string t, uint32_t l, std::string d, std::string e) { name = n; type = t; level = l; description = d; edit_method = e; } virtual void clamp(PlanningSceneMonitorDynamicReconfigureConfig &config, const PlanningSceneMonitorDynamicReconfigureConfig &max, const PlanningSceneMonitorDynamicReconfigureConfig &min) const = 0; virtual void calcLevel(uint32_t &level, const PlanningSceneMonitorDynamicReconfigureConfig &config1, const PlanningSceneMonitorDynamicReconfigureConfig &config2) const = 0; virtual void fromServer(const ros::NodeHandle &nh, PlanningSceneMonitorDynamicReconfigureConfig &config) const = 0; virtual void toServer(const ros::NodeHandle &nh, const PlanningSceneMonitorDynamicReconfigureConfig &config) const = 0; virtual bool fromMessage(const dynamic_reconfigure::Config &msg, PlanningSceneMonitorDynamicReconfigureConfig &config) const = 0; virtual void toMessage(dynamic_reconfigure::Config &msg, const PlanningSceneMonitorDynamicReconfigureConfig &config) const = 0; virtual void getValue(const PlanningSceneMonitorDynamicReconfigureConfig &config, boost::any &val) const = 0; }; typedef boost::shared_ptr<AbstractParamDescription> AbstractParamDescriptionPtr; typedef boost::shared_ptr<const AbstractParamDescription> AbstractParamDescriptionConstPtr; template <class T> class ParamDescription : public AbstractParamDescription { public: ParamDescription(std::string name, std::string type, uint32_t level, std::string description, std::string edit_method, T PlanningSceneMonitorDynamicReconfigureConfig::* f) : AbstractParamDescription(name, type, level, description, edit_method), field(f) {} T (PlanningSceneMonitorDynamicReconfigureConfig::* field); virtual void clamp(PlanningSceneMonitorDynamicReconfigureConfig &config, const PlanningSceneMonitorDynamicReconfigureConfig &max, const PlanningSceneMonitorDynamicReconfigureConfig &min) const { if (config.*field > max.*field) config.*field = max.*field; if (config.*field < min.*field) config.*field = min.*field; } virtual void calcLevel(uint32_t &comb_level, const PlanningSceneMonitorDynamicReconfigureConfig &config1, const PlanningSceneMonitorDynamicReconfigureConfig &config2) const { if (config1.*field != config2.*field) comb_level |= level; } virtual void fromServer(const ros::NodeHandle &nh, PlanningSceneMonitorDynamicReconfigureConfig &config) const { nh.getParam(name, config.*field); } virtual void toServer(const ros::NodeHandle &nh, const PlanningSceneMonitorDynamicReconfigureConfig &config) const { nh.setParam(name, config.*field); } virtual bool fromMessage(const dynamic_reconfigure::Config &msg, PlanningSceneMonitorDynamicReconfigureConfig &config) const { return dynamic_reconfigure::ConfigTools::getParameter(msg, name, config.*field); } virtual void toMessage(dynamic_reconfigure::Config &msg, const PlanningSceneMonitorDynamicReconfigureConfig &config) const { dynamic_reconfigure::ConfigTools::appendParameter(msg, name, config.*field); } virtual void getValue(const PlanningSceneMonitorDynamicReconfigureConfig &config, boost::any &val) const { val = config.*field; } }; class AbstractGroupDescription : public dynamic_reconfigure::Group { public: AbstractGroupDescription(std::string n, std::string t, int p, int i, bool s) { name = n; type = t; parent = p; state = s; id = i; } std::vector<AbstractParamDescriptionConstPtr> abstract_parameters; bool state; virtual void toMessage(dynamic_reconfigure::Config &msg, const boost::any &config) const = 0; virtual bool fromMessage(const dynamic_reconfigure::Config &msg, boost::any &config) const =0; virtual void updateParams(boost::any &cfg, PlanningSceneMonitorDynamicReconfigureConfig &top) const= 0; virtual void setInitialState(boost::any &cfg) const = 0; void convertParams() { for(std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = abstract_parameters.begin(); i != abstract_parameters.end(); i++) { parameters.push_back(dynamic_reconfigure::ParamDescription(**i)); } } }; typedef boost::shared_ptr<AbstractGroupDescription> AbstractGroupDescriptionPtr; typedef boost::shared_ptr<const AbstractGroupDescription> AbstractGroupDescriptionConstPtr; template<class T, class PT> class GroupDescription : public AbstractGroupDescription { public: GroupDescription(std::string name, std::string type, int parent, int id, bool s, T PT::* f) : AbstractGroupDescription(name, type, parent, id, s), field(f) { } GroupDescription(const GroupDescription<T, PT>& g): AbstractGroupDescription(g.name, g.type, g.parent, g.id, g.state), field(g.field), groups(g.groups) { parameters = g.parameters; abstract_parameters = g.abstract_parameters; } virtual bool fromMessage(const dynamic_reconfigure::Config &msg, boost::any &cfg) const { PT* config = boost::any_cast<PT*>(cfg); if(!dynamic_reconfigure::ConfigTools::getGroupState(msg, name, (*config).*field)) return false; for(std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = groups.begin(); i != groups.end(); i++) { boost::any n = &((*config).*field); if(!(*i)->fromMessage(msg, n)) return false; } return true; } virtual void setInitialState(boost::any &cfg) const { PT* config = boost::any_cast<PT*>(cfg); T* group = &((*config).*field); group->state = state; for(std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = groups.begin(); i != groups.end(); i++) { boost::any n = boost::any(&((*config).*field)); (*i)->setInitialState(n); } } virtual void updateParams(boost::any &cfg, PlanningSceneMonitorDynamicReconfigureConfig &top) const { PT* config = boost::any_cast<PT*>(cfg); T* f = &((*config).*field); f->setParams(top, abstract_parameters); for(std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = groups.begin(); i != groups.end(); i++) { boost::any n = &((*config).*field); (*i)->updateParams(n, top); } } virtual void toMessage(dynamic_reconfigure::Config &msg, const boost::any &cfg) const { const PT config = boost::any_cast<PT>(cfg); dynamic_reconfigure::ConfigTools::appendGroup<T>(msg, name, id, parent, config.*field); for(std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = groups.begin(); i != groups.end(); i++) { (*i)->toMessage(msg, config.*field); } } T (PT::* field); std::vector<PlanningSceneMonitorDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr> groups; }; class DEFAULT { public: DEFAULT() { state = true; name = "Default"; } void setParams(PlanningSceneMonitorDynamicReconfigureConfig &config, const std::vector<AbstractParamDescriptionConstPtr> params) { for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = params.begin(); i != params.end(); i++) { boost::any val; (*i)->getValue(config, val); if("publish_planning_scene"==(*i)->name){publish_planning_scene = boost::any_cast<bool>(val);} if("publish_planning_scene_hz"==(*i)->name){publish_planning_scene_hz = boost::any_cast<double>(val);} if("publish_geometry_updates"==(*i)->name){publish_geometry_updates = boost::any_cast<bool>(val);} if("publish_state_updates"==(*i)->name){publish_state_updates = boost::any_cast<bool>(val);} if("publish_transforms_updates"==(*i)->name){publish_transforms_updates = boost::any_cast<bool>(val);} } } bool publish_planning_scene; double publish_planning_scene_hz; bool publish_geometry_updates; bool publish_state_updates; bool publish_transforms_updates; bool state; std::string name; }groups; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" bool publish_planning_scene; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" double publish_planning_scene_hz; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" bool publish_geometry_updates; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" bool publish_state_updates; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" bool publish_transforms_updates; //#line 255 "/opt/ros/hydro/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template" bool __fromMessage__(dynamic_reconfigure::Config &msg) { const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); const std::vector<AbstractGroupDescriptionConstPtr> &__group_descriptions__ = __getGroupDescriptions__(); int count = 0; for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) if ((*i)->fromMessage(msg, *this)) count++; for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = __group_descriptions__.begin(); i != __group_descriptions__.end(); i ++) { if ((*i)->id == 0) { boost::any n = boost::any(this); (*i)->updateParams(n, *this); (*i)->fromMessage(msg, n); } } if (count != dynamic_reconfigure::ConfigTools::size(msg)) { ROS_ERROR("PlanningSceneMonitorDynamicReconfigureConfig::__fromMessage__ called with an unexpected parameter."); ROS_ERROR("Booleans:"); for (unsigned int i = 0; i < msg.bools.size(); i++) ROS_ERROR(" %s", msg.bools[i].name.c_str()); ROS_ERROR("Integers:"); for (unsigned int i = 0; i < msg.ints.size(); i++) ROS_ERROR(" %s", msg.ints[i].name.c_str()); ROS_ERROR("Doubles:"); for (unsigned int i = 0; i < msg.doubles.size(); i++) ROS_ERROR(" %s", msg.doubles[i].name.c_str()); ROS_ERROR("Strings:"); for (unsigned int i = 0; i < msg.strs.size(); i++) ROS_ERROR(" %s", msg.strs[i].name.c_str()); // @todo Check that there are no duplicates. Make this error more // explicit. return false; } return true; } // This version of __toMessage__ is used during initialization of // statics when __getParamDescriptions__ can't be called yet. void __toMessage__(dynamic_reconfigure::Config &msg, const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__, const std::vector<AbstractGroupDescriptionConstPtr> &__group_descriptions__) const { dynamic_reconfigure::ConfigTools::clear(msg); for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) (*i)->toMessage(msg, *this); for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = __group_descriptions__.begin(); i != __group_descriptions__.end(); i++) { if((*i)->id == 0) { (*i)->toMessage(msg, *this); } } } void __toMessage__(dynamic_reconfigure::Config &msg) const { const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); const std::vector<AbstractGroupDescriptionConstPtr> &__group_descriptions__ = __getGroupDescriptions__(); __toMessage__(msg, __param_descriptions__, __group_descriptions__); } void __toServer__(const ros::NodeHandle &nh) const { const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) (*i)->toServer(nh, *this); } void __fromServer__(const ros::NodeHandle &nh) { static bool setup=false; const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) (*i)->fromServer(nh, *this); const std::vector<AbstractGroupDescriptionConstPtr> &__group_descriptions__ = __getGroupDescriptions__(); for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = __group_descriptions__.begin(); i != __group_descriptions__.end(); i++){ if (!setup && (*i)->id == 0) { setup = true; boost::any n = boost::any(this); (*i)->setInitialState(n); } } } void __clamp__() { const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); const PlanningSceneMonitorDynamicReconfigureConfig &__max__ = __getMax__(); const PlanningSceneMonitorDynamicReconfigureConfig &__min__ = __getMin__(); for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) (*i)->clamp(*this, __max__, __min__); } uint32_t __level__(const PlanningSceneMonitorDynamicReconfigureConfig &config) const { const std::vector<AbstractParamDescriptionConstPtr> &__param_descriptions__ = __getParamDescriptions__(); uint32_t level = 0; for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin(); i != __param_descriptions__.end(); i++) (*i)->calcLevel(level, config, *this); return level; } static const dynamic_reconfigure::ConfigDescription &__getDescriptionMessage__(); static const PlanningSceneMonitorDynamicReconfigureConfig &__getDefault__(); static const PlanningSceneMonitorDynamicReconfigureConfig &__getMax__(); static const PlanningSceneMonitorDynamicReconfigureConfig &__getMin__(); static const std::vector<AbstractParamDescriptionConstPtr> &__getParamDescriptions__(); static const std::vector<AbstractGroupDescriptionConstPtr> &__getGroupDescriptions__(); private: static const PlanningSceneMonitorDynamicReconfigureConfigStatics *__get_statics__(); }; template <> // Max and min are ignored for strings. inline void PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<std::string>::clamp(PlanningSceneMonitorDynamicReconfigureConfig &config, const PlanningSceneMonitorDynamicReconfigureConfig &max, const PlanningSceneMonitorDynamicReconfigureConfig &min) const { return; } class PlanningSceneMonitorDynamicReconfigureConfigStatics { friend class PlanningSceneMonitorDynamicReconfigureConfig; PlanningSceneMonitorDynamicReconfigureConfigStatics() { PlanningSceneMonitorDynamicReconfigureConfig::GroupDescription<PlanningSceneMonitorDynamicReconfigureConfig::DEFAULT, PlanningSceneMonitorDynamicReconfigureConfig> Default("Default", "", 0, 0, true, &PlanningSceneMonitorDynamicReconfigureConfig::groups); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __min__.publish_planning_scene = 0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __max__.publish_planning_scene = 1; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __default__.publish_planning_scene = 0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" Default.abstract_parameters.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<bool>("publish_planning_scene", "bool", 1, "Set to True to publish Planning Scenes", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_planning_scene))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __param_descriptions__.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<bool>("publish_planning_scene", "bool", 1, "Set to True to publish Planning Scenes", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_planning_scene))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __min__.publish_planning_scene_hz = 0.1; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __max__.publish_planning_scene_hz = 100.0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __default__.publish_planning_scene_hz = 4.0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" Default.abstract_parameters.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<double>("publish_planning_scene_hz", "double", 2, "Set the maximum frequency at which planning scene updates are published", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_planning_scene_hz))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __param_descriptions__.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<double>("publish_planning_scene_hz", "double", 2, "Set the maximum frequency at which planning scene updates are published", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_planning_scene_hz))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __min__.publish_geometry_updates = 0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __max__.publish_geometry_updates = 1; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __default__.publish_geometry_updates = 1; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" Default.abstract_parameters.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<bool>("publish_geometry_updates", "bool", 3, "Set to True to publish geometry updates of the planning scene", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_geometry_updates))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __param_descriptions__.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<bool>("publish_geometry_updates", "bool", 3, "Set to True to publish geometry updates of the planning scene", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_geometry_updates))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __min__.publish_state_updates = 0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __max__.publish_state_updates = 1; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __default__.publish_state_updates = 0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" Default.abstract_parameters.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<bool>("publish_state_updates", "bool", 4, "Set to True to publish geometry updates of the planning scene", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_state_updates))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __param_descriptions__.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<bool>("publish_state_updates", "bool", 4, "Set to True to publish geometry updates of the planning scene", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_state_updates))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __min__.publish_transforms_updates = 0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __max__.publish_transforms_updates = 1; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __default__.publish_transforms_updates = 0; //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" Default.abstract_parameters.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<bool>("publish_transforms_updates", "bool", 5, "Set to True to publish geometry updates of the planning scene", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_transforms_updates))); //#line 260 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __param_descriptions__.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::ParamDescription<bool>("publish_transforms_updates", "bool", 5, "Set to True to publish geometry updates of the planning scene", "", &PlanningSceneMonitorDynamicReconfigureConfig::publish_transforms_updates))); //#line 231 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" Default.convertParams(); //#line 231 "/opt/ros/hydro/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py" __group_descriptions__.push_back(PlanningSceneMonitorDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr(new PlanningSceneMonitorDynamicReconfigureConfig::GroupDescription<PlanningSceneMonitorDynamicReconfigureConfig::DEFAULT, PlanningSceneMonitorDynamicReconfigureConfig>(Default))); //#line 390 "/opt/ros/hydro/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template" for (std::vector<PlanningSceneMonitorDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr>::const_iterator i = __group_descriptions__.begin(); i != __group_descriptions__.end(); i++) { __description_message__.groups.push_back(**i); } __max__.__toMessage__(__description_message__.max, __param_descriptions__, __group_descriptions__); __min__.__toMessage__(__description_message__.min, __param_descriptions__, __group_descriptions__); __default__.__toMessage__(__description_message__.dflt, __param_descriptions__, __group_descriptions__); } std::vector<PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr> __param_descriptions__; std::vector<PlanningSceneMonitorDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr> __group_descriptions__; PlanningSceneMonitorDynamicReconfigureConfig __max__; PlanningSceneMonitorDynamicReconfigureConfig __min__; PlanningSceneMonitorDynamicReconfigureConfig __default__; dynamic_reconfigure::ConfigDescription __description_message__; static const PlanningSceneMonitorDynamicReconfigureConfigStatics *get_instance() { // Split this off in a separate function because I know that // instance will get initialized the first time get_instance is // called, and I am guaranteeing that get_instance gets called at // most once. static PlanningSceneMonitorDynamicReconfigureConfigStatics instance; return &instance; } }; inline const dynamic_reconfigure::ConfigDescription &PlanningSceneMonitorDynamicReconfigureConfig::__getDescriptionMessage__() { return __get_statics__()->__description_message__; } inline const PlanningSceneMonitorDynamicReconfigureConfig &PlanningSceneMonitorDynamicReconfigureConfig::__getDefault__() { return __get_statics__()->__default__; } inline const PlanningSceneMonitorDynamicReconfigureConfig &PlanningSceneMonitorDynamicReconfigureConfig::__getMax__() { return __get_statics__()->__max__; } inline const PlanningSceneMonitorDynamicReconfigureConfig &PlanningSceneMonitorDynamicReconfigureConfig::__getMin__() { return __get_statics__()->__min__; } inline const std::vector<PlanningSceneMonitorDynamicReconfigureConfig::AbstractParamDescriptionConstPtr> &PlanningSceneMonitorDynamicReconfigureConfig::__getParamDescriptions__() { return __get_statics__()->__param_descriptions__; } inline const std::vector<PlanningSceneMonitorDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr> &PlanningSceneMonitorDynamicReconfigureConfig::__getGroupDescriptions__() { return __get_statics__()->__group_descriptions__; } inline const PlanningSceneMonitorDynamicReconfigureConfigStatics *PlanningSceneMonitorDynamicReconfigureConfig::__get_statics__() { const static PlanningSceneMonitorDynamicReconfigureConfigStatics *statics; if (statics) // Common case return statics; boost::mutex::scoped_lock lock(dynamic_reconfigure::__init_mutex__); if (statics) // In case we lost a race. return statics; statics = PlanningSceneMonitorDynamicReconfigureConfigStatics::get_instance(); return statics; } } #endif // __PLANNINGSCENEMONITORDYNAMICRECONFIGURERECONFIGURATOR_H__
[ "peth8881@csel-112-02.csel.loc" ]
peth8881@csel-112-02.csel.loc
e1b24e20bb0606a4a57c73bbee8ef81fff735e29
0e23bc810c8025b6a4242935566f723b9c9cca5e
/Source/objdat.cpp
f332fdfe7e9ebce79e628b0cc00c4a88cc704485
[ "Unlicense", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-public-domain" ]
permissive
Cowcat5150/devilutionX
d826f5695c545ea04220b35b64edeed6a1f6e503
94b0c4b163b1ec0e2feeeabea6755fe87b30f236
refs/heads/master
2020-11-27T21:34:09.422651
2020-05-03T18:22:47
2020-05-03T18:22:47
229,608,767
1
1
Unlicense
2019-12-22T18:00:41
2019-12-22T18:00:40
null
UTF-8
C++
false
false
22,320
cpp
#include "all.h" DEVILUTION_BEGIN_NAMESPACE /** Maps from dun_object_id to object_id. */ int ObjTypeConv[113] = { 0, 4, 20, 21, 22, 24, 11, 12, 13, 0, 0, 0, 0, 0, 25, 41, 26, 0, 8, 9, 10, 80, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 84, 85, 3, 14, 15, 16, 17, 18, 19, 0, 0, 0, 0, 0, 0, 28, 0, 53, 54, 36, 37, 38, 39, 40, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 29, 30, 31, 32, 33, 34, 35, 5, 5, 5, 6, 6, 6, 7, 7, 7, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 0, 0, 89, 90, 47, 46, 94 }; /** Contains the data related to each object ID. */ ObjDataStruct AllObjects[99] = { // clang-format off // oload, ofindex, ominlvl, omaxlvl, olvltype, otheme, oquest, oAnimFlag, oAnimDelay, oAnimLen, oAnimWidth, oSolidFlag, oMissFlag, oLightFlag, oBreak, oSelFlag, oTrapFlag { 1, OFILE_L1BRAZ, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 1, 1, 26, 64, TRUE, TRUE, FALSE, 0, 0, FALSE }, { 1, OFILE_L1DOORS, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 0, 1, 0, 64, FALSE, FALSE, TRUE, 0, 3, TRUE }, { 1, OFILE_L1DOORS, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 0, 2, 0, 64, FALSE, FALSE, TRUE, 0, 3, TRUE }, { 3, OFILE_SKULFIRE, 0, 0, DTYPE_TOWN, THEME_SKELROOM, -1, 1, 2, 11, 96, TRUE, TRUE, FALSE, 0, 0, FALSE }, { 1, OFILE_LEVER, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 0, 1, 1, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 1, OFILE_CHEST1, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 1, OFILE_CHEST2, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 1, OFILE_CHEST3, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 2, OFILE_L1BRAZ, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 0, 0, 0, FALSE, FALSE, FALSE, 0, 0, FALSE }, { 3, OFILE_CANDLE2, 0, 0, DTYPE_TOWN, THEME_SHRINE, -1, 1, 2, 4, 96, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 2, OFILE_L1BRAZ, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 0, 0, 0, FALSE, FALSE, FALSE, 0, 0, FALSE }, { 3, OFILE_BANNER, 0, 0, DTYPE_TOWN, THEME_SKELROOM, -1, 0, 2, 0, 96, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 3, OFILE_BANNER, 0, 0, DTYPE_TOWN, THEME_SKELROOM, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 3, OFILE_BANNER, 0, 0, DTYPE_TOWN, THEME_SKELROOM, -1, 0, 3, 0, 96, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 2, OFILE_SKULPILE, 1, 4, DTYPE_TOWN, THEME_NONE, -1, 0, 0, 1, 96, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 2, OFILE_L1BRAZ, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 0, 0, 0, FALSE, FALSE, FALSE, 0, 0, FALSE }, { 2, OFILE_L1BRAZ, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 0, 0, 0, FALSE, FALSE, FALSE, 0, 0, FALSE }, { 2, OFILE_L1BRAZ, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 0, 0, 0, FALSE, FALSE, FALSE, 0, 0, FALSE }, { 2, OFILE_L1BRAZ, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 0, 0, 0, FALSE, FALSE, FALSE, 0, 0, FALSE }, { 2, OFILE_L1BRAZ, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 0, 0, 0, FALSE, FALSE, FALSE, 0, 0, FALSE }, { 2, OFILE_CRUXSK1, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 15, 96, TRUE, FALSE, TRUE, 1, 3, FALSE }, { 2, OFILE_CRUXSK2, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 15, 96, TRUE, FALSE, TRUE, 1, 3, FALSE }, { 2, OFILE_CRUXSK3, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 15, 96, TRUE, FALSE, TRUE, 1, 3, FALSE }, { 1, OFILE_ROCKSTAN, 5, 5, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 2, OFILE_ANGEL, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 2, OFILE_BOOK2, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 2, OFILE_BURNCROS, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 1, 0, 10, 160, TRUE, FALSE, FALSE, 0, 0, FALSE }, { 2, OFILE_NUDE2, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 1, 3, 6, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_SWITCH4, 16, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 1, OFILE_TNUDEM, 13, 16, DTYPE_TOWN, THEME_NONE, Q_BUTCHER, 0, 1, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TNUDEM, 13, 16, DTYPE_TOWN, THEME_TORTURE, Q_BUTCHER, 0, 2, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TNUDEM, 13, 16, DTYPE_TOWN, THEME_TORTURE, Q_BUTCHER, 0, 3, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TNUDEM, 13, 16, DTYPE_TOWN, THEME_TORTURE, Q_BUTCHER, 0, 4, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TNUDEW, 13, 16, DTYPE_TOWN, THEME_TORTURE, Q_BUTCHER, 0, 1, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TNUDEW, 13, 16, DTYPE_TOWN, THEME_TORTURE, Q_BUTCHER, 0, 2, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TNUDEW, 13, 16, DTYPE_TOWN, THEME_TORTURE, Q_BUTCHER, 0, 3, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TSOUL, 13, 16, DTYPE_TOWN, THEME_NONE, Q_BUTCHER, 0, 1, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TSOUL, 13, 16, DTYPE_TOWN, THEME_NONE, Q_BUTCHER, 0, 2, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TSOUL, 13, 16, DTYPE_TOWN, THEME_NONE, Q_BUTCHER, 0, 3, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TSOUL, 13, 16, DTYPE_TOWN, THEME_NONE, Q_BUTCHER, 0, 4, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_TSOUL, 13, 16, DTYPE_TOWN, THEME_NONE, Q_BUTCHER, 0, 5, 0, 128, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_BOOK2, 6, 6, DTYPE_TOWN, THEME_NONE, -1, 0, 4, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_L2DOORS, 5, 8, DTYPE_CATACOMBS, THEME_NONE, -1, 0, 1, 0, 64, FALSE, FALSE, TRUE, 0, 3, TRUE }, { 1, OFILE_L2DOORS, 5, 8, DTYPE_CATACOMBS, THEME_NONE, -1, 0, 2, 0, 64, FALSE, FALSE, TRUE, 0, 3, FALSE }, { 1, OFILE_WTORCH4, 5, 8, DTYPE_CATACOMBS, THEME_NONE, -1, 1, 1, 9, 96, FALSE, TRUE, FALSE, 0, 0, FALSE }, { 1, OFILE_WTORCH3, 5, 8, DTYPE_CATACOMBS, THEME_NONE, -1, 1, 1, 9, 96, FALSE, TRUE, FALSE, 0, 0, FALSE }, { 1, OFILE_WTORCH1, 5, 8, DTYPE_CATACOMBS, THEME_NONE, -1, 1, 1, 9, 96, FALSE, TRUE, FALSE, 0, 0, FALSE }, { 1, OFILE_WTORCH2, 5, 8, DTYPE_CATACOMBS, THEME_NONE, -1, 1, 1, 9, 96, FALSE, TRUE, FALSE, 0, 0, FALSE }, { 1, OFILE_SARC, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 0, 1, 5, 128, TRUE, TRUE, TRUE, 0, 3, TRUE }, { 2, OFILE_FLAME1, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 0, 1, 20, 96, FALSE, TRUE, TRUE, 0, 0, FALSE }, { 2, OFILE_LEVER, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 0, 1, 2, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 2, OFILE_MINIWATR, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 1, 1, 10, 64, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_BOOK1, 3, 4, DTYPE_CATHEDRAL, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_TRAPHOLE, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 64, FALSE, TRUE, TRUE, 0, 0, FALSE }, { 1, OFILE_TRAPHOLE, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 2, 0, 64, FALSE, TRUE, TRUE, 0, 0, FALSE }, { 2, OFILE_BCASE, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 2, OFILE_WEAPSTND, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 1, OFILE_BARREL, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 9, 96, TRUE, TRUE, TRUE, 1, 3, FALSE }, { 1, OFILE_BARRELEX, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 10, 96, TRUE, TRUE, TRUE, 1, 3, FALSE }, { 3, OFILE_LSHRINEG, 0, 0, DTYPE_TOWN, THEME_SHRINE, -1, 0, 1, 11, 128, FALSE, FALSE, TRUE, 0, 3, FALSE }, { 3, OFILE_RSHRINEG, 0, 0, DTYPE_TOWN, THEME_SHRINE, -1, 0, 1, 11, 128, FALSE, FALSE, TRUE, 0, 3, FALSE }, { 3, OFILE_BOOK2, 0, 0, DTYPE_TOWN, THEME_SKELROOM, -1, 0, 4, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 3, OFILE_BCASE, 0, 0, DTYPE_TOWN, THEME_LIBRARY, -1, 0, 3, 0, 96, FALSE, FALSE, TRUE, 0, 3, FALSE }, { 3, OFILE_BCASE, 0, 0, DTYPE_TOWN, THEME_LIBRARY, -1, 0, 4, 0, 96, FALSE, FALSE, TRUE, 0, 3, FALSE }, { 3, OFILE_BOOK2, 0, 0, DTYPE_TOWN, THEME_LIBRARY, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 3, OFILE_CANDLE2, 0, 0, DTYPE_TOWN, THEME_LIBRARY, -1, 1, 2, 4, 96, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 3, OFILE_BLOODFNT, 0, 0, DTYPE_TOWN, THEME_BLOODFOUNTAIN, -1, 1, 2, 10, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_DECAP, 13, 16, DTYPE_TOWN, THEME_DECAPITATED, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, FALSE }, { 1, OFILE_CHEST1, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 1, OFILE_CHEST2, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 1, OFILE_CHEST3, 1, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { 1, OFILE_BOOK1, 7, 7, DTYPE_CATACOMBS, THEME_NONE, Q_BLIND, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_BOOK1, 5, 5, DTYPE_CATACOMBS, THEME_NONE, Q_BLOOD, 0, 4, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_PEDISTL, 5, 5, DTYPE_CATACOMBS, THEME_NONE, Q_BLOOD, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_L3DOORS, 9, 12, DTYPE_CAVES, THEME_NONE, -1, 0, 1, 0, 64, FALSE, FALSE, TRUE, 0, 3, TRUE }, { 1, OFILE_L3DOORS, 9, 12, DTYPE_CAVES, THEME_NONE, -1, 0, 2, 0, 64, FALSE, FALSE, TRUE, 0, 3, TRUE }, { 3, OFILE_PFOUNTN, 0, 0, DTYPE_TOWN, THEME_PURIFYINGFOUNTAIN, -1, 1, 2, 10, 128, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 3, OFILE_ARMSTAND, 0, 0, DTYPE_TOWN, THEME_ARMORSTAND, -1, 0, 1, 0, 96, TRUE, FALSE, TRUE, 0, 3, FALSE }, { 3, OFILE_ARMSTAND, 0, 0, DTYPE_TOWN, THEME_ARMORSTAND, -1, 0, 2, 0, 96, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 3, OFILE_GOATSHRN, 0, 0, DTYPE_TOWN, THEME_GOATSHRINE, -1, 1, 2, 10, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_CAULDREN, 13, 16, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, FALSE, TRUE, 0, 3, FALSE }, { 3, OFILE_MFOUNTN, 0, 0, DTYPE_TOWN, THEME_MURKYFOUNTAIN, -1, 1, 2, 10, 128, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 3, OFILE_TFOUNTN, 0, 0, DTYPE_TOWN, THEME_TEARFOUNTAIN, -1, 1, 2, 4, 128, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_ALTBOY, 0, 0, DTYPE_CATHEDRAL, THEME_NONE, Q_BETRAYER, 0, 1, 0, 128, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 1, OFILE_MCIRL, 0, 0, DTYPE_CATHEDRAL, THEME_NONE, Q_BETRAYER, 0, 1, 0, 96, FALSE, TRUE, TRUE, 0, 0, FALSE }, { 1, OFILE_MCIRL, 0, 0, DTYPE_CATHEDRAL, THEME_NONE, Q_BETRAYER, 0, 1, 0, 96, FALSE, TRUE, TRUE, 0, 0, FALSE }, { 1, OFILE_BKSLBRNT, 4, 12, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_CANDLE2, 2, 12, DTYPE_TOWN, THEME_NONE, Q_BETRAYER, 1, 2, 4, 96, TRUE, TRUE, TRUE, 0, 0, FALSE }, { 1, OFILE_BOOK1, 13, 13, DTYPE_HELL, THEME_NONE, Q_WARLORD, 0, 4, 0, 96, TRUE, TRUE, TRUE, 0, 3, FALSE }, { 1, OFILE_ARMSTAND, 13, 13, DTYPE_TOWN, THEME_NONE, Q_WARLORD, 0, 1, 0, 96, TRUE, FALSE, TRUE, 0, 3, FALSE }, { 2, OFILE_WEAPSTND, 13, 13, DTYPE_TOWN, THEME_NONE, Q_WARLORD, 0, 1, 0, 96, TRUE, FALSE, TRUE, 0, 3, FALSE }, { 2, OFILE_BURNCROS, 0, 0, DTYPE_TOWN, THEME_BRNCROSS, -1, 1, 0, 10, 160, TRUE, FALSE, FALSE, 0, 0, FALSE }, { 2, OFILE_WEAPSTND, 0, 0, DTYPE_TOWN, THEME_WEAPONRACK, -1, 0, 1, 0, 96, TRUE, FALSE, TRUE, 0, 3, FALSE }, { 2, OFILE_WEAPSTND, 0, 0, DTYPE_TOWN, THEME_WEAPONRACK, -1, 0, 2, 0, 96, TRUE, FALSE, TRUE, 0, 0, FALSE }, { 2, OFILE_MUSHPTCH, 0, 0, DTYPE_TOWN, THEME_NONE, Q_MUSHROOM, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 3, TRUE }, { 2, OFILE_LZSTAND, 0, 0, DTYPE_TOWN, THEME_NONE, Q_BETRAYER, 0, 1, 0, 128, TRUE, FALSE, TRUE, 0, 3, FALSE }, { 1, OFILE_DECAP, 9, 9, DTYPE_CAVES, THEME_NONE, -1, 0, 2, 0, 96, TRUE, TRUE, TRUE, 0, 1, FALSE }, { 2, OFILE_CHEST3, 0, 0, DTYPE_TOWN, THEME_NONE, -1, 0, 1, 0, 96, TRUE, TRUE, TRUE, 0, 1, TRUE }, { -1, 0, 0, 0, -1, THEME_NONE, -1, 0, 0, 0, 0, FALSE, FALSE, FALSE, 0, 0, FALSE } // clang-format on }; /** Maps from object_graphic_id to object CEL name. */ char *ObjMasterLoadList[56] = { // might be const "L1Braz", "L1Doors", "Lever", "Chest1", "Chest2", "Banner", "SkulPile", "SkulFire", "SkulStik", "CruxSk1", "CruxSk2", "CruxSk3", "Book1", "Book2", "Rockstan", "Angel", "Chest3", "Burncros", "Candle2", "Nude2", "Switch4", "TNudeM", "TNudeW", "TSoul", "L2Doors", "WTorch4", "WTorch3", "Sarc", "Flame1", "Prsrplt1", "Traphole", "MiniWatr", "WTorch2", "WTorch1", "BCase", "BShelf", "WeapStnd", "Barrel", "Barrelex", "LShrineG", "RShrineG", "Bloodfnt", "Decap", "Pedistl", "L3Doors", "PFountn", "Armstand", "Goatshrn", "Cauldren", "MFountn", "TFountn", "Altboy", "Mcirl", "Bkslbrnt", "Mushptch", "LzStand" }; DEVILUTION_END_NAMESPACE
[ "lilgodot2@gmail.com" ]
lilgodot2@gmail.com
95b7ec51de6ec64ae61c82908f69eac17987fd72
e76e1d3bef8dda184f6ad869ef68e55b9a63f4bb
/vectorize/matmul.cc
1682769331f6e5b7a3a686dc2f7ddd337405937e
[]
no_license
VinInn/ctest
1dc634ba662e579ffe9ddabfde21fe17d9bc1534
8dbef5207cb3bd7d83e1874f0fce3f98e66c1915
refs/heads/master
2023-07-14T21:19:58.215969
2023-07-08T06:04:55
2023-07-08T06:04:55
21,533,811
3
0
null
null
null
null
UTF-8
C++
false
false
2,286
cc
alignas(32) float a[4][4]; alignas(32) float b[4][4]; alignas(32) float c[4][4]; void matmul() { for (int i=0;i!=4;++i) for (int j=0;j!=4;++j) { float sum=0; for (int k=0;k!=4;++k) sum += a[i][k]*b[k][j]; c[i][j]=sum; } } alignas(32) float src1[4][4]; alignas(32) float src2[4][4]; alignas(32) float dest[4][4]; void matmulU(){ dest[0][0] = src1[0][0] * src2[0][0] + src1[0][1] * src2[1][0] + src1[0][2] * src2[2][0] + src1[0][3] * src2[3][0]; dest[0][1] = src1[0][0] * src2[0][1] + src1[0][1] * src2[1][1] + src1[0][2] * src2[2][1] + src1[0][3] * src2[3][1]; dest[0][2] = src1[0][0] * src2[0][2] + src1[0][1] * src2[1][2] + src1[0][2] * src2[2][2] + src1[0][3] * src2[3][2]; dest[0][3] = src1[0][0] * src2[0][3] + src1[0][1] * src2[1][3] + src1[0][2] * src2[2][3] + src1[0][3] * src2[3][3]; dest[1][0] = src1[1][0] * src2[0][0] + src1[1][1] * src2[1][0] + src1[1][2] * src2[2][0] + src1[1][3] * src2[3][0]; dest[1][1] = src1[1][0] * src2[0][1] + src1[1][1] * src2[1][1] + src1[1][2] * src2[2][1] + src1[1][3] * src2[3][1]; dest[1][2] = src1[1][0] * src2[0][2] + src1[1][1] * src2[1][2] + src1[1][2] * src2[2][2] + src1[1][3] * src2[3][2]; dest[1][3] = src1[1][0] * src2[0][3] + src1[1][1] * src2[1][3] + src1[1][2] * src2[2][3] + src1[1][3] * src2[3][3]; dest[2][0] = src1[2][0] * src2[0][0] + src1[2][1] * src2[1][0] + src1[2][2] * src2[2][0] + src1[2][3] * src2[3][0]; dest[2][1] = src1[2][0] * src2[0][1] + src1[2][1] * src2[1][1] + src1[2][2] * src2[2][1] + src1[2][3] * src2[3][1]; dest[2][2] = src1[2][0] * src2[0][2] + src1[2][1] * src2[1][2] + src1[2][2] * src2[2][2] + src1[2][3] * src2[3][2]; dest[2][3] = src1[2][0] * src2[0][3] + src1[2][1] * src2[1][3] + src1[2][2] * src2[2][3] + src1[2][3] * src2[3][3]; dest[3][0] = src1[3][0] * src2[0][0] + src1[3][1] * src2[1][0] + src1[3][2] * src2[2][0] + src1[3][3] * src2[3][0]; dest[3][1] = src1[3][0] * src2[0][1] + src1[3][1] * src2[1][1] + src1[3][2] * src2[2][1] + src1[3][3] * src2[3][1]; dest[3][2] = src1[3][0] * src2[0][2] + src1[3][1] * src2[1][2] + src1[3][2] * src2[2][2] + src1[3][3] * src2[3][2]; dest[3][3] = src1[3][0] * src2[0][3] + src1[3][1] * src2[1][3] + src1[3][2] * src2[2][3] + src1[3][3] * src2[3][3]; };
[ "vincenzo.innocente@cern.ch" ]
vincenzo.innocente@cern.ch
c3241cb2ee9560777fb0ec769313af3715efe0be
bbf7115b8757dd6b6ac0c7676dd14796e64d1fbb
/include/fluidity/setting/parameter/shock_parameter.hpp
85f6f3f64602e119bc9de7fa6dab6c21f1fcc378
[ "MIT" ]
permissive
robclu/fluidity
c1a83a478cf053cb440907af79bb48eab328d38c
22069dc3b0280f843494913a2371f940531d1744
refs/heads/master
2021-05-04T22:06:20.367160
2019-09-06T08:10:54
2019-09-06T08:10:54
120,003,836
1
0
null
null
null
null
UTF-8
C++
false
false
4,523
hpp
//==--- fluidity/setting/parameter/shock_parameter.hpp ----- -*- C++ -*- ---==// // // Fluidity // // Copyright (c) 2018 Rob Clucas. // // This file is distributed under the MIT License. See LICENSE for details. // //==------------------------------------------------------------------------==// // /// \file shock_parameter.hpp /// \brief This file implements the Parameter interface to allow a shock to be /// defined for a simulation. // //==------------------------------------------------------------------------==// #ifndef FLUIDITY_SETTING_PARAMETER_SHOCK_PARAMETER_HPP #define FLUIDITY_SETTING_PARAMETER_SHOCK_PARAMETER_HPP #include "parameter.hpp" #include <fluidity/setting/settings.hpp> #include <fluidity/utility/string.hpp> namespace fluid { namespace setting { /// The ShockParameter class specifies the format for defining a shock for a /// simulation. struct ShockParameter : public Parameter<ShockParameter> { private: /// Defines the format for a domain parameter. static constexpr const char* format_string = "shock : {\n" " mach : value,\n" " x : value,\n" " [y : value][,]\n" " [z : value][,]\n" " [normal : { \n" " x : value,\n" " y : value,\n" " z : value\n" " }]\n" "}\n"; public: /// Defines a list of the possible dimension values. static constexpr std::array<char, 3> pos_values = { 'x', 'y', 'z' }; /// Defines the name of the parameter. static constexpr const char* name = "shock"; /// Defines the identifier for the mach number. static constexpr const char* mach = "mach"; /// Defines the identifier for the mach number. static constexpr const char* normal = "normal"; /// Defines the type of the container for the dimension information. using container_t = std::vector<PositionInfo>; /// Returns a string which defines the required format for the parameter. std::string format() const { return format_string; } /// Returns a vector of identifiers for the names of settings for the domain. std::vector<std::string> get_property_names() const { return std::vector<std::string>{mach, "x", "y", "z", normal}; } /// Returns a string with the information for the parameter. std::string printable_string() const { std::ostringstream stream; util::format_name_value(stream, "name", name, 0, 4); util::format_name_value(stream, mach, std::to_string(_mach), 2); for (const auto& pos : _positions) { util::format_name_value(stream, pos.dim, pos.pos, 2); } return stream.str(); } /// Sets the information for a shock. /// \param[in] setting The setting whose value contains the information /// to use to set the shock information. bool try_set_from_setting(const Setting& setting) { if (!this->contains_param(setting.name)) return false; auto props = Settings::from_string(setting.value); for (auto& prop : props) { if (!this->valid_property(prop.name)) { std::cout << "Invalid property : " << prop.name << " for parameter : " << name << ". Can't set this property.\n"; return false; } if (std::strcmp(prop.name.c_str(), mach) == 0) { _mach = std::stod(prop.value); continue; } for (const auto pos : pos_values) { if (prop.name.find(pos) == std::string::npos) { continue; } if (prop.complex) { std::cout << "Failed to parse position component : " << pos << " for shock. Shock parameter must have the following " << "format:\n" << format_string; return false; } _positions.emplace_back(); auto &p = _positions.back(); p.dim = prop.name; p.pos = std::stod(prop.value); util::remove(p.dim, ' '); break; } } if (_mach <= 0.0 || _positions.size() == 0) { std::cout << "Failed to parse " << name << " correctly. " << "Shock must have the following format:\n" << format_string; return false; } this->_set = true; return this->_set; } private: double _mach = 0.0; //!< Mach number for the shock. container_t _positions; //!< Positions of the shock. }; }} // namespace fluid::setting #endif // FLUIDITY_SETTING_PARAMETER_SHOCK_PARAMETER_HPP
[ "robjclucas@gmail.com" ]
robjclucas@gmail.com
60e2ed7d0dc9c1c3befd3043182f48555882e347
4d0300263d28fb461f285cc2c3dfd7c51621cb4d
/external/Angle/Project/src/libGLESv2/renderer/InputLayoutCache.h
bb1a8eebcf7a6ca990cab9382558f33978147a00
[ "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-free-unknown", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
coronalabs/corona
6a108e8bfc8026e8c85e6768cdd8590b5a83bdc2
5e853b590f6857f43f4d1eb98ee2b842f67eef0d
refs/heads/master
2023-08-30T14:29:19.542726
2023-08-22T15:18:29
2023-08-22T15:18:29
163,527,358
2,487
326
MIT
2023-09-02T16:46:40
2018-12-29T17:05:15
C++
UTF-8
C++
false
false
2,596
h
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // InputLayoutCache.h: Defines InputLayoutCache, a class that builds and caches // D3D11 input layouts. #ifndef LIBGLESV2_RENDERER_INPUTLAYOUTCACHE_H_ #define LIBGLESV2_RENDERER_INPUTLAYOUTCACHE_H_ #include "libGLESv2/Constants.h" #include "common/angleutils.h" namespace gl { class ProgramBinary; } namespace rx { struct TranslatedAttribute; class InputLayoutCache { public: InputLayoutCache(); virtual ~InputLayoutCache(); void initialize(ID3D11Device *device, ID3D11DeviceContext *context); void clear(); void markDirty(); GLenum applyVertexBuffers(TranslatedAttribute attributes[gl::MAX_VERTEX_ATTRIBS], gl::ProgramBinary *programBinary); private: DISALLOW_COPY_AND_ASSIGN(InputLayoutCache); struct InputLayoutElement { D3D11_INPUT_ELEMENT_DESC desc; GLenum glslElementType; }; struct InputLayoutKey { unsigned int elementCount; InputLayoutElement elements[gl::MAX_VERTEX_ATTRIBS]; const char *begin() const { return reinterpret_cast<const char*>(&elementCount); } const char *end() const { return reinterpret_cast<const char*>(&elements[elementCount]); } }; struct InputLayoutCounterPair { ID3D11InputLayout *inputLayout; unsigned long long lastUsedTime; }; ID3D11InputLayout *mCurrentIL; unsigned int mCurrentBuffers[gl::MAX_VERTEX_ATTRIBS]; UINT mCurrentVertexStrides[gl::MAX_VERTEX_ATTRIBS]; UINT mCurrentVertexOffsets[gl::MAX_VERTEX_ATTRIBS]; static std::size_t hashInputLayout(const InputLayoutKey &inputLayout); static bool compareInputLayouts(const InputLayoutKey &a, const InputLayoutKey &b); typedef std::size_t (*InputLayoutHashFunction)(const InputLayoutKey &); typedef bool (*InputLayoutEqualityFunction)(const InputLayoutKey &, const InputLayoutKey &); typedef std::unordered_map<InputLayoutKey, InputLayoutCounterPair, InputLayoutHashFunction, InputLayoutEqualityFunction> InputLayoutMap; InputLayoutMap mInputLayoutMap; static const unsigned int kMaxInputLayouts; unsigned long long mCounter; ID3D11Device *mDevice; ID3D11DeviceContext *mDeviceContext; }; } #endif // LIBGLESV2_RENDERER_INPUTLAYOUTCACHE_H_
[ "vlad@coronalabs.com" ]
vlad@coronalabs.com
6620bda6c999e6ebcf2677a68170ec3e325644d6
77485e230996e9d0ff81847b4bcec4a6565d4058
/day01/ex06/main.cpp
05ac5488086e1862b77bf5c3c9fcf1636af511cc
[]
no_license
logankaser/piscine_cpp
ecd841f1a5e31a0b2cebbbf68625903ee74c0a2e
8e2f41256a2eb8f8265750d3404b6e12de4ef818
refs/heads/master
2020-03-16T13:16:09.353259
2018-05-09T01:34:35
2018-05-09T01:34:35
132,685,074
1
0
null
null
null
null
UTF-8
C++
false
false
1,310
cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: lkaser <lkaser@student.42.us.org> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2018/01/09 17:54:15 by lkaser #+# #+# */ /* Updated: 2018/01/09 17:56:49 by lkaser ### ########.fr */ /* */ /* ************************************************************************** */ #include "HumanA.hpp" #include "HumanB.hpp" #include "Weapon.hpp" int main() { { Weapon club = Weapon("crude spiked club"); HumanA bob("Bob", club); bob.attack(); club.setType("some other type of club"); bob.attack(); } { Weapon club = Weapon("crude spiked club"); HumanB jim("Jim"); jim.setWeapon(club); jim.attack(); club.setType("some other type of club"); jim.attack(); } return (0); }
[ "logankaser@fyrn.io" ]
logankaser@fyrn.io
80c4db1430fe6c0a9e0ff29652901b8d864150e4
1b3ea745b0afc8d9786e1ecba14bbf0747d2f309
/Libraries/LibHTML/Layout/LayoutListItemMarker.h
63bf75b90bdd14727a23a209f8bf4697bf7fb383
[ "BSD-2-Clause" ]
permissive
InspectorDidi/serenity
09f2b8001dddf91e94df12f71f45976d2fa38541
eb77e680ed615e9daf5b165359b4a45541b4e6f3
refs/heads/master
2020-08-22T08:36:08.949554
2019-10-20T10:30:25
2019-10-20T10:55:55
216,357,640
2
0
BSD-2-Clause
2019-10-20T12:23:04
2019-10-20T12:23:04
null
UTF-8
C++
false
false
343
h
#pragma once #include <LibHTML/Layout/LayoutBox.h> class LayoutListItemMarker final : public LayoutBox { public: LayoutListItemMarker(); virtual ~LayoutListItemMarker() override; virtual void render(RenderingContext&) override; private: virtual const char* class_name() const override { return "LayoutListItemMarker"; } };
[ "awesomekling@gmail.com" ]
awesomekling@gmail.com
86e83159b782af1c78cb775a1fd5f08d1289103b
a3ca1f53459ef5bc3653f900d7381c2615c51ad9
/C292.cpp
0c26aa9a82a7f9972d74cb2d42e348263a3b4412
[]
no_license
giongto35/CompetitveProgramming
cf7b02dfaecb46c4c949d903675817cd9c2e141b
29b7cdf7796d4054f5e74d2bce7e0247a21968e8
refs/heads/master
2021-01-20T23:32:38.627994
2015-01-30T17:07:56
2015-01-30T17:07:56
30,082,220
1
0
null
null
null
null
UTF-8
C++
false
false
2,901
cpp
#include <vector> #include <list> #include <map> #include <set> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <sstream> #include <iostream> #include <cstdio> #include <cmath> #include <cstdlib> #include <cstring> #include <ctime> #include <queue> using namespace std ; #define FOREACH(it,c) for( __typeof((c).begin()) it=(c).begin();it!=(c).end();it++) #define FOR(i,a,b) for( int i=(a),_b=(b);i<=_b;i++) #define DOW(i,b,a) for( int i=(b),_a=(a);i>=_a;i--) #define REP(i,n) FOR(i,0,(n)-1) #define DEP(i,n) DOW(i,(n)-1,0) #define all(a) (a).begin() , (a).end() #define push(a,b) (a).push_back((b)) typedef vector<int> VI ; typedef vector<string> VS ; template<class T> inline int size(const T&c) { return c.size(); } using namespace std; long long n; const double eps =0.1; long long res,res2; long long l,r; long long a,b,c,n2,z; long long bnrsearch(long long l,long long r,long long x) { long long res=l; long long mid; //cout<<l<<' '<<r<<endl; while (l<=r) { mid = (l+r)/2; //cout<<mid<<' '<<x<<' '<<mid<<' '<<(n+0.0)/x/mid<<endl; if (x+mid>(n+0.0)/x/mid) { //cout<<"CO"<<endl; res=mid; r=mid-1; } else l=mid+1; } return res; } int main() { //freopen("C292.inp","r",stdin); //freopen("C292.out","w",stdout); cin>>n; res=0; if (n%3!=0) { cout<<"0"; } else { n/=3; int gh1=pow(n+eps,(double)1/3); double gh2=pow(4*n+eps,(double)1/3); res2=0; for(int x=1;x<=gh1;x++) { if (n%x!=0) continue; l=max(x,(int)gh2-x+1); //cout<<gh2<<endl; //getch(); n2=n/x; r=sqrt(n2+eps); l=bnrsearch(l,r,x); //cout<<x<<' '<<l<<' '<<n/x/l<<endl; for(long long y=l;y<=r;y++) { if (n2%y!=0) continue; z=n2/y; if (x<=y&&y<=z&&(x+y+z)%2==0) { b=(x+y)-z; c=(y+z)-x; a=(z+x)-y; if (a>0&&b>0&&c>0) { if (a==b&&a==c) res++; else if (a==b||a==c||c==b) res+=3; else res+=6; //cout<<' '<<x<<' '<<y<<' '<<z<<' '<<a<<' '<<b<<' '<<c<<endl; } //else //cout<<x<<' '<<y<<' '<<z<<' '<<a<<' '<<b<<' '<<c<<endl; } } } cout<<res<<endl; } fclose(stdin); fclose(stdout); return 0; }
[ "giongto35@yahoo.com" ]
giongto35@yahoo.com
2ac8de64641fa44a9edc5e337a1285b2302ba53b
e52166e5445ef2a4cd4c8dfaca14d0b63770d9ea
/src/contentmonitoring.cpp
9d7b25048747b00e46d0fb74f6ddbb32217770bd
[]
no_license
Bauteiltoeter/RS485_Master
b51879319d808152526066ec2321613af7fe24ca
d69bb6382b0284ebb23fdde5da332b8909d2041d
refs/heads/master
2020-12-03T00:23:20.293574
2017-06-03T16:40:26
2017-06-03T16:40:26
96,023,502
0
0
null
null
null
null
UTF-8
C++
false
false
1,024
cpp
#include "contentmonitoring.h" ContentMonitoring::ContentMonitoring(int id, QQmlApplicationEngine* qmlEngine) : ContentBasic(id,qmlEngine) { createGUI("qrc:/qml/ContentMonitoring.qml"); hostList.append(new MonitoredHost("tortronik.de")); // hostList.append(new MonitoredHost("acis-ingolstadt.de")); // hostList.append(new MonitoredHost("fingers-welt.de")); // hostList.append(new MonitoredHost("fasdfas.de")); } QString ContentMonitoring::name() { return "Monitoring"; } void ContentMonitoring::run() { static int i=0; static int current_index=0; i++; if(i==25) { foreach(auto host, hostList) host->update(); } if(i==50) { QStringList tmp = hostList[current_index]->generateDisplay(); qDebug() << "generateDisplay:" << tmp; emit requestStringTransmit(contentID,tmp); // qicmp->ping(); i=0; current_index++; if(current_index>=hostList.size()) current_index=0; } }
[ "t.hellige@web.de" ]
t.hellige@web.de
fcbefb89a613faef64b145c812a3e01508a5c673
923ea662e7d3b4c79913e7cd6aff50e48816be74
/include/serial.h
91ddcb93cacae6d383ea9d7b7393c39b45503cc0
[]
no_license
glocklueng/bms-cs
888d39faf9ac4bfe616bc86872d57d465742db14
2cf6e22706d64d7b727b9a9ae5f8cecf751070e0
refs/heads/master
2016-08-11T03:00:50.701547
2015-05-26T05:10:49
2015-05-26T05:10:49
36,353,177
0
0
null
null
null
null
UTF-8
C++
false
false
2,482
h
/** This is an Arduino-inspired C++ serial port library. */ #ifndef __serial_h__ #define __serial_h__ #include <string> #include <vector> #include <stdio.h> /* for error reporting */ #include <string.h> /* for strlen & such reporting */ #if defined(_WIN32) # define WINDOWS 1 # include <windows.h> # define snprintf _snprintf /* what the heck, windows... */ #elif defined(__apple__) # define MACOSX 1 # include <termios.h> #else # define LINUX 1 # include <termios.h> #endif class SerialPort { public: SerialPort(); ~SerialPort(); /* This is the Arduino-inspired interface */ /// Usage: Serial.begin(115200); int begin(int baudrate) { std::vector<std::string> ports=port_list(); if (ports.size()==0) { printf("ERROR! No serial ports found! (Is it plugged in?)\n"); return -1; } if (0==Open(port_list()[0])) { printf("\nOpened serial port %s, baud rate %d\n", port_list()[0].c_str(), baudrate); } else return -1; Set_baud(baudrate); return 0; } /// Return the number of bytes available to read, or 0 if none available. int available(void) { if (Input_wait(0)>0) return 1; else return 0; } /// Read a byte of serial data, or return -1 if none is available. int read(void) { if (Input_wait(0)>0) { unsigned char c; if(Read(&c,1) != 1) { return -1; } else return c; } else return -1; } /// Write a byte of serial data void write(unsigned char theByte) { Write(&theByte,1); } /// Write a string to the serial port void write(char *theString) { while (*theString!=0) Write(theString++,1); } /// Write an entire buffer void write(const void *theBuffer,int len) { Write(theBuffer,len); } /* This is the original C++ interface. */ std::vector<std::string> port_list(); int Open(const std::string& name); std::string error_message(); int Set_baud(int baud); int Read(void *ptr, int count); int Write(const void *ptr, int len); int Input_wait(int msec); void Input_discard(void); int Set_control(int dtr, int rts); void Output_flush(); void Close(void); int Is_open(void); std::string get_name(void); private: int port_is_open; std::string port_name; int baud_rate; std::string error_msg; private: #if defined(LINUX) || defined(MACOSX) int port_fd; struct termios settings_orig; struct termios settings; #elif defined(WINDOWS) HANDLE port_handle; COMMCONFIG port_cfg_orig; COMMCONFIG port_cfg; #endif }; extern SerialPort Serial; #endif // __serial_h__
[ "lawlor@alaska.edu" ]
lawlor@alaska.edu
b65e6315511c60d46a00b7ecb4a88fd1a7d7a90b
065b619484cf0b32d6bf6c35d48a0a09505c1406
/2017训练比赛/SDUT-校赛/f.cpp
5a19dd8d8973eb208fd154f0233b106c9f03d965
[]
no_license
shanPic/CodeOfAcm
8683caf552dbaebae19bb9c6d0816db8356eef43
67ea5ba1695035669f15dbccc88d36ddd1abca54
refs/heads/master
2021-07-10T09:14:02.500346
2017-10-11T15:55:18
2017-10-11T15:55:18
106,294,149
0
0
null
null
null
null
UTF-8
C++
false
false
969
cpp
/* * @FileName: f.cpp * @Author: Pic * @Date: 2017-06-04 13:24:46 * @Last Modified time: 2017-06-04 15:14:23 */ #include <bits/stdc++.h> using namespace std; int main(){ //freopen("data.in","r",stdin); int t; scanf("%d",&t); while(t--){ char str[13]; int n; getchar(); scanf("ma ji ya ba ku nai %s",str); //cout<<111111<<"\t"<<str<<endl; int len=strlen(str); if(str[0]=='0'){ if(len==2){ printf("21%s\n",str); continue; } else if(len==3){ printf("3%s\n",str); continue; } else{ printf("1%s\n",str); continue; } } if(str[0]=='2'&&len==4){ printf("1%s\n",str); continue; } if(len<4){ if(len==1){ if(str[0]-'0'<9){ printf("201%s\n",str); continue; } printf("200%s\n",str); continue; } if(len==2){ printf("20%s\n",str); continue; } if(len==3){ printf("2%s\n",str); continue; } } printf("%s\n",str);continue; } return 0; }
[ "zhanshan333@outlook.com" ]
zhanshan333@outlook.com
ffecdfe4cd687b697eb472783d03e2d2f5d32787
0e9d135183451c443649dd15f15ad6651285a154
/incl/Nubuck/common/common.h
f9a69012e67f70c839576cf035e2b15bcec47cea
[]
no_license
plainoldcj/nubuck
d16186759f6b7532a04c49f1ba922b4c96b772c5
0fa6c7cc31795f248d9d46abd525c80ec0b3bc27
refs/heads/master
2021-01-18T14:45:01.782140
2015-07-01T10:34:43
2015-07-01T10:34:43
9,876,234
0
1
null
null
null
null
UTF-8
C++
false
false
1,913
h
#pragma once #include <stdio.h> #include <string> #include <Nubuck\nubuck_api.h> #define COM_assert(expr) \ do { \ if(!(expr)) { \ common.printf("assertion failed: %s in %s, %d\n", #expr, __FILE__, __LINE__); \ Crash(); \ } \ } \ while(0) namespace COM { struct FileNotFoundException : std::exception { }; struct IOException : std::exception { }; struct InvalidFormatException : std::exception { }; typedef unsigned char byte_t; } // namespace COM namespace COM { class ItTokenizer { private: const char* start; const char* end; const char* name; public: struct Token { const char* start; const char* end; Token() { } Token(const char* start, const char* end); }; const char* const string; const char* const delim; ItTokenizer(const char* string, const char* delim); void SetName(const char* name); // used for error messages Token NextToken(); bool IsValid(const Token& tok) const; unsigned Length(const Token& tok) const; unsigned StartIndex(const Token& tok) const; unsigned EndIndex(const Token& tok) const; Token Expect(const char* name); Token ExpectInt(int& val); Token ExpectFloat(float& val); Token ExpectStr(std::string& val); }; } // namespace COM class Common { private: FILE* _logfile; std::string _baseDir; public: Common(void); ~Common(void); void Init(int argc, char* argv[]); float RandomFloat(float min, float max) const; // contains trailing delimiter, eg. // 'C:\Libraries\LEDA\' const std::string& BaseDir(void) const; const char* GetEnvVar(const std::string& name) const; void printf(const char* format, ...); }; NUBUCK_API void COM_printf(const char* format, ...); extern Common common; void Crash(void);
[ "johndoe.foobar@googlemail.com" ]
johndoe.foobar@googlemail.com
9d0f5d91ca19d7c4d02ae79aab4a5bff29b95794
cd5ea61819e208d56fc85c07e8200e7fc4dea75e
/Word Break/Solution.cpp
522f1a4b73519b00f36b86f13f4e20a1aa6d5e76
[]
no_license
rogers140/leetcode-oj
b741fd42efb877ce10c196fc7d05744bc5e17a67
9b1b8729840d5e20c879c81d460e461465be34c4
refs/heads/master
2020-04-05T23:41:03.033613
2017-01-21T07:39:00
2017-01-21T07:39:00
16,267,782
0
0
null
null
null
null
UTF-8
C++
false
false
1,415
cpp
#include <iostream> #include <unordered_set> #include <string> #include <vector> using namespace std; class Solution { public: bool wordBreak(string s, unordered_set<string>& wordDict) { vector<int> record(s.size(), 0); // 0 is not used, 1 s.substr(i) is true, -1 is false return wordBreak_aux(s, wordDict, record); } bool wordBreak_aux(string s, unordered_set<string>& wordDict, vector<int>& record) { if (s.empty()) return true; for (int i = 1; i <= s.size(); ++i) { if (wordDict.find(s.substr(0, i)) != wordDict.end()) { if (record[i] == 0) { if(wordBreak_aux(s.substr(i), wordDict, record)) { record[i] = 1; } else { record[i] = -1; } } if (record[i] == 1) return true; } } return false; } }; int main(int argc, char const *argv[]) { unordered_set<string> wordDict1 = {"a","aa","aaa","aaaa", "aaaaa","aaaaaa","aaaaaaa", "aaaaaaaa","aaaaaaaaa","aaaaaaaaaa"}; Solution *s = new Solution(); string str1 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"; //cout<<s->wordBreak(str1, wordDict1)<<endl; unordered_set<string> wordDict2 = {"a", "b"}; string str2 = "ab"; cout<<s->wordBreak(str2, wordDict2)<<endl; return 0; }
[ "rogers140@gmail.com" ]
rogers140@gmail.com
942da8b81e66379e4a0392e8fd4e8d029f3525f6
5f42b64351299624e89c6ffdf5e8ff927368acd6
/include/helm_kernels.hpp
d96dca2f1a21b7c81bb04ee311cab73f3436a4ea
[]
no_license
kwkelly/particle
46e50ef12c44a3ea1346be6bd484c6c141ad6a36
65457e8f7b397ad38efa4bd113a92d8ed8ad950a
refs/heads/master
2021-01-23T21:38:54.085402
2015-09-03T16:58:51
2015-09-03T16:58:51
40,743,464
0
0
null
null
null
null
UTF-8
C++
false
false
5,038
hpp
#include <pvfmm.hpp> #ifndef HELM_KERNELS_HPP #define HELM_KERNELS_HPP /* * Function for the helm kernel that accepts a variable which is the wavenumber k */ void helm_kernel_fn_var(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr, double k); /* * Helmholtz kernel with the wavenumber k=1 */ void helm_kernel_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); /* * Kernel associated to the adjoiunt operator which just has wavenumber k=-1 */ void helm_kernel_conj_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); /* * Kernels with slighty higher wavenumbers = 3 and -3 */ void helm_kernel3_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); void helm_kernel_conj3_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); /* * Low wave number kernels with wavenumber =+/- 0.1 */ void helm_kernel_low_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); void helm_kernel_conj_low_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); void helm_kernel_xlow_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); void helm_kernel_conj_xlow_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); /* * High wave number kernels with wavenumber =+/-10.0 */ void helm_kernel_10_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); void helm_kernel_conj_10_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); /* * High wave number kernels with wavenumber =+/-100.0 */ void helm_kernel_100_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); void helm_kernel_conj_100_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); /* * High wave number kernels with wavenumber =+/-1000.0 */ void helm_kernel_1000_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); void helm_kernel_conj_1000_fn(double* r_src, int src_cnt, double* v_src, int dof, double* r_trg, int trg_cnt, double* k_out, pvfmm::mem::MemoryManager* mem_mgr); // build kernels const pvfmm::Kernel<double> helm_kernel=pvfmm::BuildKernel<double, helm_kernel_fn>("helm_kernel", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_conj=pvfmm::BuildKernel<double, helm_kernel_conj_fn>("helm_kernel_conj", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel3=pvfmm::BuildKernel<double, helm_kernel3_fn>("helm_kernel3", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_conj3=pvfmm::BuildKernel<double, helm_kernel_conj3_fn>("helm_kernel_conj3", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_low=pvfmm::BuildKernel<double, helm_kernel_low_fn>("helm_kernel_low", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_conj_low=pvfmm::BuildKernel<double, helm_kernel_conj_low_fn>("helm_kernel_conj_low", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_xlow=pvfmm::BuildKernel<double, helm_kernel_xlow_fn>("helm_kernel_xlow", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_conj_xlow=pvfmm::BuildKernel<double, helm_kernel_conj_xlow_fn>("helm_kernel_conj_xlow", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_10=pvfmm::BuildKernel<double, helm_kernel_10_fn>("helm_kernel_10", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_conj_10=pvfmm::BuildKernel<double, helm_kernel_conj_10_fn>("helm_kernel_conj_10", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_100=pvfmm::BuildKernel<double, helm_kernel_100_fn>("helm_kernel_100", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_conj_100=pvfmm::BuildKernel<double, helm_kernel_conj_100_fn>("helm_kernel_conj_100", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_1000=pvfmm::BuildKernel<double, helm_kernel_1000_fn>("helm_kernel_1000", 3, std::pair<int,int>(2,2)); const pvfmm::Kernel<double> helm_kernel_conj_1000=pvfmm::BuildKernel<double, helm_kernel_conj_1000_fn>("helm_kernel_conj_100", 3, std::pair<int,int>(2,2)); #endif
[ "keith@ices.utexas.edu" ]
keith@ices.utexas.edu
0e99a047398be87b633a6fb09f5ab3bc863d8eea
19eb97436a3be9642517ea9c4095fe337fd58a00
/private/ispu/pkitrust/tests/pkicheck/pkicheck.cpp
dff77e4145fbba336f84a7415c45d1b4c3e77f27
[]
no_license
oturan-boga/Windows2000
7d258fd0f42a225c2be72f2b762d799bd488de58
8b449d6659840b6ba19465100d21ca07a0e07236
refs/heads/main
2023-04-09T23:13:21.992398
2021-04-22T11:46:21
2021-04-22T11:46:21
360,495,781
2
0
null
null
null
null
UTF-8
C++
false
false
17,329
cpp
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1996 - 1999 // // File: pkicheck.cpp // // Contents: Microsoft Internet Security Trust Checker // // History: 05-May-1997 pberkman created // //-------------------------------------------------------------------------- #include <stdio.h> #include <windows.h> #include <io.h> #include <wchar.h> #include "cryptreg.h" #include "wincrypt.h" #include "wintrust.h" #include "softpub.h" #include "mscat.h" #include "unicode.h" #include "dbgdef.h" #include "gendefs.h" #include "cwargv.hxx" #include "printfu.hxx" #include "mssip.h" #include "resource.h" HRESULT _CallWVT(WCHAR *pwszFilename); HRESULT _ExplodeCatalog(WCHAR *pwszCatalogFile); HRESULT _CallCatalogWVT(WCHAR *pwszCatalogFile, WCHAR *pwszMemberTag, WCHAR *pwszMemberFile); int _ShowError(DWORD dwError, WCHAR *pwszFile); void _ToLower(WCHAR *pwszInOut); HRESULT _AddCatalogToDatabase(WCHAR *pwszFileIn); GUID guidPublishedSoftware = WINTRUST_ACTION_GENERIC_VERIFY_V2; GUID guidProviderTest = WINTRUST_ACTION_TRUSTPROVIDER_TEST; GUID guidProviderDriver = DRIVER_ACTION_VERIFY; GUID guidPassedIn; GUID *pguidActionID = &guidPublishedSoftware; DWORD dwExpectedError = ERROR_SUCCESS; WCHAR *pwszCatalogFile = NULL; WCHAR *pwszCatalogMember = NULL; void *pvProviderData = NULL; PrintfU_ *pPrint = NULL; HCATADMIN hCatAdmin = NULL; BOOL fVerbose; BOOL fQuiet; BOOL fIECall; BOOL fTestDump; BOOL fCheckExpectedError = FALSE; BOOL fProcessAllCatMembers; BOOL fCatalogMemberVerify = FALSE; BOOL fUseCatalogDatabase; BOOL fAdd2CatalogDatabase; BOOL fUseDriverProvider = FALSE; DRIVER_VER_INFO sDriverVerInfo; extern "C" int __cdecl wmain(int argc, WCHAR **wargv) { cWArgv_ *pArgs; BOOL fFind; HANDLE hFind; WIN32_FIND_DATA sFindData; int iRet; HRESULT hr; WCHAR *pwszFileIn; WCHAR *pwszLastSlash; WCHAR wszFile[MAX_PATH]; WCHAR wszDir[MAX_PATH]; char szFile[MAX_PATH * 2]; DWORD dwFiles; DWORD dwDirLen; iRet = 0; pPrint = NULL; hFind = INVALID_HANDLE_VALUE; dwFiles = 0; if (!(pPrint = new PrintfU_())) { goto MemoryError; } if (!(pArgs = new cWArgv_((HINSTANCE)GetModuleHandle(NULL), FALSE))) { goto MemoryError; } pArgs->AddUsageText(IDS_USAGETEXT_USAGE, IDS_USAGETEXT_OPTIONS, IDS_USAGETEXT_CMDFILE, IDS_USAGETEXT_ADD, IDS_USAGETEXT_OPTPARAM); pArgs->Add2List(IDS_PARAM_HELP, IDS_PARAMTEXT_HELP, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); pArgs->Add2List(IDS_PARAM_VERBOSE, IDS_PARAMTEXT_VERBOSE, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); pArgs->Add2List(IDS_PARAM_QUIET, IDS_PARAMTEXT_QUIET, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); pArgs->Add2List(IDS_PARAM_TPROV, IDS_PARAMTEXT_TPROV, WARGV_VALUETYPE_WCHAR, NULL, FALSE); pArgs->Add2List(IDS_PARAM_IECALL, IDS_PARAMTEXT_IECALL, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); pArgs->Add2List(IDS_PARAM_TESTDUMP, IDS_PARAMTEXT_TESTDUMP, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); pArgs->Add2List(IDS_PARAM_EXPERROR, IDS_PARAMTEXT_EXPERROR, WARGV_VALUETYPE_DWORDH, NULL, FALSE); pArgs->Add2List(IDS_PARAM_TESTDRV, IDS_PARAMTEXT_TESTDRV, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); pArgs->Add2List(IDS_PARAM_CATFILE, IDS_PARAMTEXT_CATFILE, WARGV_VALUETYPE_WCHAR, NULL, FALSE); pArgs->Add2List(IDS_PARAM_CATMEMBER, IDS_PARAMTEXT_CATMEMBER, WARGV_VALUETYPE_WCHAR, NULL, FALSE); pArgs->Add2List(IDS_PARAM_ALLCATMEM, IDS_PARAMTEXT_ALLCATMEM, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); pArgs->Add2List(IDS_PARAM_CATUSELIST, IDS_PARAMTEXT_CATUSELIST, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); pArgs->Add2List(IDS_PARAM_CATADDLIST, IDS_PARAMTEXT_CATADDLIST, WARGV_VALUETYPE_BOOL, (void *)FALSE, FALSE); if (!(pArgs->Fill(argc, wargv)) || (pArgs->GetValue(IDS_PARAM_HELP))) { wprintf(L"%s", pArgs->GetUsageString()); goto NeededHelp; } pwszCatalogFile = (WCHAR *)pArgs->GetValue(IDS_PARAM_CATFILE); pwszCatalogMember = (WCHAR *)pArgs->GetValue(IDS_PARAM_CATMEMBER); fVerbose = (BOOL)pArgs->GetValue(IDS_PARAM_VERBOSE); fQuiet = (BOOL)pArgs->GetValue(IDS_PARAM_QUIET); fIECall = (BOOL)pArgs->GetValue(IDS_PARAM_IECALL); fTestDump = (BOOL)pArgs->GetValue(IDS_PARAM_TESTDUMP); fProcessAllCatMembers = (BOOL)pArgs->GetValue(IDS_PARAM_ALLCATMEM); fUseCatalogDatabase = (BOOL)pArgs->GetValue(IDS_PARAM_CATUSELIST); fAdd2CatalogDatabase = (BOOL)pArgs->GetValue(IDS_PARAM_CATADDLIST); fUseDriverProvider = (BOOL)pArgs->GetValue(IDS_PARAM_TESTDRV); if (fUseCatalogDatabase) { fCatalogMemberVerify = TRUE; } if (pArgs->IsSet(IDS_PARAM_EXPERROR)) { dwExpectedError = (DWORD)pArgs->GetValue(IDS_PARAM_EXPERROR); fCheckExpectedError = TRUE; } if (!(pwszFileIn = pArgs->GetFileName())) { wprintf(L"%s", pArgs->GetUsageString()); goto ParamError; } if (((pwszCatalogFile) && !(pwszCatalogMember)) || (!(pwszCatalogFile) && (pwszCatalogMember))) { wprintf(L"%s", pArgs->GetUsageString()); goto ParamError; } if ((pwszCatalogFile) && (pwszCatalogMember)) { fCatalogMemberVerify = TRUE; } // // set the appropriete provider // if (pArgs->IsSet(IDS_PARAM_TPROV)) { if (!(wstr2guid((WCHAR *)pArgs->GetValue(IDS_PARAM_TPROV), &guidPassedIn))) { goto GuidError; } pguidActionID = &guidPassedIn; } else if (fTestDump) { pguidActionID = &guidProviderTest; } else if (fUseDriverProvider) { pguidActionID = &guidProviderDriver; pvProviderData = &sDriverVerInfo; memset(&sDriverVerInfo, 0x00, sizeof(DRIVER_VER_INFO)); sDriverVerInfo.cbStruct = sizeof(DRIVER_VER_INFO); } else { pguidActionID = &guidPublishedSoftware; } // // if we are calling just like IE, we only have one file and don't want to // check if it exists or not... just call WVT. // if (fIECall) { dwFiles++; hr = _CallWVT(pwszFileIn); iRet = _ShowError(hr, pwszFileIn); goto CommonReturn; } // // OK.... go into a findfirst/next loop we could have been called with *.* // if (pwszLastSlash = wcsrchr(pwszFileIn, L'\\')) { *pwszLastSlash = NULL; wcscpy(&wszDir[0], pwszFileIn); wcscat(&wszDir[0], L"\\"); *pwszLastSlash = L'\\'; dwDirLen = wcslen(&wszDir[0]); } else { wszDir[0] = NULL; dwDirLen = 0; } szFile[0] = NULL; WideCharToMultiByte(0, 0, pwszFileIn, -1, &szFile[0], MAX_PATH * 2, NULL, NULL); if ((hFind = FindFirstFile(&szFile[0], &sFindData)) == INVALID_HANDLE_VALUE) { pPrint->Display(IDS_CAN_NOT_OPEN_FILE, pwszFileIn); goto FileNotFound; } fFind = TRUE; dwFiles = 0; while (fFind) { if (!(sFindData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { if (dwDirLen > 0) { wcscpy(&wszFile[0], &wszDir[0]); } wszFile[dwDirLen] = NULL; MultiByteToWideChar(0, 0, &sFindData.cFileName[0], -1, &wszFile[dwDirLen], MAX_PATH * sizeof(WCHAR)); if (wszFile[0]) { if (fAdd2CatalogDatabase) { hr = _AddCatalogToDatabase(&wszFile[0]); } else { hr = _CallWVT(&wszFile[0]); } iRet = _ShowError(hr, &wszFile[0]); if (iRet == 0) { hr = ERROR_SUCCESS; } dwFiles++; } } fFind = FindNextFile(hFind, &sFindData); } if (dwFiles < 1) { pPrint->Display(IDS_CAN_NOT_OPEN_FILE, pwszFileIn); goto FileNotFound; } CommonReturn: DELETE_OBJECT(pArgs); DELETE_OBJECT(pPrint); if (hFind != INVALID_HANDLE_VALUE) { FindClose(hFind); } if (hCatAdmin) { CryptCATAdminReleaseContext(hCatAdmin, 0); } return(iRet); ErrorReturn: iRet = 1; goto CommonReturn; TRACE_ERROR_EX(DBG_SS_APP, MemoryError); TRACE_ERROR_EX(DBG_SS_APP, FileNotFound); TRACE_ERROR_EX(DBG_SS_APP, ParamError); TRACE_ERROR_EX(DBG_SS_APP, GuidError); TRACE_ERROR_EX(DBG_SS_APP, NeededHelp); } HRESULT _CallWVT(WCHAR *pwszFilename) { if (fCatalogMemberVerify) { return(_CallCatalogWVT(pwszCatalogFile, pwszCatalogMember, pwszFilename)); } HRESULT hr; WINTRUST_DATA sWTD; WINTRUST_FILE_INFO sWTFI; memset(&sWTD, 0x00, sizeof(WINTRUST_DATA)); sWTD.cbStruct = sizeof(WINTRUST_DATA); sWTD.dwUIChoice = (fQuiet) ? WTD_UI_NONE : WTD_UI_ALL; sWTD.dwUnionChoice = WTD_CHOICE_FILE; sWTD.pFile = &sWTFI; sWTD.pPolicyCallbackData = pvProviderData; memset(&sWTFI, 0x00, sizeof(WINTRUST_FILE_INFO)); sWTFI.cbStruct = sizeof(WINTRUST_FILE_INFO); sWTFI.pcwszFilePath = pwszFilename; sWTFI.hFile = CreateFileU(pwszFilename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); hr = WinVerifyTrust(NULL, pguidActionID, &sWTD); if (sWTFI.hFile != INVALID_HANDLE_VALUE) { CloseHandle(sWTFI.hFile); } if ((fCheckExpectedError) && ((DWORD)hr == dwExpectedError) && (fProcessAllCatMembers)) { if (IsCatalogFile(INVALID_HANDLE_VALUE, pwszFilename)) { return(_ExplodeCatalog(pwszFilename)); } } return(hr); } HRESULT _ExplodeCatalog(WCHAR *pwszCatalogFile) { HRESULT hrReturn; HANDLE hCat; CRYPTCATMEMBER *psMember; hrReturn = ERROR_SUCCESS; // // open the catalog // if (!(hCat = CryptCATOpen(pwszCatalogFile, 0, NULL, 0, 0))) { goto ErrorCatOpen; } psMember = NULL; while (psMember = CryptCATEnumerateMember(hCat, psMember)) { hrReturn |= _CallCatalogWVT(pwszCatalogFile, psMember->pwszReferenceTag, psMember->pwszReferenceTag); } CommonReturn: if (hCat) { CryptCATClose(hCat); } return(hrReturn); ErrorReturn: hrReturn = GetLastError(); goto CommonReturn; TRACE_ERROR_EX(DBG_SS_APP, ErrorCatOpen); } HRESULT _CallCatalogWVT(WCHAR *pwszCatalogFile, WCHAR *pwszMemberTag, WCHAR *pwszMemberFile) { HRESULT hr; DWORD cbHash; WCHAR *pwsz; WINTRUST_DATA sWTD; WINTRUST_CATALOG_INFO sWTCI; memset(&sWTD, 0x00, sizeof(WINTRUST_DATA)); sWTD.cbStruct = sizeof(WINTRUST_DATA); sWTD.dwUIChoice = (fQuiet) ? WTD_UI_NONE : WTD_UI_ALL; sWTD.dwUnionChoice = WTD_CHOICE_CATALOG; sWTD.pCatalog = &sWTCI; sWTD.pPolicyCallbackData = pvProviderData; memset(&sWTCI, 0x00, sizeof(WINTRUST_CATALOG_INFO)); sWTCI.cbStruct = sizeof(WINTRUST_CATALOG_INFO); sWTCI.pcwszCatalogFilePath = pwszCatalogFile; sWTCI.pcwszMemberTag = pwszMemberTag; sWTCI.pcwszMemberFilePath = pwszMemberFile; sWTCI.hMemberFile = CreateFileU(pwszMemberFile, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if (fUseCatalogDatabase) { HCATINFO hCatInfo; CATALOG_INFO sCatInfo; BYTE bHash[40]; if (!(hCatAdmin)) { if (!(CryptCATAdminAcquireContext(&hCatAdmin, NULL, 0))) { goto CatAdminAcquireError; } } pwsz = NULL; cbHash = 40; if (!(CryptCATAdminCalcHashFromFileHandle(sWTCI.hMemberFile, &cbHash, &bHash[0], 0))) { goto CatAdminCalcHashError; } sWTCI.pbCalculatedFileHash = &bHash[0]; sWTCI.cbCalculatedFileHash = cbHash; if (pwsz = wcsrchr(pwszMemberFile, L'\\')) { pwsz++; } else { pwsz = pwszMemberFile; } _ToLower(pwsz); sWTCI.pcwszMemberTag = pwsz; memset(&sCatInfo, 0x00, sizeof(CATALOG_INFO)); sCatInfo.cbStruct = sizeof(CATALOG_INFO); hCatInfo = NULL; while (hCatInfo = CryptCATAdminEnumCatalogFromHash(hCatAdmin, &bHash[0], cbHash, 0, &hCatInfo)) { if (!(CryptCATCatalogInfoFromContext(hCatInfo, &sCatInfo, 0))) { // should do something (??) continue; } sWTCI.pcwszCatalogFilePath = &sCatInfo.wszCatalogFile[0]; hr = WinVerifyTrust(NULL, pguidActionID, &sWTD); if (hr == (HRESULT)dwExpectedError) { CryptCATAdminReleaseCatalogContext(hCatAdmin, hCatInfo, 0); goto CommonReturn; } } SetLastError(ERROR_NOT_FOUND); goto CatMemberNotFound; } hr = WinVerifyTrust(NULL, pguidActionID, &sWTD); CommonReturn: if (sWTCI.hMemberFile != INVALID_HANDLE_VALUE) { CloseHandle(sWTCI.hMemberFile); } return(hr); ErrorReturn: hr = GetLastError(); goto CommonReturn; TRACE_ERROR_EX(DBG_SS_APP, CatAdminCalcHashError); TRACE_ERROR_EX(DBG_SS_APP, CatAdminAcquireError); TRACE_ERROR_EX(DBG_SS_APP, CatMemberNotFound); } int _ShowError(DWORD dwError, WCHAR *pwszFile) { pPrint->Display(IDS_FILEREF, pwszFile); if (fCheckExpectedError) { if (dwError == dwExpectedError) { pPrint->Display(IDS_SUCCEEDED); return(0); } else { pPrint->Display(IDS_EXPECTED_HRESULT, dwExpectedError, dwError); return(1); } } switch(dwError) { case S_OK: pPrint->Display(IDS_SUCCEEDED); return(0); case TRUST_E_SUBJECT_FORM_UNKNOWN: pPrint->Display(IDS_UNKNOWN_FILE_TYPE); break; case TRUST_E_PROVIDER_UNKNOWN: pPrint->Display(IDS_UNKNOWN_PROVIDER); break; case TRUST_E_ACTION_UNKNOWN: pPrint->Display(IDS_UNKNOWN_ACTION); break; case TRUST_E_SUBJECT_NOT_TRUSTED: pPrint->Display(IDS_SUBJECT_NOT_TRUSTED); break; default: pPrint->Display(IDS_FAIL); break; } if (fVerbose) { if (fUseDriverProvider) { pPrint->Display(IDS_DRIVER_PROVIDER_INFO, sDriverVerInfo.wszSignedBy, sDriverVerInfo.wszVersion); } } return(1); } HRESULT _AddCatalogToDatabase(WCHAR *pwszFileIn) { HCATINFO hCatInfo; if (!(hCatAdmin)) { if (!(CryptCATAdminAcquireContext(&hCatAdmin, pguidActionID, 0))) { return(GetLastError()); } } if (hCatInfo = CryptCATAdminAddCatalog(hCatAdmin, pwszFileIn, NULL, 0)) { CryptCATAdminReleaseCatalogContext(hCatAdmin, hCatInfo, 0); return(ERROR_SUCCESS); } return(GetLastError()); } void _ToLower(WCHAR *pwszInOut) { while (*pwszInOut) { *pwszInOut = towlower(*pwszInOut); pwszInOut++; } }
[ "mehmetyilmaz3371@gmail.com" ]
mehmetyilmaz3371@gmail.com
5c565c515ff4b62ad398d91183ff438962c5356a
838c33c42212bf03532c476936f70f8d0cca8193
/KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Action_Response_R_PDU.cpp
1e5bebb812e5d2fb5c719a88bd08c2380bb1b277
[ "BSD-2-Clause" ]
permissive
spitofland/KDIS
140637ff0810fc2df24171eaea4fd9f45505ad17
f14b20dc9328de279a8827c90b78761c2b88ebd9
refs/heads/master
2021-01-12T08:42:14.412716
2016-12-16T18:27:47
2016-12-16T18:27:47
76,668,852
0
1
null
2019-05-30T11:48:38
2016-12-16T16:34:16
C++
UTF-8
C++
false
false
4,879
cpp
/********************************************************************* Copyright 2013 Karl Jones All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. For Further Information Please Contact me at Karljj1@yahoo.com http://p.sf.net/kdis/UserGuide *********************************************************************/ #include "./Action_Response_R_PDU.h" ////////////////////////////////////////////////////////////////////////// using namespace std; using namespace KDIS; using namespace PDU; using namespace DATA_TYPE; using namespace ENUMS; using namespace UTILS; ////////////////////////////////////////////////////////////////////////// // public: ////////////////////////////////////////////////////////////////////////// Action_Response_R_PDU::Action_Response_R_PDU() { m_ui8PDUType = ActionResponse_R_PDU_Type; m_ui16PDULength = ACTION_RESPONSE_R_PDU_SIZE; m_ui8ProtocolVersion = IEEE_1278_1A_1998; m_ui8ProtocolFamily = SimulationManagementwithReliability; } ////////////////////////////////////////////////////////////////////////// Action_Response_R_PDU::Action_Response_R_PDU( KDataStream & stream ) throw( KException ) { Decode( stream, false ); } ////////////////////////////////////////////////////////////////////////// Action_Response_R_PDU::Action_Response_R_PDU( const Header & H, KDataStream & stream ) throw( KException ) : Action_Response_PDU( H ) { Decode( stream, true ); } ////////////////////////////////////////////////////////////////////////// Action_Response_R_PDU::Action_Response_R_PDU( const Action_Request_R_PDU & pdu, RequestStatus RS ) : Action_Response_PDU( pdu, RS ) { m_ui8PDUType = ActionResponse_R_PDU_Type; m_ui8ProtocolVersion = IEEE_1278_1A_1998; m_ui8ProtocolFamily = SimulationManagementwithReliability; } ////////////////////////////////////////////////////////////////////////// Action_Response_R_PDU::~Action_Response_R_PDU() { } ////////////////////////////////////////////////////////////////////////// KString Action_Response_R_PDU::GetAsString() const { KStringStream ss; ss << Header::GetAsString() << "-Action Request-R PDU-\n" << Simulation_Management_Header::GetAsString() << "\tRequest ID: " << m_ui32RequestID << "\n\tRequest Status: " << GetEnumAsStringRequestStatus( m_ui32RequestStatus ) << "\n\tNumber Fixed Datum: " << m_ui32NumFixedDatum << "\n\tNumber Variable Datum: " << m_ui32NumVariableDatum << "\n"; ss << "Fixed Datumn"; vector<FixDtmPtr>::const_iterator citrFixed = m_vFixedDatum.begin(); vector<FixDtmPtr>::const_iterator citrFixedEnd = m_vFixedDatum.end(); for( ; citrFixed != citrFixedEnd; ++citrFixed ) { ss << IndentString( ( *citrFixed )->GetAsString() ); } ss << "Variable Datumn"; vector<VarDtmPtr>::const_iterator citrVar = m_vVariableDatum.begin(); vector<VarDtmPtr>::const_iterator citrVarEnd = m_vVariableDatum.end(); for( ; citrVar != citrVarEnd; ++citrVar ) { ss << IndentString( ( *citrVar )->GetAsString() ); } return ss.str(); } ////////////////////////////////////////////////////////////////////////// KBOOL Action_Response_R_PDU::operator == ( const Action_Response_R_PDU & Value ) const { if( Action_Response_PDU::operator !=( Value ) ) return false; return true; } ////////////////////////////////////////////////////////////////////////// KBOOL Action_Response_R_PDU::operator != ( const Action_Response_R_PDU & Value ) const { return !( *this == Value ); } //////////////////////////////////////////////////////////////////////////
[ "karljj1@yahoo.com" ]
karljj1@yahoo.com
f7e82cb23b44325b440f3eb9227222f5cbbfbf9b
e436bd788779e7a361094783e9ced69d286027bb
/SonicTrax Module Interface/InputEndpointInstance.h
163611a81495f57ae65541bf1f0d79450977479f
[]
no_license
angryzor/SonicTrax
2c6ce18f3f983c9acc1e0a53f8f683d4fea5a947
d992efd6ccce2d29181c775314054ccf9a0a33bf
refs/heads/master
2019-01-02T01:41:59.109681
2013-01-10T17:53:42
2013-01-10T17:53:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
446
h
#pragma once #include <string> #include "TotalCompilationContext.h" #include "EffectCompilationContext.h" namespace Effects { class InputEndpointInstance { public: InputEndpointInstance(void); virtual ~InputEndpointInstance(void); virtual void Compile(TotalCompilationContext& tcc, EffectCompilationContext& ecc) const = 0; virtual std::string GetInvoke(TotalCompilationContext& tcc, EffectCompilationContext& ecc) const = 0; }; }
[ "ruben_tytgat@hotmail.com" ]
ruben_tytgat@hotmail.com