|
|
Авторизация |
|
|
Поиск по указателям |
|
|
|
|
|
|
|
|
|
|
Hogenson G., Lippman S. (Ed.) — C++/CLI: The Visual C++ Language for .NET |
|
|
Предметный указатель |
Name collisions, inheritance hierarchies 212—219
Name collisions, interfaces 240—243
Native arrays 100—101
Native base classes 227 229
Native classes, compiling into DLL 324
Native classes, destructors and inheritance 231
Native classes, order of initialization 227
Native classes, using managed object in 342—343
Native classes, using managed types in 159—160
Native code, CLS compliant alternative 321
Native code, exceptions and errors from 269
Native code, interoperability 317
Native code, invoking in safe mode 322
Native code, marshaling types between managed code and 327
Native code, P/Invoke knowing calling convention of target function 324
Native code, pure mode 31
Native code, using #pragma managed/unmanaged 338
Native code, wrapping native type thrown from 352
Native derived classes 227 229
Native entry points 347—348
Native exports, pure mode 31
Native functions 327 362
Native headers 362
Native heap, creating native objects with new 2
Native libraries, creating native MessageBoxClass 332
Native libraries, recompiling as managed code 332—339
Native libraries, using without P/Invoke 329—332
native mode 32 322
Native mode, features available for 362
Native objects/types 1
Native objects/types, compilation modes available for 362
Native objects/types, containing handle in native type 342
Native objects/types, creating with new or malloc 2
Native objects/types, mixed types not supported 14
Native objects/types, using in managed types 157—159 343—347
Native pointers, encapsulating 344
Native resources see unmanaged resources
Native, use of term in this book 2
Navigating arrays 97—100
Navigating arrays, interior pointers 99
Navigating arrays, using for each to traverse arrays 98
Navigating arrays, using interior pointers to traverse arrays 99
Navigating arrays, using iterators to traverse arrays 97
NDP (.NET Developer Platform) 29—41
NDP (.NET Developer Platform), targeting with Visual C++ 2005 29
New keyword 214—215
New keyword, sealed classes 221
New keyword, using on virtual functions 214—215
New keyword, using to implement interface method 238
New keyword, using to override overriding 214
New statement 2
NOASSEMBLY linker option 33
NonSerialized attribute 273
NotFiniteNumberException 260
nullptr keyword 355 364
nullptr value, casting in inheritance hierarchies 233
nullptr value, dynamic_cast 209
nullptr value, object semantics for reference types 43
NullReferenceException 260
NullReferenceException, object semantics for reference types 43
Numeric string formatting 82—84
Obfuscated names 325 327
Object type, debugging tool 45
Object type, displaying Object as string 45
Object type, implications of unified type system 44
Object type, public methods 44
Object type, unboxing Object to integer 46
Object type, unified type system 3
Object type, value type converted to 46
Object types, interfaces 235
Object types, return values 70
Objects, abstract classes and interfaces compared 235
Objects, collections owning and deleting 302
Objects, native and managed arrays compared 101
Objects, orphaned objects 43
Objects, querying object attributes at runtime 279
Objects, throwing objects, not exceptions 266—269
Objects, throwing objects, not exceptions, warning 268
Objects, treating object on heap as if on stack 50
Objects, wrapping nonexception object 267
Obsolete attribute 271—272
OldSyntax option see managed extensions syntax
OnExit event handler 195 198
OnStart event handler 195 198
Operator overloading 203—210
Operator overloading, CLS compliant alternative 322
Operators, % operator 52—53
Operators, & (address-of) operator 52 60
Operators, * operator 54
Operators, + operator 79 80 205
Operators, += operator 22 184 194
Operators, -= operator 22 184 185
Operators, addition operator 79 80
Operators, address-of operator (&) 52
Operators, assignment operator (=) 43
Operators, conversion operators 206—210
Operators, description 127
Operators, exponentiation operator 203
Operators, friend operators 205
Operators, indirection operator 108
Operators, precedence and evaluation 203
Operators, scope operator (::) 38
Operators, static operators 203—206
operators, string operators 79
Operators, tracking reference operator (%) 66
Ordinal numbers, CompareOrdinal method 81
orphaned objects 43
Out attribute 272—273
Out property, Console class 87
OutOfMemoryException 260 265 268
Output file, specifying encoding of 87
OverflowException 260
overloaded functions 184
overloading, operators 203—210
override keyword 215—219
Override keyword, description 356
Override keyword, explicitly specifying function to override 217
Override keyword, sealed classes 221
Override keyword, using on virtual methods 215—219
Override keyword, using to implement virtual function 216
Override modifier 222
Overriding, overriding basic property 222
Overriding, using new keyword to override overriding 214
P/Invoke 317
P/Invoke, calling Win32 function in C++/CLI 323
P/Invoke, CallingConvention property, DllImport attribute 326
P/Invoke, CharSet parameter 323
P/Invoke, compiling native class into DLL 324
P/Invoke, data marshaling 327—328
P/Invoke, holding values of native OS handles/pointers 323
P/Invoke, invoking native functions in safe mode 322
P/Invoke, knowing calling convention of target function 324
P/Invoke, using DllImport attribute EntryPoint property 324
P/Invoke, using native libraries with 322—328
P/Invoke, using native libraries without 329—332
P/Invoke,compilation modes available for 362
Para tag, XML documentation 360
Param tag, XML documentation 360
parameter arrays 107—108
Parameterization 309
Parameterized function 285
Parameterized types 12 27
Parameterized types, templates and generics compared 285
Parameterized types, using in assembly public classes and methods 312
Parameters, arrays as 101—102
Parameters, attribute parameters 271
parameters, passing 60—70
Parameters, passing by reference in C++ 62
Parameters, passing by value and by reference in C++ 60
Parameters, passing object by reference in C++/CLI 62
| Parameters, passing pointer by reference in C++ 62
Parameters, passing reference types by value 63—64
Parameters, passing value types as handles 68—70
Parameters, passing value types by reference 65—66
Parameters, passing, table of function signatures 70
Parameters, passing, temporary handles 66—68
Parameters, specifying out-only parameter 272
Parameters, using generic array as 287
Paramref tag, XML documentation 360
Pass method, Scrabble game 138
Passing parameters 60—70
Passing parameters, passing by reference in C++ 62
Passing parameters, passing by value and by reference in C++ 60
Passing parameters, passing handle by reference using ^% indirection 54
Passing parameters, passing object by reference in C++/CLI 62
Passing parameters, passing pointer by reference in C++ 62
Passing parameters, passing reference types by value 63—64
Passing parameters, passing value types as handles 68—70
Passing parameters, passing value types by reference 65—66
Passing parameters, table of function signatures 70
Passing parameters,temporary handles 66—68
Patterns see design patterns
Performance, exception specifications feature 268
Performance, generic collection classes 290
Performance, implicit boxing and unboxing 46
Permission tag, XML documentation 360
Pinning pointers (pin_ptr) 155 340—341
Pinning pointers (pin_ptr), converting interior pointer to 156
Pinning pointers (pin_ptr), syntax 373
Pinning pointers (pin_ptr), using cout with String class 91
Pinning pointers (pin_ptr), using Win32 functions in managed class 331
Placeholders, code substitutions 81
Placeholders, type parameter identifier 286
Platform invoke see P/Invoke
Platforms, .NET Developer Platform 29—41
Play method, Scrabble game 136
Player struct, Scrabble game 130
PlayerMove method, Scrabble game 146
Players array, Scrabble game 131
Playing cards, enumerating 249
PlayType class, Scrabble game 129
Pointers, CLS compliant alternative 321
Pointers, const_cast 209
Pointers, dereferencing 54
Pointers, dynamic_cast 208
Pointers, holding values of native OS pointers 323
Pointers, interior pointers 339—340
Pointers, interior pointers IntPtr struct 323
Pointers, interior pointers native and managed arrays compared 101
Pointers, interior pointers navigating arrays 97
Pointers, interior pointers navigating arrays using interior pointers 99
Pointers, interior pointers passing by reference in C++ 62
Pointers, interior pointers pinning pointers (pin_ptr) 91 340—341
Pointers, interior pointers PtrToStringChars 91
Pointers, interior pointers safe mode 330
Pointers, interior pointers static_cast 208
Pointers, interior pointers this pointer 153—156
Pointers, interior pointers using double pointer in C 62
Pointers, interior pointers using native objects in managed types 159
Pointers, interior pointers, using to traverse arrays 99
Pointers,dangerous C function 61
Pointers,encapsulating native pointer 344
Pointers,handles compared 2
Point_values array, Scrabble game 129
Polymorphic functions 235
Pow function 203
Pragma managed 338
Pragma pack 363
Pragma unmanaged 338
Pragma unmanaged, compilation modes available for 363
Precedence, operator overloading 203
PreGame method, Scrabble game 135
Primitive types, implicit boxing and unboxing 45—47
Primitive types, inheritance 45
Primitive types, introduction 11—12
Primitive types, synonyms for 4
Primitive types,marshaling 327
PrintBoard method, Scrabble game 133
Printf function, compiling with CRT or safe mode 90
Printf function, secure variants of CRT functions 91
Printf_s function, secure variants of CRT functions 91
PrintPlayerTiles method, Scrabble game 130
PrintScores method, Scrabble game 133
Private inheritance 212
private keyword 156
Private keyword, use of 37
Private method, using to implement interface 244
private modifier 157
Processor architecture dependence 32
Program name 10
Properties 173—177
Properties, accessor (get and set) methods 173
Properties, AllowMultiple 279
Properties, attribute properties 279
Properties, AttributeTargets 279
properties, CallingConvention 324 326
Properties, CLS compliant alternative 321
properties, Current 79 249
Properties, default indexed properties, arrays in classes 108
Properties, default indexed properties, backing property with collection 180
Properties, default indexed properties, defining/using 178
Properties, defining property accessors outside class 176
properties, description 127
Properties, different ways of defining properties 22
properties, EntryPoint 323 324
Properties, Error 87
properties, Exception class 260—262
Properties, In 87
Properties, indexed properties 22 177—184
properties, inherited 279
Properties, initializing attribute with 278
Properties, InnerObject 309
Properties, interfaces with properties and events 240
Properties, introduction 21—22
properties, Length 95 103
Properties, LongLength 103
properties, Message 260
Properties, Out 87
Properties, overriding basic property 222
Properties, Rank 103
Properties, read-only properties 22 176
Properties, reference class using generic List as 27
Properties, reserved names 203
Properties, scalar properties 22
Properties, Source 260
properties, StackTrace 260
Properties, static properties 177
properties, SyncRoot 103
Properties, syntax 368
Properties, trivial properties 22
Properties, using delegate with property accessor 176
Properties, virtual properties 222—225
Properties, write-only properties 183
Properties,chaining expressions 174
Properties,compound assignment operators 22
Properties,computing property values 174
Properties,declaring 173
Property keyword 356
Protected access control specifiers 156 183
protected modifiers 157
Public class 39
Public keyword, absence of 19
Public keyword, protected public access control specifier 156
Public keyword, referencing assemblies 39
Public keyword, use of 37
public modifier 157
Pure mode 30—31 see also mixed mode; safe mode
Pure mode, architecture dependence and 64-bit programming 32
Pure mode, features available for 362
Pure mode, interoperability 272
|
|
|
Реклама |
|
|
|