Macro definitions for declaring ClassName(), NamespaceName(), etc. More...
Go to the source code of this file.
Macros | |
#define | ClassNameNoDebug(TypeNameString) |
Add typeName information from argument TypeNameString to a class. More... | |
#define | NamespaceNameNoDebug(TypeNameString) |
Add typeName information from argument TypeNameString to a namespace. More... | |
#define | TemplateNameNoDebug(TemplateNameString) |
Add typeName information from argument TemplateNameString to a. More... | |
#define | ClassName(TypeNameString) |
Add typeName information from argument TypeNameString to a class. More... | |
#define | NamespaceName(TypeNameString) |
Add typeName information from argument TypeNameString to a namespace. More... | |
#define | TemplateName(TemplateNameString) |
Add typeName information from argument TypeNameString to a. More... | |
#define | defineTypeNameWithName(Type, Name) const ::Foam::word Type::typeName(Name) |
Define the typeName, with alternative lookup as Name. More... | |
#define | defineTypeName(Type) defineTypeNameWithName(Type, Type::typeName_()) |
Define the typeName. More... | |
#define | defineTemplateTypeNameWithName(Type, Name) |
Define the typeName as Name for template classes. More... | |
#define | defineTemplate2TypeNameWithName(Type, Name) |
Define the typeName as Name for template sub-classes. More... | |
#define | defineTemplateTypeName(Type) defineTemplateTypeNameWithName(Type, #Type) |
Define the typeName for template classes, useful with typedefs. More... | |
#define | defineNamedTemplateTypeName(Type) defineTemplateTypeNameWithName(Type, Type::typeName_()) |
Define the typeName directly for template classes. More... | |
#define | defineTypeNameAndDebug(Type, DebugSwitch) |
Define the typeName and debug information. More... | |
#define | defineTemplateTypeNameAndDebugWithName(Type, Name, DebugSwitch) |
Define the typeName and debug information, lookup as Name. More... | |
#define | defineTemplateTypeNameAndDebug(Type, DebugSwitch) defineTemplateTypeNameAndDebugWithName(Type, #Type, DebugSwitch) |
Define the typeName and debug information for templates, useful. More... | |
#define | defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch) |
Define the typeName and debug information for templates. More... | |
#define | defineTemplate2TypeNameAndDebugWithName(Type, Name, DebugSwitch) |
Define the typeName and debug information, lookup as Name. More... | |
#define | defineTemplate2TypeNameAndDebug(Type, DebugSwitch) defineTemplate2TypeNameAndDebugWithName(Type, #Type, DebugSwitch) |
Define the typeName and debug information for templates, useful. More... | |
Macro definitions for declaring ClassName(), NamespaceName(), etc.
Original source file className.H
Definition in file className.H.
#define ClassNameNoDebug | ( | TypeNameString | ) |
Add typeName information from argument TypeNameString to a class.
Without debug information
Definition at line 39 of file className.H.
#define NamespaceNameNoDebug | ( | TypeNameString | ) |
Add typeName information from argument TypeNameString to a namespace.
Without debug information.
Definition at line 45 of file className.H.
#define TemplateNameNoDebug | ( | TemplateNameString | ) |
Add typeName information from argument TemplateNameString to a.
template class. Without debug information.
Definition at line 51 of file className.H.
#define ClassName | ( | TypeNameString | ) |
Add typeName information from argument TypeNameString to a class.
Also declares debug information.
Definition at line 65 of file className.H.
Referenced by objectRegistry::names().
#define NamespaceName | ( | TypeNameString | ) |
Add typeName information from argument TypeNameString to a namespace.
Also declares debug information.
Definition at line 71 of file className.H.
#define TemplateName | ( | TemplateNameString | ) |
Add typeName information from argument TypeNameString to a.
template class. Also declares debug information.
Definition at line 77 of file className.H.
#define defineTypeNameWithName | ( | Type, | |
Name | |||
) | const ::Foam::word Type::typeName(Name) |
Define the typeName, with alternative lookup as Name.
Definition at line 90 of file className.H.
#define defineTypeName | ( | Type | ) | defineTypeNameWithName(Type, Type::typeName_()) |
Define the typeName.
Definition at line 94 of file className.H.
#define defineTemplateTypeNameWithName | ( | Type, | |
Name | |||
) |
Define the typeName as Name for template classes.
Definition at line 98 of file className.H.
#define defineTemplate2TypeNameWithName | ( | Type, | |
Name | |||
) |
Define the typeName as Name for template sub-classes.
Definition at line 102 of file className.H.
#define defineTemplateTypeName | ( | Type | ) | defineTemplateTypeNameWithName(Type, #Type) |
Define the typeName for template classes, useful with typedefs.
Definition at line 107 of file className.H.
#define defineNamedTemplateTypeName | ( | Type | ) | defineTemplateTypeNameWithName(Type, Type::typeName_()) |
Define the typeName directly for template classes.
Definition at line 111 of file className.H.
#define defineTypeNameAndDebug | ( | Type, | |
DebugSwitch | |||
) |
Define the typeName and debug information.
Definition at line 119 of file className.H.
#define defineTemplateTypeNameAndDebugWithName | ( | Type, | |
Name, | |||
DebugSwitch | |||
) |
Define the typeName and debug information, lookup as Name.
Definition at line 124 of file className.H.
#define defineTemplateTypeNameAndDebug | ( | Type, | |
DebugSwitch | |||
) | defineTemplateTypeNameAndDebugWithName(Type, #Type, DebugSwitch) |
Define the typeName and debug information for templates, useful.
with typedefs
Definition at line 130 of file className.H.
#define defineNamedTemplateTypeNameAndDebug | ( | Type, | |
DebugSwitch | |||
) |
Define the typeName and debug information for templates.
Definition at line 134 of file className.H.
#define defineTemplate2TypeNameAndDebugWithName | ( | Type, | |
Name, | |||
DebugSwitch | |||
) |
Define the typeName and debug information, lookup as Name.
Definition at line 143 of file className.H.
#define defineTemplate2TypeNameAndDebug | ( | Type, | |
DebugSwitch | |||
) | defineTemplate2TypeNameAndDebugWithName(Type, #Type, DebugSwitch) |
Define the typeName and debug information for templates, useful.
with typedefs
Definition at line 149 of file className.H.