Functions | |
void | throwNotAllowed (const char *what, const rutz::file_pos &pos) |
template<class C, class F> | |
C & | cast (F &p) |
A drop-in replacement for dynamic_cast for FieldContainers. | |
template<class C, class F> | |
C & | cast (F &p) |
A drop-in replacement for dynamic_cast for FieldContainers. |
C& FieldAux::cast | ( | F & | p | ) | [inline] |
A drop-in replacement for dynamic_cast for FieldContainers.
The difference from dynamic_cast is that this cast function allows us to "cast" to a FieldContainer's subobject as returned by its child() function.
Definition at line 657 of file fields.h.
References SRC_POS, and rutz::throw_bad_cast().
Referenced by rutz::full_object_cast().
C& FieldAux::cast | ( | F & | p | ) | [inline] |
A drop-in replacement for dynamic_cast for FieldContainers.
The difference from dynamic_cast is that this cast function allows us to "cast" to a FieldContainer's subobject as returned by its child() function.
Definition at line 657 of file fields.h.
References SRC_POS, and rutz::throw_bad_cast().
Referenced by rutz::full_object_cast().