Coder :: EnterContext |
01 | Adds a context name to a dynamical array. |
02 |
[C++] void EnterContext(char const *name); |
03 |
Parameters:
|
04 | The lifetime of the name parameter must be at least until the corresponding LeaveContext is called. |
05 | Naming the context helps in tracking down serialization errors. When a decoder threw itself, it contains a list of context names of the hierarchy that had the error. |
06 | This function is not reproduced for C# as there an exception already contains a full call stack. |
07 |
For each call to EnterContext() a corresponding LeaveContext() should be done. This method pair is automatically handled by a CoderContext. |
08 |
Reference: net::semys Implementation: Semys Architecture See Also: Arch Coder Sub-System, Coder, LeaveContext() |
Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details. |