|
|
Авторизация |
|
|
Поиск по указателям |
|
|
|
|
|
|
|
|
|
|
Hogenson G., Lippman S. (Ed.) — C++/CLI: The Visual C++ Language for .NET |
|
|
Предметный указатель |
Templates, CLS compliant alternative 321
Templates, declaring generic interface for 313
Templates, description 27
Templates, generics compared 285
Templates, managed templates 309—316
Templates, ref class template 310
Templates, using generic interface instead of 314
Templates, using template from another assembly 314
Templates, using template with different types 310
This pointer 153—156
This pointer, event accessor (add and remove) methods 193
This pointer, reference types 153
This pointer, static constructors 153
This pointer, value types 155 156
Thiscall calling convention 327 347
Thread synchronization, SyncRoot property, Array class 103
Threads, asynchronous delegates 188
Threads, event accessor (add and remove) methods 193
Threads, handle specific exceptions first 269
Threads, rethrowing in catch block 269
Threads, static counter variable in initialization 119
Threads, throwing exceptions in constructors 265
Threads, throwing objects, not exceptions 266—269
Threads, throwing objects, not exceptions, warning 268
throwing exceptions 259
Thunk 347
Thunk, double thunking 348
Tile constructor, Scrabble game 129
Tile struct, Scrabble game 129
TilePopulation array, Scrabble game 131
tlbimp.exe tool 318
tlbimp.exe tool, COM interop 328
ToCharArray method, String class 77 78
ToPointer method, IntPtr struct 347
ToString method, Array class 105
ToString method, enumeration values as strings 114
ToString method, overrides for 215
ToString method, Scrabble game 129
ToString method, String class 80
ToString, Array class 105
ToXyz methods, converting from string to primitive type 85
Tracking handles see handles
Tracking reference operator (%) 66
Tracking references 52—54
Tracking references, % character 55
Tracking references, dereferenced handles 54
Tracking references, gc-lvalues and gc-rvalues 56
Tracking references, handles and 53
Tracking references, how compilers understand expressions 56
Tracking references, Out attribute 272
Tracking references, passing handle by reference using ^% indirection 54
Tracking references, return values 70 73
Tracking references, syntax 364
Tracking references, using with copy constructors 55
Trivial properties 22
TrueForAll method, Array class 105
Try ... catch block, error handling for files 88
Try ... catch block, throwing objects, not exceptions 268
Try ... catch block, using multiple finally blocks 264
Try ... catch block, walking through invocation list 187
Try structured exceptions, interop with 348—351
Type class 279
Type class, GetAttributes method 280
Type class, GetMembers method 280
Type class, GetMethods method 280
Type class, GetType method 280
Type class, InvokeMember method 280
Type class, reflecting with Type methods 280
Type class, using static method 280
Type identification 372
Type object, getting type information 280
Type parameters, class constraints 297
Type parameters, declaring multiple generic parameters 286
Type parameters, gcnew constraint 300
Type parameters, identifier 286
Type parameters, interface constraints 296
Type parameters, managed templates and generics compared 315
Type parameters, multiple constraints 303
Type parameters, reference type constraints 303
Type parameters, reference types and value types as 298—300
Type parameters, value type constraints 301
Type parameters,generics 285—286
Type safety, clr:safe compiler option 30
Type safety, generic collection classes 290
Type safety, generic types 289
Type safety, reinterpret_cast 209
Type system, CTS (common type system) 3—5
Type system, implications of unified type system 44—45
Typeid, getting type object 280
TypeInitializationException 260
Typename keyword 285
Types, .NET Framework object types 75
Types, aggregate types 12—14
Types, compile-time parameterization of types 27
Types, conversion operators 206—210
Types, conversions between strings and other 85—86
Types, dynamic type 280
Types, enumerated types 110—116
Types, explicitly specifying type argument 288
Types, generic types 288—290
Types, GetType method, Array class 105
Types, inheritance 45
Types, interfaces and dynamically loaded types 255—257
Types, managed array type 9 92—110
Types, marshaling between native and managed code 327
Types, mixed types not supported 14
Types, native and managed arrays compared 101
Types, parameterized function 285
Types, primitive types 11—12
Types, runtime parameterization of 27
Types, static type 280
Types, String type 75
Types, synonyms for primitive types 4
Types, using template with different types 310
Types,arrays 92—110
UInt16/UInt32/UInt64 types 12
Unary % operator 52—53
Unboxing see boxing
Unified type system 3
Unified type system, implications of 44—45
Unmanaged resources, examples of 163
Unmanaged resources, finalizers 161 163
| Unmanaged resources, handling managed and 164 165
Unmanaged resources,wrapper classes for 163
unsafe casts 362
UpdateScore method, Scrabble game 145
UseData function, pitfalls of finalizers 170
using directive 6 37—38
Using directive, as_friend modifier 39
Using directive, COM interop 328
Using directive, compilation modes available for 362
Using directive, cross-language interop 317
Using directive,scope operator (::) 38
Using statement, C# 50
Value class keyword 357
Value classes 12 15—17 365
Value classes, inheritance 117
Value classes, Scrabble game 127
Value classes,sealed modifier 221
Value semantics 4
Value struct 9 357
Value struct type 12
Value tag, XML documentation 360
Value types, abstract classes 220
Value types, as type parameters 298—300
Value types, boxing 44
Value types, changing in function 65
Value types, constraints 301—303
Value types, controlling when object goes out of scope 50
Value types, copy constructors 121
Value types, default constructor for 118
Value types, defining special member functions 15
Value types, explicitly specifying implicit base classes 237
Value types, Hello class 8
Value types, implicit boxing and unboxing 45—47
Value types, inheritance 4 212
Value types, initializing members to default values 15
Value types, introduction 4
Value types, object semantics for 44
Value types, passing as copy 4
Value types, passing as handles 68—70
Value types, passing by reference 65—66 69
Value types, passing object by value in C++/CLI 62
Value types, passing to functions 62
Value types, reference types compared 117
Value types, scope 4
Value types, table of function signatures 70
Value types, this pointer 155
Value types, using handle to 68
Value types, using instead of array 16
Value types, using this in 156
Value types, value type converted to object 46
Value types, value type with members 8
Varargs, CLS compliant alternative 322
Variables, controlling when variable goes out of scope 49
Variables, declaring on stack or on heap 47—52
Variables, object semantics for reference types 43
Variables, object semantics for value types 44
Variables, tracking references 53
Vector property see indexed properties
Versions, name collisions in inheritance hierarchies 212 213
VES (Virtual Execution System) 3
Virtual accessors 223
Virtual accessors, CLS compliant alternative 321
Virtual destructors 231
Virtual functions, C++/CLI and C++ compared 230
Virtual functions, compilation modes available for 363
Virtual functions, overriding 215
Virtual functions, syntax 370
Virtual functions, using new keyword on 214—215
Virtual functions, using override keyword to implement 216
Virtual functions, virtual functions in constructors 228—230
Virtual keyword, accessor (get and set) methods of properties 222 223
Virtual keyword, declaring and implementing interfaces 236
Virtual machine 3
Virtual methods, CLS compliant alternative 322
Virtual methods, methods implementing interface methods 236
Virtual methods, using override keyword on 215—219
Virtual properties 222—225
Visibility, type visibility modifiers 156
Visual Basic, using interface in 320
Visual C++ 2005, caveats when upgrading code to 32
Visual C++ 2005, classic compilation 32
Visual C++ 2005, compilation modes 30—32
Visual C++ 2005, managed extensions syntax 32
Visual C++ 2005, mixed mode 3 31
Visual C++ 2005, pure mode 30—31
Visual C++ 2005, safe mode 30
Visual C++ 2005, targeting .NET Developer Platform with 29
Void type 12
Where keyword 356
Whitespaced keywords 7 357
Width field, formatting strings using 82
Win32 API, using 329
Win32 error codes, interop with 351—352
Win32 function, architecture dependence and 64-bit programming 33
Win32 function, calling in C++/CLI 323
Win32 function, using in managed class 331
Wrappers, COM interop 328
Wrappers, consuming wrapped global function in C# 320
Wrappers, implicit boxing and unboxing 45—47
Wrappers, mixing managed/native classes/types 318
Wrappers, native type thrown from native code 352
Wrappers, using wrapper from C# assembly 337
Wrappers, wrapper classes for unmanaged resources 163
Wrappers, wrapping global function 319
Wrappers, wrapping MessageBoxClass 334 335
Wrappers, wrapping nonexception object 267
Write method, Console class 86
Write method, StreamWriter class 87
write-only properties 22 183
WriteLine method, Console class 81 86
WriteLine method, StreamWriter class 87
x64 architecture 32
xdcmake.exe tool 359
XML documentation 359—362
XML stream, Serializable attribute 273
XmlSerializer, serialization attributes 275
^ character see caret (^) character
^% indirection, passing handle by reference using 54
“as-a” relationship, abstract classes and interfaces compared 235
“has-a” relationship 21
“Hello World” program 5—10
“is-a” relationship 235
|
|
|
Реклама |
|
|
|