|
|
Авторизация |
|
|
Поиск по указателям |
|
|
|
|
|
|
|
|
|
|
Hogenson G., Lippman S. (Ed.) — C++/CLI: The Visual C++ Language for .NET |
|
|
Предметный указатель |
link.exe see linkers
Linked lists, traversing with for each 291
Linkers, assembly linker 40
Linkers, CLR programming 40
Linkers, command-line options 40
Linkers, link.exe 40
Linkers, traditional linker 40
Linkers, using native libraries without P/Invoke 330
List class, defining generic List class 27
List class, iterating with for each and with index 307
List tag, XML documentation 359
ListEnumerator class, traversing linked list with for each 295
Lists, Scrabble game 127
Lists, using generic list for strings 298
Literal fields 121—124
Literal fields, accessing 122
Literal fields, compile-time constants 123
Literal fields, compiling static constants and 123
Literal fields, declaring 121
Literal fields, defining static constants and 123
Literal fields, initializing literals 121
Literal fields, new types of constant values 118
Literal fields, Scrabble game 130 132
Literal fields, static keyword 122
Literal fields, syntax 367
Literal keyword 356
Literal values, literals in interfaces 246
Literal values, string literals 76
Literal values, treating as objects 46
LN compiler option 33
Load method, AppDomain class 284
LoadFrom method, Assembly class 279
Lock class 374
Lock object, customizing event methods 194
Lock object, description 196
Lock object, using delegate unrelated to EventHandler 197
Lock template, msclr\lock.h 193
LongLength property, Array class 103
Looping through strings 78
LPCWSTR parameter 331
lvalues, chaining expressions involving properties 174
lvalues, gc-lvalues and 56
lvalues, how compilers understand expressions 56
Main method 8 9 364
Malloc statement 2
Managed array type 92—110
Managed array type, accessing elements 93
Managed array type, array equality 106—107
Managed array type, ArrayList class 108—110
Managed array type, arrays as parameters 101—102
Managed array type, arrays in classes 108
Managed array type, copying arrays 102—103
Managed array type, declaring 92
Managed array type, defining static constants and 123
Managed array type, initializing 93—95
Managed array type, initializing literals 121
Managed array type, introduction 9
Managed array type, managed array class members 103—106
Managed array type, native arrays compared 100—101
Managed array type, navigating arrays 97—100
Managed array type, new types of constant values 118
Managed array type, parameter arrays 107—108
Managed array type, Scrabble game 130 132
Managed array type, static keyword 122
Managed array type, syntax 367
Managed array type, using 14
Managed array type, using as function parameter 102
Managed base classes 228 229
Managed C++, use of term in this book 2
Managed classes, const fields 121
Managed classes, copy constructors 55
Managed classes, literal fields 121—124
Managed classes, multiple inheritance 211
Managed classes, order of initialization 227
Managed classes, using Win32 functions in managed class 331
Managed code, calling convention for managed functions 347
Managed code, context switch 327
Managed code, marshaling types between native code and 327
Managed code, recompiling native library as 332—339
Managed code, using #pragma managed/unmanaged 338
Managed code, using reference types with stack semantics 47
Managed derived classes 228 230
Managed entry point 347—348
Managed entry point, native function 327
Managed extensions syntax, Visual C++ 2005 32
Managed functions/headers, compilation modes available for 362
managed heap 2
Managed heap, gc-lvalues and gc-rvalues 56
Managed heap, native and managed arrays compared 100 101
Managed objects, not calling delete on 52
Managed objects, pitfalls of finalizers 168 170
Managed objects, using in native class 342—343
Managed resources, handling 164
Managed string type, calling Win32 function in C++/CLI 323
Managed templates 309—316
Managed templates, assembly using in public interface 311
Managed templates, assuming existence of operator 315
Managed templates, constraint guaranteeing existence of operator 316
Managed templates, declaring generic interface for 313
Managed templates, generics compared 309 314
Managed templates, passing class types over assembly boundary 311
Managed templates, reasons for using 314
Managed templates, ref class template 310
Managed templates, syntax 372
Managed templates, using generic interface instead of 314
Managed templates, using template from another assembly 314
Managed templates, using template in another assembly 312
Managed templates, using template with different types 310
Managed types 12
Managed types, address-of operator for 52
Managed types, compilation modes available for 362
Managed types, constructors 118
Managed types, conversion operators 206—210
Managed types, implications of unified type system 44—45
Managed types, initialization 118
Managed types, introduction 1
Managed types, managed templates 311
Managed types, reference types 4
Managed types, reference types or value types 4
Managed types, use of term in this book 4
Managed types, using in native classes 159—160
Managed types, using managed array type 15
Managed types, using native object in 157—159 343—347
Managed types, value types 4
Managed use of term in this book 2
Manifest, assembly 33—37
Marshal class 328
Marshal class, FreeHGlobal method 347
Marshal class, GetLastError method 351
Marshal class, GetLastWin32Error method 351
Marshal class, StringToHGlobalUni method 347
Marshal class, using native objects in managed types 158
MarshalAs attribute 328
Marshaling, character, string, and structure types 327
Marshaling, context switch 327
Marshaling, data marshaling 327—328
Marshaling, description 159 318
Marshaling, marshaling types between native and managed code 327
Marshaling, primitive types 327
Marshaling, using cout with String class 91
Members, special member functions and inheritance 225—233
Members, value type with 8
Members, value types defining special member functions 15
Memory, creating native objects with new or malloc 2
Memory, managed/native heaps 2
Memory, memory layout of Scrabble game features 128
Memory, OutOfMemoryException 260
Message property, creating custom exceptions 262
Message property, error handling for files 88
Message property, Exception class 260
| Message property, unhandled exceptions 261
MessageBox function 322 323 329 330 33
MessageBoxClass, creating native MessageBoxClass 332
MessageBoxClass, using wrapper from C# assembly 337
MessageBoxClass, wrapping 334 335
Messages, Obsolete attribute 272
Metadata, accessing programmatically 279
Metadata, assemblies 33
Metadata, description 270
Metadata, viewing with ILDasm.exe 34—37
METHODS see also functions
Methods, abstract classes and interfaces compared 220 236
methods, abstract methods 370
Methods, accessor (add/remove) methods of properties 173—177
Methods, accessor (get/set) methods of events 191 193 203
Methods, add, event handlers 191 193
Methods, AsReadOnly, Array class 104
Methods, BeginInvoke, Delegate class 188 189
Methods, BinarySearch, Array class 104 105
Methods, Clear, Array class 104
Methods, Clone, Array class 104
Methods, Collect, GC class 163 170
Methods, Combine, Delegate class 186
Methods, Compare, String class 80 81
Methods, CompareOrdinal, String class 81
Methods, CompareTo, IComparable interface 246
Methods, CompareTo, String class 80 81
Methods, Concat, String class 76
Methods, const correctness 126
Methods, ConstrainedCopy, Array class 104
Methods, ConvertAll, Array class 104
Methods, Copy, Array class 102 104
Methods, CopyTo, Array class 104
Methods, CreateDomain, AppDomain class 284
Methods, CreateInstance, Activator class 280
Methods, CreateInstance, AppDomain class 284
Methods, CreateInstance, Array class 104
Methods, Dispose 50
Methods, EndInvoke, Delegate class 188
Methods, Equals, Array class 104 106
Methods, Equals, String class 76
Methods, ExecuteAssembly, AppDomain class 284
Methods, Exists, Array class 104
Methods, Find, Array class 104
Methods, FindAll, Array class 104
Methods, FindIndex, Array class 104
Methods, FindLast, Array class 104
Methods, FindLastIndex, Array class 104
Methods, ForEach, Array class 104
Methods, Format, Enum class 115
Methods, Format, String class 81 82
Methods, FreeHGlobal, Marshal class 347
Methods, get, properties 22 173—177 203
Methods, GetAttributes, Type class 280
Methods, GetCustomAttribute, Attribute class 279
Methods, GetEnumerator, Array class 104
Methods, GetEnumerator, IEnumerable interface 248
Methods, GetHashCode, Array class 104
Methods, GetInvocationList, Delegate class 187
Methods, GetLastError, Marshal class 351
Methods, GetLastWin32Error, Marshal class 351
Methods, GetLength, Array class 104
Methods, GetLongLength, Array class 104
Methods, GetLowerBound, Array class 105
Methods, GetMembers, Type class 280
Methods, Gets, Type class 280
Methods, GetType, Array class 105
Methods, GetType, Type class 280
Methods, GetTypes, Assembly class 279
Methods, GetUpperBound, Array class 105
Methods, GetValue, Array class 105
Methods, GlobalFree 347
Methods, IndexOf, Array class 105
Methods, Initialize, Array class 105
Methods, interface inheritance 238
Methods, interface name collisions 240
Methods, interfaces with static fields and 245
Methods, Invoke 184
Methods, InvokeMember, Type class 280
Methods, LastIndexOf, Array class 105
Methods, list of see also functions list
Methods, Load, AppDomain class 284
Methods, LoadFrom, Assembly class 279
Methods, main 8 9 364
Methods, methods implementing interface methods 236
Methods, methods requiring handles 52
Methods, private methods 244
Methods, raise, events 191
Methods, RaiseExitEvent/RaiseStartEvent s 191 195 198
Methods, Read, StreamReader class 87
Methods, ReadLine, Console class 87
Methods, ReadLine, StreamReader class 87
methods, Remove 186
Methods, remove, event handlers 191 193
Methods, Resize, Array class 105
Methods, Reverse, Array class 105
Methods, sealed methods 370
Methods, sealed modifier 220
Methods, set, properties 22 173—177 203
Methods, SetValue, Array class 105
Methods, Sort, Array class 105
Methods, static methods 245 280
Methods, StringToHGlobalUni, Marshal class 347
Methods, ToCharArray, String class 77 78
Methods, ToPointer, IntPtr struct 347
Methods, ToString, String class 80
Methods, ToXyz methods 85
Methods, TrueForAll, Array class 105
Methods, UseData 170
Methods, using new to implement interface method 238
Methods, virtual methods 215—219 236 322
Methods, Write, Console class 86
Methods, Write, StreamWriter class 87
Methods, WriteLine, Console class 81 86
Methods, WriteLine, StreamWriter class 87
MFC (Microsoft Foundation Classes), clr:pure mode 31
MFC (Microsoft Foundation Classes), compilation modes available for 362
MFC (Microsoft Foundation Classes), memory map 191
Mixed Mode 31 see also pure mode; safe mode
Mixed mode, architecture dependence and 64-bit programming 32
Mixed mode, detecting CLR compilation 358
Mixed mode, features available for 362
Mixed mode, IJW (it just works) 317
Mixed mode, interoperability 317
Mixed mode, interoperability, using C++ source code 318
Mixed mode, reference classes 14
Mixed mode, using native libraries without P/Invoke 329 330
Mixed mode, Visual C++ 2005 3 31
Mixed types not supported 14
Modifiers, abstract modifier 220
Modifiers, accessibility modifiers 37 156 157
Modifiers, as_friend modifier 39
Modifiers, internal modifier 156 157
Modifiers, override modifier 222
Modifiers, private modifier 157
Modifiers, protected modifier 157
Modifiers, public modifier 157
Modifiers, sealed modifier 220
Module attributes 276—277
Modules 33
Msclr namespace 159
Msclr namespace, lock template 193
mscorlib.dll 37 38
MSIL see IL
Multicast delegates 184
Multicast delegates, customizing add/remove/raise event methods 194
MulticastDelegate class 184
Multifile assemblies 41
multiple inheritance 211
Multiple inheritance, interfaces 235
|
|
|
Реклама |
|
|
|